equal
deleted
inserted
replaced
|
1 find_package(SDL REQUIRED) |
1 find_package(SDL_net REQUIRED) |
2 find_package(SDL_net REQUIRED) |
2 |
3 |
3 set(CMAKE_C_FLAGS "-std=c99") |
4 add_definitions("-std=c99") |
4 |
5 |
5 file(GLOB frontlib_src |
6 file(GLOB frontlib_src |
6 *.c *.h |
7 *.c *.h |
7 base64/*.c base64/*.h |
8 base64/*.c base64/*.h |
8 ipc/*.c ipc/*.h |
9 ipc/*.c ipc/*.h |
10 model/*.c model/*.h |
11 model/*.c model/*.h |
11 net/*.c net/*.h |
12 net/*.c net/*.h |
12 util/*.c util/*.h |
13 util/*.c util/*.h |
13 ) |
14 ) |
14 |
15 |
|
16 include_directories(${SDL_INCLUDE_DIR}) |
15 include_directories(${SDLNET_INCLUDE_DIR}) |
17 include_directories(${SDLNET_INCLUDE_DIR}) |
16 |
18 |
17 add_library(frontlib STATIC ${frontlib_src}) |
19 add_library(frontlib STATIC ${frontlib_src}) |