project_files/frontlib/CMakeLists.txt
author unc0rr
Thu, 06 Dec 2012 00:14:40 +0400
branchflibqtfrontend
changeset 8240 ee39403a1d27
parent 8100 0e6fadf81a2c
permissions -rw-r--r--
Stop syncing when recieved 'o' message
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8081
5a7ff368cf01 frontlib paths
koda
parents: 8079
diff changeset
     1
find_package(SDL REQUIRED)
8079
unc0rr
parents:
diff changeset
     2
find_package(SDL_net REQUIRED)
8084
e723e95c11f1 Some fixes to build process
unc0rr
parents: 8081
diff changeset
     3
find_package(ZLIB REQUIRED)
8079
unc0rr
parents:
diff changeset
     4
8081
5a7ff368cf01 frontlib paths
koda
parents: 8079
diff changeset
     5
add_definitions("-std=c99")
8079
unc0rr
parents:
diff changeset
     6
unc0rr
parents:
diff changeset
     7
file(GLOB frontlib_src
unc0rr
parents:
diff changeset
     8
        *.c *.h
unc0rr
parents:
diff changeset
     9
        base64/*.c base64/*.h
8100
0e6fadf81a2c - frontlib loads team config via physfs
unc0rr
parents: 8084
diff changeset
    10
        iniparser/*.c iniparser/*.h
8079
unc0rr
parents:
diff changeset
    11
        ipc/*.c ipc/*.h
unc0rr
parents:
diff changeset
    12
        md5/*.c md5/*.h
unc0rr
parents:
diff changeset
    13
        model/*.c model/*.h
unc0rr
parents:
diff changeset
    14
        net/*.c net/*.h
unc0rr
parents:
diff changeset
    15
        util/*.c util/*.h
unc0rr
parents:
diff changeset
    16
    )
unc0rr
parents:
diff changeset
    17
8081
5a7ff368cf01 frontlib paths
koda
parents: 8079
diff changeset
    18
include_directories(${SDL_INCLUDE_DIR})
8079
unc0rr
parents:
diff changeset
    19
include_directories(${SDLNET_INCLUDE_DIR})
8084
e723e95c11f1 Some fixes to build process
unc0rr
parents: 8081
diff changeset
    20
include_directories(${ZLIB_INCLUDE_DIR})
8100
0e6fadf81a2c - frontlib loads team config via physfs
unc0rr
parents: 8084
diff changeset
    21
include_directories(${CMAKE_SOURCE_DIR}/misc/physfs/src)
0e6fadf81a2c - frontlib loads team config via physfs
unc0rr
parents: 8084
diff changeset
    22
include_directories(${CMAKE_SOURCE_DIR}/misc/physfs/extras)
8079
unc0rr
parents:
diff changeset
    23
unc0rr
parents:
diff changeset
    24
add_library(frontlib STATIC ${frontlib_src})