AnsweredAssumed Answered

Create a text-file during the build-process

Question asked by cactus81 on Sep 7, 2009
Latest reply on Sep 8, 2009 by DavidS

Hello All,

 

is it possible to create with VisualDSP in the “project options” -> “post-build command” a text-file with the names and the values of the used define in built process.

 

For example Source code:

….

#if HV_SIN_SW_VERSION_MAJOR == 0

#define HV_SIN_SW_VERSION_MINOR          21         

#else

            #define HV_SIN_SW_VERSION_MINOR          11         

#endif

 

After built process it depends: if the HV_SIN_SW_VERSION_MINOR is 11 or 21 and the used value should be write in a file.

 

Thanks.

Outcomes