diff options
author | Raul Munoz <raul.munoz@toradex.com> | 2017-05-19 15:06:16 -0300 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2017-05-22 17:09:55 -0700 |
commit | f4af2c93c0ad75f190a5c71ba6898c8122a204ea (patch) | |
tree | 077978bc020bedce2c4886744f46f0991278dde1 /examples/imx7_colibri_m4/driver_examples/i2c_imx/i2c_polling_sensor_imx7d/armgcc/debug/build_debug.bat | |
parent | 16ea586d3653224999fd96b8836b596acedf0347 (diff) |
examples: i2c_polling_sensor_imx7d: 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/driver_examples/i2c_imx/i2c_polling_sensor_imx7d/armgcc/debug/build_debug.bat')
-rw-r--r-- | examples/imx7_colibri_m4/driver_examples/i2c_imx/i2c_polling_sensor_imx7d/armgcc/debug/build_debug.bat | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/imx7_colibri_m4/driver_examples/i2c_imx/i2c_polling_sensor_imx7d/armgcc/debug/build_debug.bat b/examples/imx7_colibri_m4/driver_examples/i2c_imx/i2c_polling_sensor_imx7d/armgcc/debug/build_debug.bat new file mode 100644 index 0000000..ea7473c --- /dev/null +++ b/examples/imx7_colibri_m4/driver_examples/i2c_imx/i2c_polling_sensor_imx7d/armgcc/debug/build_debug.bat @@ -0,0 +1,3 @@ +cmake -DCMAKE_TOOLCHAIN_FILE="../../../../../../tools/cmake_toolchain_files/armgcc.cmake" -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Debug .. +mingw32-make -j4 +pause |