I am developing for embedded systems with C and have setup an environment such that I am able to test locally without the target platform, enabled by #define TESTING_ENABLED. This will be extended shortly to include all aspects of the project, so managing each test definition may become tedious when switching between platforms.
Am I able to set a #define directive through a makefile or detect the use of different compilers?
Aucun commentaire:
Enregistrer un commentaire