Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / April 2005



Tip: Looking for answers? Try searching our database.

custom compile step

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
hp - 15 Apr 2005 01:44 GMT
How, pray tell, can I perform a custom compile step using CW9.4?

I have a .cvs (comma delimited) file that I want to pass thru a script
to create a .cpp file that the project will then compile.

So I expected to be able to add the .cpp file to the project, make it
"depend" on the .cvs file somehow, and if, out of date, will execute
"translate.sh" on the related .csv file to recreate the .cpp file.

I know about the pre/post linker steps, and how to use 'em - but this
is a "pre-compile" kind of thing...

Is the "File Mappings" panel the way to go? This will work if I only
have one script and one .cvs file, but if I have different cvs files -
each with its own script - then this appears to fall apart? Plus this
panel does not allow me to create an individual .cpp file dependency
that I would need...

Or do I have to down the path of creating my own custom
preprocessor/compiler tool?

Ideas? Comments?

-harry
hp - 19 Apr 2005 15:58 GMT
hmmmm ... I assume from the lack of response that a solution to this
problem either is not possible, or not easy.

maybe this should be, at the very least, a feature request for CW9.5/10
?? I cant believe that I could be alone looking for this kind of
capability...

-harry
daniel.w.gelder@gmail.com - 25 Apr 2005 03:06 GMT
I don't think writing a preprocessor is that hard. Read dem docs.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.