Solved

C++ Project Structure on UNIX

Posted on 2010-09-10
5
1,102 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

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

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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 be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

728 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