diff options
author | Raul Munoz <raul.munoz@toradex.com> | 2017-05-16 18:02:57 -0300 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2017-05-19 10:06:58 -0700 |
commit | 147859dbe94af976190c40255e3705dc3225faad (patch) | |
tree | f8702fb466f726b89433bbcf50d715bcd26386be /examples | |
parent | e5ee7247b636ae13cbe231306070108d1672b4bb (diff) |
examples: add eclipse generator
Adding Eclipse CDT4 Generator in orther to have the .cproject .project created with cmake command.
It help to include the files inside eclipse.
Signed-off-by: Raul Munoz <raul.munoz@toradex.com>
[add generated Eclipse file to gitignore]
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/clean.sh | 2 | ||||
-rwxr-xr-x | examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/debug/build_debug.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/clean.sh b/examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/clean.sh index 7120907..4b188ab 100755 --- a/examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/clean.sh +++ b/examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/clean.sh @@ -1,6 +1,6 @@ #!/bin/sh cd debug -rm -rf Makefile cmake_install.cmake CMakeCache.txt CMakeFiles *.elf *.bin *.map *.hex +rm -rf Makefile cmake_install.cmake CMakeCache.txt CMakeFiles *.elf *.bin *.map *.hex .cproject .project cd .. cd release rm -rf Makefile cmake_install.cmake CMakeCache.txt CMakeFiles *.elf *.bin *.map *.hex diff --git a/examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/debug/build_debug.sh b/examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/debug/build_debug.sh index 5526f5d..3c169d2 100755 --- a/examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/debug/build_debug.sh +++ b/examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/debug/build_debug.sh @@ -1,3 +1,3 @@ #!/bin/sh -cmake -DCMAKE_TOOLCHAIN_FILE="../../../../../tools/cmake_toolchain_files/armgcc.cmake" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug .. +cmake -DCMAKE_TOOLCHAIN_FILE="../../../../../tools/cmake_toolchain_files/armgcc.cmake" -G "Eclipse CDT4 - Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug .. make -j4 |