diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-02-20 09:50:40 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-20 09:50:40 +1100 |
commit | a7cfe73544b6f96356c9f55afa6311613f69a846 (patch) | |
tree | 6c5421afefe3e798f58247370b08e186346d5575 /source/CMakeLists.txt | |
parent | 00cf86f240bc5c3581ed55897c37756c3fd113c2 (diff) | |
parent | ef82ae3aeb835290671f09ce12fabae25f914396 (diff) |
Merge pull request #18 from kblaschke/add-github-actions-workflow-files
Add initial GitHub Actions workflow files to run build checks
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 edd2aa9..5ef94ef 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -513,8 +513,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) |