build: make compilation of examples optional

build: set default values of optional options to OFF
This commit is contained in:
Max Lübke 2023-09-14 12:15:41 +02:00
parent 3106c2b8d5
commit 61a4b0ae8a

View File

@ -33,7 +33,11 @@ endif()
option(TUG_ENABLE_TESTING
"Run tests after succesfull compilation"
ON)
OFF)
option(TUG_ENABLE_EXAMPLES
"Compile example applications"
OFF)
add_subdirectory(src)
@ -41,4 +45,6 @@ if(TUG_ENABLE_TESTING)
add_subdirectory(test)
endif()
if(TUG_ENABLE_EXAMPLES)
add_subdirectory(examples)
endif()