build: make compilation of examples optional
build: set default values of optional options to OFF
This commit is contained in:
parent
3106c2b8d5
commit
61a4b0ae8a
@ -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()
|
||||
|
||||
add_subdirectory(examples)
|
||||
if(TUG_ENABLE_EXAMPLES)
|
||||
add_subdirectory(examples)
|
||||
endif()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user