Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Custom build steps includes
Custom build steps includes [message #30664] Sat, 15 January 2011 08:44 Go to next message
kretol is currently offline  kretol
Messages: 14
Registered: December 2006
Promising Member
Hi,
Is there a way to add includes to custom build step ?
I have:
cnvtpipl.exe "$(DIR)\$(TITLE).r" "$(DIR)\$(TITLE).pipl" -
which "almost" works, but cnvtpipl.exe can't find header files
included in .r file.
All the required directories are specified in build method, unfortunately cnvtpipl.exe doesn't "see" them.
Any help would be greatly appreciated!
Wiktor
Re: Custom build steps includes [message #30710 is a reply to message #30664] Tue, 18 January 2011 05:18 Go to previous messageGo to next message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
kretol wrote on Sat, 15 January 2011 07:44

Hi,
Is there a way to add includes to custom build step ?
I have:
cnvtpipl.exe "$(DIR)\$(TITLE).r" "$(DIR)\$(TITLE).pipl" -
which "almost" works, but cnvtpipl.exe can't find header files
included in .r file.
All the required directories are specified in build method, unfortunately cnvtpipl.exe doesn't "see" them.
Any help would be greatly appreciated!
Wiktor


Are you trying to run this
cnvtpipl.exe "$(DIR)\$(TITLE).r" "$(DIR)\$(TITLE).pipl" 
from inside U++ TheIDE macros or how?
Re: Custom build steps includes [message #30711 is a reply to message #30664] Tue, 18 January 2011 05:29 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
I believe that what you need is (surprisingly Smile

$(INCLUDE)

which should contain include paths...
Re: Custom build steps includes [message #30712 is a reply to message #30710] Tue, 18 January 2011 05:30 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
fudadmin wrote on Mon, 17 January 2011 23:18


Are you trying to run this
cnvtpipl.exe "$(DIR)\$(TITLE).r" "$(DIR)\$(TITLE).pipl" 
from inside U++ TheIDE macros or how?


Project/Custom build steps
Re: Custom build steps includes [message #30722 is a reply to message #30712] Tue, 18 January 2011 12:11 Go to previous messageGo to next message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
mirek wrote on Tue, 18 January 2011 04:30

fudadmin wrote on Mon, 17 January 2011 23:18


Are you trying to run this
cnvtpipl.exe "$(DIR)\$(TITLE).r" "$(DIR)\$(TITLE).pipl" 
from inside U++ TheIDE macros or how?


Project/Custom build steps


I Just wanted to draw someone's attention yesterday late night. Btw, I haven't been using theide for 2 months or so...
Re: Custom build steps includes [message #30726 is a reply to message #30711] Tue, 18 January 2011 18:33 Go to previous message
kretol is currently offline  kretol
Messages: 14
Registered: December 2006
Promising Member
Thanks for the help!
Telling true it's a bit more complicated than I thought Smile
A command line is (sample):

cl /IPath /IPath /EP /DWIN32=1 /Tc"$(InputPath)" > "$(IntDir)\$(InputName).rr" cnvtpipl.exe "$(IntDir)\$(InputName).rr" "$(IntDir)\$(InputName).pipl"


so .r file is precompiled with cl, result from stdout is saved to temp .rr file then .rr is processed with cnvtpipl.exe Smile

The step is required to build scriptable plugin for Photoshop.

Is there a way to just call/exec the "line" ?

Wiktor




Previous Topic: The makefile of an export NOGTK project dropped an option -lpng
Next Topic: BUG?: .cpp local typedefs mess up /w BLITZ$
Goto Forum:
  


Current Time: Thu Mar 28 21:42:20 CET 2024

Total time taken to generate the page: 0.01385 seconds