simple regex and test

This commit is contained in:
2024-06-10 21:37:31 +02:00
parent bf91297e83
commit 3792fe5b1e
9 changed files with 83 additions and 1 deletions

View File

@@ -11,6 +11,8 @@ endif()
message("II SOLANACEAE_FACTORIO_STANDALONE " ${SOLANACEAE_FACTORIO_STANDALONE})
option(SOLANACEAE_FACTORIO_BUILD_PLUGINS "Build the factorio plugins" ${SOLANACEAE_FACTORIO_STANDALONE})
option(SOLANACEAE_FACTORIO_BUILD_TESTING "Build the factorio tests" ${SOLANACEAE_FACTORIO_STANDALONE})
message("II SOLANACEAE_FACTORIO_TESTING " ${SOLANACEAE_FACTORIO_BUILD_TESTING})
if (SOLANACEAE_FACTORIO_STANDALONE)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
@@ -66,6 +68,11 @@ endif()
add_subdirectory(./src)
if (SOLANACEAE_FACTORIO_BUILD_TESTING)
include(CTest)
add_subdirectory(./test)
endif()
if (SOLANACEAE_FACTORIO_BUILD_PLUGINS)
add_subdirectory(./plugins)
endif()