diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2017-05-08 14:41:54 -0700 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2017-05-12 13:54:18 -0700 |
commit | 6fcd37817cbea037bd1194b50382c7d8ca4b74ee (patch) | |
tree | 831d8933037194c97345cc0fce0301d52dd76a6f /examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/clean.bat | |
parent | 74e83463973d77b16449e7b9206f4f75b94296d1 (diff) |
examples: convert CMake structure to allow multiple builds
Convert CMake build files structure such that we can build debug
and release configuration simultaneously. This is useful when using
Eclipse's Makefile integration.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Suggested-by: Raul Munoz <raul.munoz@toradex.com>
Diffstat (limited to 'examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/clean.bat')
-rw-r--r-- | examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/clean.bat | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/clean.bat b/examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/clean.bat index ffea088..fc53949 100644 --- a/examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/clean.bat +++ b/examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/clean.bat @@ -1,3 +1,9 @@ -RD /s /Q Debug Release CMakeFiles -DEL /s /Q /F Makefile cmake_install.cmake CMakeCache.txt +cd debug +rd /s /Q CMakeFiles/ +del /s /Q /F Makefile cmake_install.cmake CMakeCache.txt *.elf *.bin *.map *.hex +cd .. +cd release +rd /s /Q CMakeFiles/ +del /s /Q /F Makefile cmake_install.cmake CMakeCache.txt *.elf *.bin *.map *.hex +cd .. pause |