diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0535b6dd..61df04c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,10 @@ find_package (Threads REQUIRED) # set(CMAKE_MESSAGE_LOG_LEVEL DEBUG) +if (BUILD_TRIAL) + set (BUILD_TESTING ON) +endif(BUILD_TRIAL) + include(jaulib/JaulibSetup.cmake) JaulibSetup() @@ -90,4 +94,12 @@ if (BUILD_TESTING) endif(BUILDJAVA) endif(BUILD_TESTING) +if (BUILD_TRIAL) + enable_testing () + if (BUILDJAVA) + configure_file (${CMAKE_CURRENT_SOURCE_DIR}/trial/java/manifest.txt.in ${CMAKE_CURRENT_BINARY_DIR}/trial/java/manifest.txt) + add_subdirectory (trial/java) + endif(BUILDJAVA) +endif(BUILD_TRIAL) + |