diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -142,6 +142,7 @@ add_executable(${PROGRAM_NAME} WIN32 src/updatechecker.cpp src/versionnumber.cpp src/updatecheckdialog.cpp + src/samplepack.cpp misc/windows_icon.rc ${UI_FILES} ${RES_FILES} @@ -239,6 +240,13 @@ if (UNIX) COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake) endif (UNIX) +# testing +set(ENABLE_TESTS false CACHE BOOL "Build tests.") +if (ENABLE_TESTS) + enable_testing() + add_subdirectory(tests) +endif () + # packaging include(BuildLinuxAppImage)