Have example now build as part of test build

parent 5da8e925
......@@ -67,18 +67,14 @@ set_package_properties(Qca-qt5 PROPERTIES DESCRIPTION "Qt Cryptographic Architec
PURPOSE "Needed for most of the algorithms of the checksum tool")
# control build scope
# TODO: examples and templates not internal need headers and libs as installed
# so they can be only build after the installation was done
# How to handle this best, as in: they are per default always build after an install?
# set( KASTEN_BUILD_EXAMPLES NOT OMIT_EXAMPLES )
# set( OKTETA_BUILD_EXAMPLES NOT OMIT_EXAMPLES )
set( KASTEN_BUILD_INTERNAL_EXAMPLES NOT OMIT_INTERNAL_EXAMPLES )
set( OKTETA_BUILD_INTERNAL_EXAMPLES NOT OMIT_INTERNAL_EXAMPLES )
# set( KASTEN_BUILD_TEMPLATES NOT SKIPTEMPLATES )
# set( OKTETA_BUILD_TEMPLATES NOT SKIPTEMPLATES )
if(NOT DEFINED OMIT_EXAMPLES)
set(OMIT_EXAMPLES ${BUILD_TESTING})
endif()
if(NOT DEFINED OMIT_INTERNAL_TEMPLATES)
set(OMIT_INTERNAL_TEMPLATES ${BUILD_TESTING})
endif()
set( OKTETA_BUILD_EXAMPLES NOT OMIT_EXAMPLES )
set( KASTEN_BUILD_INTERNAL_TEMPLATES NOT OMIT_INTERNAL_TEMPLATES )
set( OKTETA_BUILD_INTERNAL_TEMPLATES NOT OMIT_INTERNAL_TEMPLATES )
add_definitions(
-DQT_USE_QSTRINGBUILDER
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment