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 
  

Custom Build Step

 
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users
View previous topic :: View next topic  
Author Message
C++R00ki3



Joined: 18 Oct 2009
Posts: 8

PostPosted: Wed Oct 21, 2009 5:30 am    Post subject: Custom Build Step Reply with quote

How do I correctly add a custom build step for windres compiling my .rc file to get it recognized by the linker? How can I retrieve the Build-Directory?
I know where the menu is, but the command "windres resources.rc resources.o" is not executed and not linked.
regards
Back to top
View user's profile Send private message
Thomas Preisler
Posted via mailing list.





PostPosted: Wed Oct 21, 2009 5:13 pm    Post subject: Custom Build Step Reply with quote

Please take a look at the LexYacc sample. Both token.l and token.y are
using custom build steps. There is a list of available make variables in
the main Makefile. I think you may want to use ${CND_ARTIFACT_DIR_${CONF}}.

--thomas

C++R00ki3 wrote:
Quote:
How do I correctly add a custom build step for windres compiling my .rc file to get it recognized by the linker? How can I retrieve the Build-Directory?

I know where the menu is, but the command "windres resources.rc resources.o" is not executed and not linked.

regards










Back to top
Vladimir Voskresensky
Posted via mailing list.





PostPosted: Thu Oct 22, 2009 11:11 am    Post subject: Custom Build Step Reply with quote

Hi,
Have you seen?
http://wiki.netbeans.org/FaqCndResourceFiles

Thanks,
Vladimir.

C++R00ki3 wrote:
Quote:
How do I correctly add a custom build step for windres compiling my .rc file to get it recognized by the linker? How can I retrieve the Build-Directory?

I know where the menu is, but the command "windres resources.rc resources.o" is not executed and not linked.

regards










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