|
|
@@ -61,7 +61,7 @@ endif() |
|
|
|
# Specify directories |
|
|
|
# |
|
|
|
include_directories( |
|
|
|
"${PROJECT_SOURCE_DIR}/dependencies/SDL2/include" |
|
|
|
"${PROJECT_SOURCE_DIR}/subprojects/SDL/include" |
|
|
|
"${PROJECT_SOURCE_DIR}/dependencies/SDL2_image" |
|
|
|
"${PROJECT_SOURCE_DIR}/dependencies/SDL2_image/include" |
|
|
|
"${PROJECT_SOURCE_DIR}/dependencies/SDL2_ttf/include" |
|
|
@@ -78,7 +78,7 @@ include_directories( |
|
|
|
|
|
|
|
if (IZ_PLATFORM STREQUAL "WINDOWS") |
|
|
|
link_directories( |
|
|
|
"${PROJECT_SOURCE_DIR}/dependencies/SDL2/lib/${IZ_PROJECT_ARCH}" |
|
|
|
"${PROJECT_SOURCE_DIR}/subprojects/SDL/build/Release" |
|
|
|
"${PROJECT_SOURCE_DIR}/dependencies/SDL2_image/lib/${IZ_PROJECT_ARCH}" |
|
|
|
"${PROJECT_SOURCE_DIR}/dependencies/SDL2_ttf/lib/${IZ_PROJECT_ARCH}" |
|
|
|
"${PROJECT_SOURCE_DIR}/dependencies/portmidi/Release" |
|
|
@@ -213,10 +213,10 @@ add_executable( |
|
|
|
subprojects/bdd-for-c-mocks/bdd-for-c-mocks.h |
|
|
|
|
|
|
|
__mocks__/subprojects/minIni/minIni.mock.h |
|
|
|
__mocks__/dependencies/SDL2/SDL_keyboard.mock.h |
|
|
|
__mocks__/dependencies/SDL2/SDL_events.mock.h |
|
|
|
__mocks__/dependencies/SDL2/SDL_joystick.mock.h |
|
|
|
__mocks__/dependencies/SDL2/SDL_stdinc.mock.h |
|
|
|
__mocks__/subprojects/SDL/SDL_keyboard.mock.h |
|
|
|
__mocks__/subprojects/SDL/SDL_events.mock.h |
|
|
|
__mocks__/subprojects/SDL/SDL_joystick.mock.h |
|
|
|
__mocks__/subprojects/SDL/SDL_stdinc.mock.h |
|
|
|
__mocks__/dependencies/portmidi/portmidi.mock.h |
|
|
|
|
|
|
|
src/packages/config/IZ_config.h |
|
|
@@ -255,8 +255,8 @@ add_executable( |
|
|
|
subprojects/bdd-for-c-mocks/bdd-for-c-mocks.h |
|
|
|
|
|
|
|
__mocks__/subprojects/minIni/minIni.mock.h |
|
|
|
__mocks__/dependencies/SDL2/SDL_stdinc.mock.h |
|
|
|
__mocks__/dependencies/SDL2/SDL_render.mock.h |
|
|
|
__mocks__/subprojects/SDL/SDL_stdinc.mock.h |
|
|
|
__mocks__/subprojects/SDL/SDL_render.mock.h |
|
|
|
|
|
|
|
src/packages/config/IZ_config.h |
|
|
|
src/packages/game/output/video/IZ_video.h |
|
|
@@ -369,7 +369,7 @@ add_executable( |
|
|
|
if (IZ_PLATFORM STREQUAL "WINDOWS") |
|
|
|
add_custom_command(TARGET game POST_BUILD |
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different |
|
|
|
"${PROJECT_SOURCE_DIR}/dependencies/SDL2/lib/${IZ_PROJECT_ARCH}/SDL2.dll" |
|
|
|
"${PROJECT_SOURCE_DIR}/subprojects/SDL/build/Release/SDL2.dll" |
|
|
|
$<TARGET_FILE_DIR:game>) |
|
|
|
|
|
|
|
add_custom_command(TARGET game POST_BUILD |
|
|
@@ -404,7 +404,7 @@ if (IZ_PLATFORM STREQUAL "WINDOWS") |
|
|
|
|
|
|
|
add_custom_command(TARGET server POST_BUILD |
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different |
|
|
|
"${PROJECT_SOURCE_DIR}/dependencies/SDL2/lib/${IZ_PROJECT_ARCH}/SDL2.dll" |
|
|
|
"${PROJECT_SOURCE_DIR}/subprojects/SDL/build/Release/SDL2.dll" |
|
|
|
$<TARGET_FILE_DIR:server>) |
|
|
|
|
|
|
|
add_custom_command(TARGET server POST_BUILD |
|
|
@@ -421,6 +421,11 @@ if (IZ_PLATFORM STREQUAL "WINDOWS") |
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different |
|
|
|
"${PROJECT_SOURCE_DIR}/dependencies/openssl/${IZ_PROJECT_ARCH}/bin/libcrypto-1_1-x64.dll" |
|
|
|
$<TARGET_FILE_DIR:server>) |
|
|
|
|
|
|
|
add_custom_command(TARGET game-test-input POST_BUILD |
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different |
|
|
|
"${PROJECT_SOURCE_DIR}/subprojects/SDL/build/Release/SDL2.dll" |
|
|
|
$<TARGET_FILE_DIR:game-test-input>) |
|
|
|
endif () |
|
|
|
|
|
|
|
add_custom_command(TARGET game POST_BUILD |
|
|
|