I have been running the following batch file script to build (custom configuration called TDD) and run a project through command line.
SET TOOLCHAIN_PATH=C:\nxp\MCUXpressoIDE_10.2.1_795\ide\tools\bin
SET IDE=C:\nxp\MCUXpressoIDE_10.2.1_795\ide\mcuxpressoidec.exe
"%IDE%" -nosplash --launcher.suppressErrors -application org.eclipse.cdt.managedbuilder.core.headlessbuild -cleanBuild Adti200Firmware/TDD
It runs fine but it doesn't recompile when I run again after changing some files. However, if I open up MCUXpresso and build TDD(custom configuration) it does RECOMPILE and gives right result.
Log from command line:
09:11:48 **** Build of configuration TDD for project Adti200Firmware ****
make -j4 all
Running Adti200Micro_tests --> Doesn't recomple but just run
Log from MCUXpresso when running the build:
08:10:22 **** Build of configuration TDD for project Adti200Firmware ****
make -j4 all
compiling HelloTest.cpp --> Shows recompile
compiling initialiseSystem.c