From 147859dbe94af976190c40255e3705dc3225faad Mon Sep 17 00:00:00 2001 From: Raul Munoz Date: Tue, 16 May 2017 18:02:57 -0300 Subject: 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 [add generated Eclipse file to gitignore] Signed-off-by: Stefan Agner --- .gitignore | 2 ++ examples/imx7_colibri_m4/demo_apps/hello_world/armgcc/clean.sh | 2 +- .../imx7_colibri_m4/demo_apps/hello_world/armgcc/debug/build_debug.sh | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 94ac416..2cb227b 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ cmake_install.cmake *.elf *.hex *.map +*.cproject +*.project 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 -- cgit v1.2.3