project_files/frontlib/CMakeLists.txt
author Wuzzy <Wuzzy2@mail.ru>
Mon, 08 Jul 2019 21:44:26 +0200
changeset 15220 ceb289e8a582
parent 8084 e723e95c11f1
child 8100 0e6fadf81a2c
permissions -rw-r--r--
King Mode: Fix king placement phase not working correctly with multiple teams in a clan New king placement phase rules: * Before the game begins, each team can walk with their king and teleport for free, everything else is disabled * This special round does not count towards the round counter, like in gfPlaceHog * TotalRounds is set to -1 during this round, like in gfPlaceHog Under the old rules, this was much more hacky. The delay of all delay-less weapons was just set to 1 The problem with the old rules was that if any clan had more than 1 team, eventually the weapon delay will time out before all kings have been placed.
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
unc0rr
parents:
diff changeset
    10
        ipc/*.c ipc/*.h
unc0rr
parents:
diff changeset
    11
        md5/*.c md5/*.h
unc0rr
parents:
diff changeset
    12
        model/*.c model/*.h
unc0rr
parents:
diff changeset
    13
        net/*.c net/*.h
unc0rr
parents:
diff changeset
    14
        util/*.c util/*.h
unc0rr
parents:
diff changeset
    15
    )
unc0rr
parents:
diff changeset
    16
8081
5a7ff368cf01 frontlib paths
koda
parents: 8079
diff changeset
    17
include_directories(${SDL_INCLUDE_DIR})
8079
unc0rr
parents:
diff changeset
    18
include_directories(${SDLNET_INCLUDE_DIR})
8084
e723e95c11f1 Some fixes to build process
unc0rr
parents: 8081
diff changeset
    19
include_directories(${ZLIB_INCLUDE_DIR})
8079
unc0rr
parents:
diff changeset
    20
unc0rr
parents:
diff changeset
    21
add_library(frontlib STATIC ${frontlib_src})