diff options
author | Kai Blaschke <kai.blaschke@gdata.de> | 2024-02-18 13:55:01 +0100 |
---|---|---|
committer | Kai Blaschke <kai.blaschke@kb-dev.net> | 2024-02-19 14:11:19 +0100 |
commit | ef82ae3aeb835290671f09ce12fabae25f914396 (patch) | |
tree | ff8586f994164f67d100f6b478ca607afa41bd57 /source/CMakeLists.txt | |
parent | e2251a0e8bab878b453debd9211e0ba34564d08c (diff) |
Add GitHub Actions build workflows
Diffstat (limited to 'source/CMakeLists.txt')
-rw-r--r-- | source/CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 18f3c45..5ff8eb5 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -509,8 +509,11 @@ SET (STAR_GAME_INCLUDES ADD_SUBDIRECTORY (game) # Googletest based tests -ENABLE_TESTING() -ADD_SUBDIRECTORY (test) +OPTION (BUILD_TESTING "Build test projects" OFF) +IF (BUILD_TESTING) + ENABLE_TESTING() + ADD_SUBDIRECTORY (test) +ENDIF() # Starbound stand-alone server. ADD_SUBDIRECTORY (server) |