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/build_all.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/build_all.bat')
-rw-r--r-- | examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/build_all.bat | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/build_all.bat b/examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/build_all.bat index 6d41d86..426a29f 100644 --- a/examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/build_all.bat +++ b/examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/build_all.bat @@ -1,5 +1,7 @@ -cmake -DCMAKE_TOOLCHAIN_FILE="../../../../../tools/cmake_toolchain_files/armgcc.cmake" -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Debug . -mingw32-make -j4 -cmake -DCMAKE_TOOLCHAIN_FILE="../../../../../tools/cmake_toolchain_files/armgcc.cmake" -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release . -mingw32-make -j4 +cd release +call build_release.bat +cd .. +cd debug +call build_debug.bat +cd .. pause |