XC8 SET HEX FILE NAME VIA CONDITIONAL COMPILE
This is a compiler and/or IDE configuration question for XC8 projects.
It may need to be posted somewhere else
The MBLAB-X hex file name. The default is same name as the MPLAB-X project name. comparing MBLAB-X and XC8 to another vendor ... SILABS tools - I use an SI LABS ember compiler for something else and it allows variants in the project file
You go right into project options and set the current compile to a particular variant and then it also
allows you to force set the output file name to be something f
But is there a way to set the hex file name with C language conditional compilation ?
Or in the project configuration but with some syntax that tests of a C define conditional is true ?
Other engineers will be setting variant switches in a master header file and it would be best if I could
make something foolproof that forces the file name to be something if a particular variant was activated via conditional compile.