|
|
@@ -76,6 +76,12 @@ include_directories( |
|
|
|
"${CMAKE_HOME_DIRECTORY}/dependencies/libwebsockets/build/include" |
|
|
|
"${CMAKE_HOME_DIRECTORY}/dependencies/openssl/${IZ_PROJECT_ARCH}/include" |
|
|
|
"${CMAKE_HOME_DIRECTORY}/dependencies/sqlite" |
|
|
|
|
|
|
|
"${CMAKE_HOME_DIRECTORY}" |
|
|
|
"${CMAKE_HOME_DIRECTORY}/src/packages" |
|
|
|
"${CMAKE_HOME_DIRECTORY}/__mocks__" |
|
|
|
"${CMAKE_HOME_DIRECTORY}/__mocks__/src/packages" |
|
|
|
"${CMAKE_HOME_DIRECTORY}/__tests__/src/packages" |
|
|
|
) |
|
|
|
|
|
|
|
if (IZ_PLATFORM STREQUAL "WINDOWS") |
|
|
@@ -95,6 +101,12 @@ elseif(IZ_PLATFORM STREQUAL "MACOS") |
|
|
|
/usr/local/include |
|
|
|
/usr/local/include/SDL2 |
|
|
|
/usr/local/include/openssl |
|
|
|
|
|
|
|
"${CMAKE_HOME_DIRECTORY}" |
|
|
|
"${CMAKE_HOME_DIRECTORY}/src/packages" |
|
|
|
"${CMAKE_HOME_DIRECTORY}/__mocks__" |
|
|
|
"${CMAKE_HOME_DIRECTORY}/__mocks__/src/packages" |
|
|
|
"${CMAKE_HOME_DIRECTORY}/__tests__/src/packages" |
|
|
|
) |
|
|
|
|
|
|
|
link_directories( |
|
|
@@ -105,6 +117,12 @@ elseif(IZ_PLATFORM STREQUAL "UNIX") |
|
|
|
/usr/local/include |
|
|
|
/usr/local/include/SDL2 |
|
|
|
/usr/local/include/openssl |
|
|
|
|
|
|
|
"${CMAKE_HOME_DIRECTORY}" |
|
|
|
"${CMAKE_HOME_DIRECTORY}/src/packages" |
|
|
|
"${CMAKE_HOME_DIRECTORY}/__mocks__" |
|
|
|
"${CMAKE_HOME_DIRECTORY}/__mocks__/src/packages" |
|
|
|
"${CMAKE_HOME_DIRECTORY}/__tests__/src/packages" |
|
|
|
) |
|
|
|
|
|
|
|
link_directories( |
|
|
@@ -206,7 +224,7 @@ add_executable( |
|
|
|
src/packages/game/geometry/IZ_rect.c |
|
|
|
src/packages/game/geometry/IZ_vector2d.h |
|
|
|
src/packages/game/geometry/IZ_vector2d.c |
|
|
|
src/packages/game/geometry/geometry.test.c |
|
|
|
__tests__/src/packages/game/geometry.test.c |
|
|
|
) |
|
|
|
|
|
|
|
add_executable( |
|
|
@@ -241,7 +259,7 @@ add_executable( |
|
|
|
src/packages/stdinc/IZ_stdlib.h |
|
|
|
__mocks__/src/packages/stdinc/IZ_stdlib.mock.h |
|
|
|
|
|
|
|
src/packages/game/input/input.test.c |
|
|
|
__tests__/src/packages/game/input.test.c |
|
|
|
__mocks__/src/packages/config/IZ_config.mock.h |
|
|
|
) |
|
|
|
|
|
|
@@ -263,7 +281,7 @@ add_executable( |
|
|
|
src/packages/config/IZ_config.h |
|
|
|
src/packages/game/output/video/IZ_video.h |
|
|
|
src/packages/game/output/video/IZ_video.c |
|
|
|
src/packages/game/output/output.test.c |
|
|
|
__tests__/src/packages/game/output.test.c |
|
|
|
) |
|
|
|
|
|
|
|
add_executable( |
|
|
@@ -287,7 +305,7 @@ add_executable( |
|
|
|
src/packages/game/data/IZ_list.h |
|
|
|
src/packages/game/memory/IZ_pool.h |
|
|
|
src/packages/game/memory/IZ_pool.c |
|
|
|
src/packages/game/memory/memory.test.c |
|
|
|
__tests__/src/packages/game/memory.test.c |
|
|
|
) |
|
|
|
|
|
|
|
target_link_libraries( |
|
|
@@ -306,7 +324,7 @@ add_executable( |
|
|
|
|
|
|
|
src/packages/game/data/IZ_list.h |
|
|
|
src/packages/game/data/IZ_list.c |
|
|
|
src/packages/game/data/data.test.c |
|
|
|
__tests__/src/packages/game/data.test.c |
|
|
|
) |
|
|
|
|
|
|
|
target_link_libraries( |
|
|
|