Solved

C++ Project Structure on UNIX

Posted on 2010-09-10
5
1,085 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
5 Comments
 
LVL 40

Accepted Solution

by:
evilrix earned 25 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 25 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
Learn how ViaSat reduced average response times for IT incidents from 10 minutes to 30 seconds.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

821 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