Building projects...
Posted: Sat Mar 16, 2013 6:12 pm
Sorry if there's already a way of doing this, but I've searched and not found...
I have a project that consists of multipe source files and multiple targets to compile.
I'd like to be able to compile this project such that I get a separate set of binaries produced for 32 and 64bit windows - i.e. where the executable name depends on the bit-type of the platform. But, also, I'd like the resulting executables to have their version and other info populated as specified in the Version Info tab in the compiler options.
If I use the command line compiler directly, I can specify the executable names and get the output files I want, but they lack the version info stuff.
If I use the IDE command line options, I get the version info stuff, but can no longer provide separate 32 and 64bit names for the resulting binaries.
The best solution I've come up with so far is to have a script that clears the existing bin folder, runs the IDE with parameters to build the 32bit set, renames all the executables, runs the IDE again to build the 64bit set, and renames those.
This seems a bit clunky - is there a better way of doing this?
Also, while I'm after the moon on a stick, is there a way of populating the Version Info tab in the compiler options from version information specified in the program source?
I have a project that consists of multipe source files and multiple targets to compile.
I'd like to be able to compile this project such that I get a separate set of binaries produced for 32 and 64bit windows - i.e. where the executable name depends on the bit-type of the platform. But, also, I'd like the resulting executables to have their version and other info populated as specified in the Version Info tab in the compiler options.
If I use the command line compiler directly, I can specify the executable names and get the output files I want, but they lack the version info stuff.
If I use the IDE command line options, I get the version info stuff, but can no longer provide separate 32 and 64bit names for the resulting binaries.
The best solution I've come up with so far is to have a script that clears the existing bin folder, runs the IDE with parameters to build the 32bit set, renames all the executables, runs the IDE again to build the 64bit set, and renames those.
This seems a bit clunky - is there a better way of doing this?
Also, while I'm after the moon on a stick, is there a way of populating the Version Info tab in the compiler options from version information specified in the program source?