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.