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/release/build_release.sh | |
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/release/build_release.sh')
-rwxr-xr-x | examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/release/build_release.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/release/build_release.sh b/examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/release/build_release.sh new file mode 100755 index 0000000..1ad7338 --- /dev/null +++ b/examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/release/build_release.sh @@ -0,0 +1,3 @@ +#!/bin/sh +cmake -DCMAKE_TOOLCHAIN_FILE="../../../../../tools/cmake_toolchain_files/armgcc.cmake" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release .. +make -j4 |