FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Plugins for a C/C++ application

 
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users
View previous topic :: View next topic  
Author Message
Or Goshen
Posted via mailing list.





PostPosted: Sun Jul 05, 2009 3:57 pm    Post subject: Plugins for a C/C++ application Reply with quote

Hi

I'm using netbeans as a C++ IDE.

The project I'm working on should also include plugins.

How do I tell the IDE about another compilation target ?
Right now it compiles everything into one executable (I wanna be able to tell it that some of the .c files should be compiled into a .so file)

Back to top
alexvsimon



Joined: 26 Jun 2009
Posts: 33

PostPosted: Sun Jul 05, 2009 4:27 pm    Post subject: Reply with quote

Look at "subproject application" sample.
It consist from libraries and main project.
IMHO the example can you help.

Alexander
Back to top
View user's profile Send private message
Thomas Preisler
Posted via mailing list.





PostPosted: Sun Jul 05, 2009 4:28 pm    Post subject: Plugins for a C/C++ application Reply with quote

Hi,

You want to use the project type C/C++ Dynamic Library (New Project |
C/C++ | C/C++ Dynamic Library) to create a dynamic library (.so). Take
also a look at the Subproject Application sample for an example of how
to create a dynamic library and link it into your application.

--thomas

Or Goshen wrote:
Quote:
Hi

I'm using netbeans as a C++ IDE.

The project I'm working on should also include plugins.

How do I tell the IDE about another compilation target ?
Right now it compiles everything into one executable (I wanna be able to
tell it that some of the .c files should be compiled into a .so file)

Or
Back to top
Andrew Krasny
Posted via mailing list.





PostPosted: Sun Jul 05, 2009 4:49 pm    Post subject: Plugins for a C/C++ application Reply with quote

Or,

you can create 2 different projects and make dependencies between them
(see "Subproject Application" sample)

Thanks,
=Andrew

Or Goshen wrote:
Quote:
Hi

I'm using netbeans as a C++ IDE.

The project I'm working on should also include plugins.

How do I tell the IDE about another compilation target ?
Right now it compiles everything into one executable (I wanna be able to
tell it that some of the .c files should be compiled into a .so file)

Or
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB