author | koda |
Tue, 20 Nov 2012 22:08:08 +0100 | |
changeset 8081 | 5a7ff368cf01 |
parent 8079 | 3f3dd3c9b89e |
child 8084 | e723e95c11f1 |
permissions | -rw-r--r-- |
8081 | 1 |
find_package(SDL REQUIRED) |
8079 | 2 |
find_package(SDL_net REQUIRED) |
3 |
||
8081 | 4 |
add_definitions("-std=c99") |
8079 | 5 |
|
6 |
file(GLOB frontlib_src |
|
7 |
*.c *.h |
|
8 |
base64/*.c base64/*.h |
|
9 |
ipc/*.c ipc/*.h |
|
10 |
md5/*.c md5/*.h |
|
11 |
model/*.c model/*.h |
|
12 |
net/*.c net/*.h |
|
13 |
util/*.c util/*.h |
|
14 |
) |
|
15 |
||
8081 | 16 |
include_directories(${SDL_INCLUDE_DIR}) |
8079 | 17 |
include_directories(${SDLNET_INCLUDE_DIR}) |
18 |
||
19 |
add_library(frontlib STATIC ${frontlib_src}) |