Procházet zdrojové kódy

Organize CMakeLists

Order files from order of includes.
master
TheoryOfNekomata před 2 roky
rodič
revize
13bc81c018
1 změnil soubory, kde provedl 16 přidání a 7 odebrání
  1. +16
    -7
      CMakeLists.txt

+ 16
- 7
CMakeLists.txt Zobrazit soubor

@@ -28,7 +28,7 @@ link_directories(
add_executable(
game
dependencies/minIni/dev/minIni.h
dependencies/minIni/dev/minIni.c
dependencies/minIni/dev/minIni.c
src/packages/game/output/IZ_video.h
src/packages/game/output/IZ_video.c
src/packages/game/IZ_common.h
@@ -52,23 +52,31 @@ target_link_libraries(
add_executable(
game-test-output
dependencies/bdd-for-c/bdd-for-c.h
src/packages/test/IZ_mock.h src/packages/test/IZ_test.h
__mocks__/minIni.mock.h
src/packages/test/IZ_mock.h
src/packages/test/IZ_test.h

__mocks__/minIni.mock.h
__mocks__/SDL_keyboard.mock.h

src/packages/game/IZ_config.h
src/packages/game/__mocks__/IZ_config.mock.h

src/packages/game/output/IZ_video.h
src/packages/game/output/IZ_video.c
src/packages/game/output/IZ_video.test.c
__mocks__/SDL_keyboard.mock.h src/packages/game/__mocks__/IZ_config.mock.h)
)

add_executable(
game-test-input
dependencies/bdd-for-c/bdd-for-c.h
src/packages/test/IZ_mock.h src/packages/test/IZ_test.h
__mocks__/minIni.mock.h
src/packages/test/IZ_mock.h
src/packages/test/IZ_test.h

__mocks__/minIni.mock.h
__mocks__/SDL_keyboard.mock.h

src/packages/game/IZ_config.h
src/packages/game/__mocks__/IZ_config.mock.h

src/packages/game/input/IZ_keyboard.h
src/packages/game/input/IZ_keyboard.c
@@ -76,7 +84,8 @@ add_executable(

# src/packages/game/input/IZ_joystick.h
# src/packages/game/input/IZ_joystick.c
__mocks__/SDL_keyboard.mock.h src/packages/game/__mocks__/IZ_config.mock.h)

)

if (WIN32)
add_custom_command(TARGET game POST_BUILD


Načítá se…
Zrušit
Uložit