diff options
author | Raul Munoz <raul.munoz@toradex.com> | 2017-05-19 15:06:23 -0300 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2017-05-22 17:09:55 -0700 |
commit | 0c98e2850861ccc1becc20590b85d061d1934269 (patch) | |
tree | 7b5ad8d7216f2e59801458bb963f8ee43c35e197 /examples/imx7_colibri_m4/demo_apps/low_power_imx7d/rand_wfi/armgcc/build_all.bat | |
parent | 17bf7155f5c0cd582537175116b8412adbc39dd6 (diff) |
examples: rand_wfi: update CMake structure
Updating this CMake struct according hello_world example.
Using this new struct we can build debug and release configuration
at the same time and use Eclipse.
Signed-off-by: Raul Munoz <raul.munoz@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'examples/imx7_colibri_m4/demo_apps/low_power_imx7d/rand_wfi/armgcc/build_all.bat')
-rw-r--r-- | examples/imx7_colibri_m4/demo_apps/low_power_imx7d/rand_wfi/armgcc/build_all.bat | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/imx7_colibri_m4/demo_apps/low_power_imx7d/rand_wfi/armgcc/build_all.bat b/examples/imx7_colibri_m4/demo_apps/low_power_imx7d/rand_wfi/armgcc/build_all.bat index 0cf721f..426a29f 100644 --- a/examples/imx7_colibri_m4/demo_apps/low_power_imx7d/rand_wfi/armgcc/build_all.bat +++ b/examples/imx7_colibri_m4/demo_apps/low_power_imx7d/rand_wfi/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 |