From 43898d3007e1292ae5b171710c3fcaf329ab90cd Mon Sep 17 00:00:00 2001 From: Joachim Henze Date: Sun, 26 Feb 2023 13:18:07 +0100 Subject: [PATCH] [0.4.10][ROSAPPS] Exclude the templates from compilation by default. As end-users don't need those programming examples in the iso. picked from 0.4.15-dev-5505-g 11031042270e348fae94cf5f782c09b6f4b2e815 --- modules/rosapps/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/rosapps/CMakeLists.txt b/modules/rosapps/CMakeLists.txt index 58a32c1c186..8581d2ad68c 100644 --- a/modules/rosapps/CMakeLists.txt +++ b/modules/rosapps/CMakeLists.txt @@ -3,7 +3,10 @@ add_subdirectory(demos) add_subdirectory(drivers) add_subdirectory(include) add_subdirectory(lib) -add_subdirectory(templates) + +if(ENABLE_ROSAPPS_TEMPLATES) + add_subdirectory(templates) +endif() list(APPEND ROSAPPS_INF_FILES rosapps_shortcuts.inf)