|
@@ -217,7 +217,7 @@ target_link_libraries( |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
add_executable( |
|
|
add_executable( |
|
|
game-test-geometry |
|
|
|
|
|
|
|
|
test-game-geometry |
|
|
subprojects/bdd-for-c/bdd-for-c.h |
|
|
subprojects/bdd-for-c/bdd-for-c.h |
|
|
subprojects/bdd-for-c-mocks/bdd-for-c-mocks.h |
|
|
subprojects/bdd-for-c-mocks/bdd-for-c-mocks.h |
|
|
|
|
|
|
|
@@ -229,7 +229,7 @@ add_executable( |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
add_executable( |
|
|
add_executable( |
|
|
game-test-input |
|
|
|
|
|
|
|
|
test-game-input |
|
|
subprojects/bdd-for-c/bdd-for-c.h |
|
|
subprojects/bdd-for-c/bdd-for-c.h |
|
|
subprojects/bdd-for-c-mocks/bdd-for-c-mocks.h |
|
|
subprojects/bdd-for-c-mocks/bdd-for-c-mocks.h |
|
|
|
|
|
|
|
@@ -265,13 +265,13 @@ add_executable( |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
target_link_libraries( |
|
|
target_link_libraries( |
|
|
game-test-input |
|
|
|
|
|
|
|
|
test-game-input |
|
|
SDL2main |
|
|
SDL2main |
|
|
SDL2 |
|
|
SDL2 |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
add_executable( |
|
|
add_executable( |
|
|
game-test-output |
|
|
|
|
|
|
|
|
test-game-output |
|
|
subprojects/bdd-for-c/bdd-for-c.h |
|
|
subprojects/bdd-for-c/bdd-for-c.h |
|
|
subprojects/bdd-for-c-mocks/bdd-for-c-mocks.h |
|
|
subprojects/bdd-for-c-mocks/bdd-for-c-mocks.h |
|
|
|
|
|
|
|
@@ -286,7 +286,7 @@ add_executable( |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
add_executable( |
|
|
add_executable( |
|
|
game-test-memory |
|
|
|
|
|
|
|
|
test-game-memory |
|
|
subprojects/bdd-for-c/bdd-for-c.h |
|
|
subprojects/bdd-for-c/bdd-for-c.h |
|
|
subprojects/bdd-for-c-mocks/bdd-for-c-mocks.h |
|
|
subprojects/bdd-for-c-mocks/bdd-for-c-mocks.h |
|
|
|
|
|
|
|
@@ -310,13 +310,13 @@ add_executable( |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
target_link_libraries( |
|
|
target_link_libraries( |
|
|
game-test-memory |
|
|
|
|
|
|
|
|
test-game-memory |
|
|
SDL2main |
|
|
SDL2main |
|
|
SDL2 |
|
|
SDL2 |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
add_executable( |
|
|
add_executable( |
|
|
game-test-data |
|
|
|
|
|
|
|
|
test-game-data |
|
|
subprojects/bdd-for-c/bdd-for-c.h |
|
|
subprojects/bdd-for-c/bdd-for-c.h |
|
|
subprojects/bdd-for-c-mocks/bdd-for-c-mocks.h |
|
|
subprojects/bdd-for-c-mocks/bdd-for-c-mocks.h |
|
|
|
|
|
|
|
@@ -329,7 +329,7 @@ add_executable( |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
target_link_libraries( |
|
|
target_link_libraries( |
|
|
game-test-data |
|
|
|
|
|
|
|
|
test-game-data |
|
|
SDL2main |
|
|
SDL2main |
|
|
SDL2 |
|
|
SDL2 |
|
|
) |
|
|
) |
|
@@ -443,10 +443,10 @@ if (IZ_PLATFORM STREQUAL "WINDOWS") |
|
|
"${CMAKE_HOME_DIRECTORY}/dependencies/openssl/${IZ_PROJECT_ARCH}/bin/libcrypto-1_1-${IZ_SDL_ARCH}.dll" |
|
|
"${CMAKE_HOME_DIRECTORY}/dependencies/openssl/${IZ_PROJECT_ARCH}/bin/libcrypto-1_1-${IZ_SDL_ARCH}.dll" |
|
|
$<TARGET_FILE_DIR:server>) |
|
|
$<TARGET_FILE_DIR:server>) |
|
|
|
|
|
|
|
|
add_custom_command(TARGET game-test-input POST_BUILD |
|
|
|
|
|
|
|
|
add_custom_command(TARGET test-game-input POST_BUILD |
|
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different |
|
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different |
|
|
"${CMAKE_HOME_DIRECTORY}/subprojects/SDL/VisualC/${IZ_SDL_ARCH}/${CMAKE_BUILD_TYPE}/SDL2.dll" |
|
|
"${CMAKE_HOME_DIRECTORY}/subprojects/SDL/VisualC/${IZ_SDL_ARCH}/${CMAKE_BUILD_TYPE}/SDL2.dll" |
|
|
$<TARGET_FILE_DIR:game-test-input>) |
|
|
|
|
|
|
|
|
$<TARGET_FILE_DIR:test-game-input>) |
|
|
endif () |
|
|
endif () |
|
|
|
|
|
|
|
|
add_custom_command(TARGET game POST_BUILD |
|
|
add_custom_command(TARGET game POST_BUILD |
|
|