project_files/frontlib/CMakeLists.txt
author unc0rr
Wed, 21 Nov 2012 00:16:09 +0400
changeset 8079 3f3dd3c9b89e
child 8081 5a7ff368cf01
permissions -rw-r--r--
Oops
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8079
unc0rr
parents:
diff changeset
     1
find_package(SDL_net REQUIRED)
unc0rr
parents:
diff changeset
     2
unc0rr
parents:
diff changeset
     3
set(CMAKE_C_FLAGS "-std=c99")
unc0rr
parents:
diff changeset
     4
unc0rr
parents:
diff changeset
     5
file(GLOB frontlib_src
unc0rr
parents:
diff changeset
     6
        *.c *.h
unc0rr
parents:
diff changeset
     7
        base64/*.c base64/*.h
unc0rr
parents:
diff changeset
     8
        ipc/*.c ipc/*.h
unc0rr
parents:
diff changeset
     9
        md5/*.c md5/*.h
unc0rr
parents:
diff changeset
    10
        model/*.c model/*.h
unc0rr
parents:
diff changeset
    11
        net/*.c net/*.h
unc0rr
parents:
diff changeset
    12
        util/*.c util/*.h
unc0rr
parents:
diff changeset
    13
    )
unc0rr
parents:
diff changeset
    14
unc0rr
parents:
diff changeset
    15
include_directories(${SDLNET_INCLUDE_DIR})
unc0rr
parents:
diff changeset
    16
unc0rr
parents:
diff changeset
    17
add_library(frontlib STATIC ${frontlib_src})