2 Replies Latest reply on Apr 22, 2020 7:41 AM by NiMc_1688136

    Enabling App Defines from commands passed in from the command line

    NiMc_1688136

      My project needs to generate different configurations by adding  certain #define statements at the app level. We would like to be able to automate the build process so we need to pass these configurations from the command line. I got this sort of working by modifying the wiced Makefile and the application .mk file but it only works when the project is rebuilt or the app .mk file is edited (changes the timestamp).

       

      Obviously i could add -B to make.exe to force all files to be rebuilt but this is time consuming with the size of the WICED.

       

      Is there a way i can force the app .mk file do it can be rebuilt/reprocessed if the timestamp has not changed?

       

      I am on Windows so doing something like $(shell touch ... ) to force the timestamp to change is not applicable unless certain dependencies are installed.