author | Wuzzy <Wuzzy2@mail.ru> |
Wed, 07 Mar 2018 23:06:19 +0100 | |
changeset 13097 | 03d065fc60dc |
parent 8084 | e723e95c11f1 |
child 8100 | 0e6fadf81a2c |
permissions | -rw-r--r-- |
8081 | 1 |
find_package(SDL REQUIRED) |
8079 | 2 |
find_package(SDL_net REQUIRED) |
8084 | 3 |
find_package(ZLIB REQUIRED) |
8079 | 4 |
|
8081 | 5 |
add_definitions("-std=c99") |
8079 | 6 |
|
7 |
file(GLOB frontlib_src |
|
8 |
*.c *.h |
|
9 |
base64/*.c base64/*.h |
|
10 |
ipc/*.c ipc/*.h |
|
11 |
md5/*.c md5/*.h |
|
12 |
model/*.c model/*.h |
|
13 |
net/*.c net/*.h |
|
14 |
util/*.c util/*.h |
|
15 |
) |
|
16 |
||
8081 | 17 |
include_directories(${SDL_INCLUDE_DIR}) |
8079 | 18 |
include_directories(${SDLNET_INCLUDE_DIR}) |
8084 | 19 |
include_directories(${ZLIB_INCLUDE_DIR}) |
8079 | 20 |
|
21 |
add_library(frontlib STATIC ${frontlib_src}) |