i am now building my project with jenkins use command line. i have read the user's guide about command line. but i can not find how to pass a pre-processor define to command line to build out different feature.
in my project, i use macro define to separate different feature. when i build it in command line, i also want to build out different bin or hex file which alos have different feature. so i wanna to tell command line use different pre-processor define. i build use command line like this
UV4 -cr PROJECT1.uvprojx
i have read the user's guide ,there is no option to do this. i don't know how to do this now.
You don't pass such things to the IDE build.
You would have to configure the Project to have different Targets which embody the different configurations ...
http://www.keil.com/support/man/docs/uv4/uv4_ca_projtargfilegr.htm
thanks for your reply, i will try it :D