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