• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1128
  • Last Modified:

C++ Project Structure on UNIX

I want to build a c++ application on UNIX platform. What would be the good directory structure for it ?

I used to use Visual Studio on windows. What would be the equivalent IDE on UNIX ?
0
Arnabtech
Asked:
Arnabtech
  • 3
2 Solutions
 
evilrixSenior Software Engineer (Avast)Commented:
>> I want to build a c++ application on UNIX platform. What would be the good directory structure for it ?

I use...

projects/myproj/src (source code)
projects/myproj/lib (output if we are building libraries)
projects/myproj/etc (any config files)

Final binaries get built into the myprog folder.

We use CMake to create our makefiles as they can be used cross platform

>> I used to use Visual Studio on windows. What would be the equivalent IDE on UNIX ?
There are plenty but Eclipse CDT is probably the best featured. That said, I still use Visual Studio and cross-compile to Linux. I can do this because we use CMake to write the makefiles. CMake can generate Visual Studio solution files.
0
 
w00teCommented:
>> I used to use Visual Studio on windows. What would be the equivalent IDE on UNIX ?
There are plenty but Eclipse CDT is probably the best featured. That said, I still use Visual Studio and cross-compile to Linux. I can do this because we use CMake to write the makefiles. CMake can generate Visual Studio solution files.

Got an article on this? I would love to learn how to do that, I hate linux IDEs :p
0
 
evilrixSenior Software Engineer (Avast)Commented:
0
 
evilrixSenior Software Engineer (Avast)Commented:
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now