It is ON by default, determines wether to install the bundled demos
and examples.
---
CMakeLists.txt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bfeaac5..9fba017 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -49,6 +49,10 @@ option( KICAD_USE_OCE
"Build tools and plugins related to OpenCascade Community Edition (default OFF)"
)
+option( KICAD_INSTALL_DEMOS
+ "Install kicad demos and examples (default ON)"
+ ON )
+
# when option KICAD_SCRIPTING OR KICAD_SCRIPTING_MODULES is enabled:
# PYTHON_EXECUTABLE can be defined when invoking cmake
# ( use -DPYTHON_EXECUTABLE=<python path>/python.exe or python2 )
@@ -806,5 +810,7 @@ add_subdirectory( utils )
add_subdirectory( qa )
# Resources
+if ( KICAD_INSTALL_DEMOS )
add_subdirectory( demos )
+endif ( KICAD_INSTALL_DEMOS )
add_subdirectory( template )
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help : https://help.launchpad.net/ListHelp