Add tests for SaveMap
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
include(FetchContent)
|
||||
FetchContent_Declare(
|
||||
googletest
|
||||
@@ -9,7 +10,13 @@ FetchContent_MakeAvailable(googletest)
|
||||
|
||||
enable_testing()
|
||||
|
||||
file(GLOB SRC "UStringTest.cpp" "${PROJECT_SOURCE_DIR}/Core/Types/UString.cpp")
|
||||
file(GLOB SRC
|
||||
"UStringTest.cpp"
|
||||
"SaveMapTest.cpp"
|
||||
|
||||
"${PROJECT_SOURCE_DIR}/Core/Types/UString.cpp"
|
||||
"${PROJECT_SOURCE_DIR}/Core/Game/SaveMap/SaveMap.cpp"
|
||||
)
|
||||
|
||||
add_executable(Tests ${SRC})
|
||||
target_link_libraries(Tests PRIVATE
|
||||
|
||||
Reference in New Issue
Block a user