LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 09-06-2009, 12:04 PM   #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, 04: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, 09:10 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 20,990
Blog Entries: 44

Rep: Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239Reputation: 1239
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, 11:12 PM   #4
Elv13
Member
 
Registered: Apr 2006
Distribution: Gentoo
Posts: 726

Rep: Reputation: 106Reputation: 106
It is callded workspaces in Eclispe
 
Old 09-18-2009, 01:10 AM   #5
pixellany
Guru
 
Registered: Nov 2005
Location: Pasadena, CA
Distribution: Arch+KDE
Posts: 16,552

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 09:47 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration