Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

C++ Project Structure on UNIX

Posted on 2010-09-10
5
Medium Priority
?
1,122 Views
Last Modified: 2013-12-26
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
Comment
Question by:Arnabtech
  • 3
4 Comments
 
LVL 40

Accepted Solution

by:
evilrix earned 100 total points
ID: 33644626
>> 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
 
LVL 12

Assisted Solution

by:w00te
w00te earned 100 total points
ID: 33647844
>> 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
 
LVL 40

Expert Comment

by:evilrix
ID: 33647975
0
 
LVL 40

Expert Comment

by:evilrix
ID: 34246437
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Online collaboration is quickly becoming embedded in the workplace, and its benefits are tangible. See what the current landscape looks like and what the future holds for collaboration tools and the future of work.
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question