LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-06-2009, 11:04 AM   #1
obaidmushtaq
LQ Newbie
 
Registered: Mar 2009
Posts: 12

Rep: Reputation: 0
Creating "sub-projects" and multiple "targets" like in KDevelop ...


Hi all,

I know this is a specific question but no one replied me on the Eclipse forums. So, I am asking it here.

I have a KDevelop C++ project with nested directory structure and have
to create the same project in Eclipse CDT. My questions are:

1. How to define sub-projects like one does in KDevelop? For example, if
I have a project root called "root" and I want to add two sub-projects
"aaa" and "bbb" to it. What is the equivalent way of doing this in
Eclipse CDT?

2. How to define multiple "targets"? For example, for a particular
(sub)project I have to create a static library libX.a using some cpp
files and a binary application using some other .cpp files. There are
some header files also that are used by both library and the binary
application. What is the equivaent way of doing it in Eclipse CDT?

I would really appreciate if someone can help me with this. I am new to
Eclipse CDT.

Best Regards,

Obaid
 
Old 09-07-2009, 03:21 AM   #2
obaidmushtaq
LQ Newbie
 
Registered: Mar 2009
Posts: 12

Original Poster
Rep: Reputation: 0
Eclipse CDT: "sub-projects" and multiple "targets" like KDevelop ...

Hi all,

Sorry for repeating but I forgot to add Eclipse in the title. I know this is a specific question but no one replied me on the Eclipse forums. So, I am asking it here.

I have a KDevelop C++ project with nested directory structure and have to create the same project in Eclipse CDT. My questions are:

1. How to define sub-projects like one does in KDevelop? For example, if I have a project root called "root" and I want to add two sub-projects "aaa" and "bbb" to it. What is the equivalent way of doing this in Eclipse CDT?

2. How to define multiple "targets"? For example, for a particular (sub)project I have to create a static library libX.a using some cpp files and a binary application using some other .cpp files. There are some header files also that are used by both library and the binary application. What is the equivaent way of doing it in Eclipse CDT?

I would really appreciate if someone can help me with this. I am new to Eclipse CDT.

Best Regards,

Obaid
 
Old 09-07-2009, 08:10 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594
Please post your thread once and in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread should be closed or merged because it is a duplicate of http://www.linuxquestions.org/questi...op-...-753088/.
 
Old 09-07-2009, 10:12 PM   #4
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
It is callded workspaces in Eclispe
 
Old 09-18-2009, 12:10 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,808

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Merged
 
  


Reply

Tags
eclipse


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"creating symbolic link" "operation not permitted" wheni Linux - Newbie 3 05-08-2011 01:36 AM
"Multiple definition of" and "undefined reference to" in QT Creator with QJson lib echelon89 Programming 1 05-01-2009 06:48 AM
Seeking for "Synchronise" and "patients" projects/scripts of Visual Basic LAN-Dominator.nl Programming 2 07-05-2008 07:21 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration