split the cflags settings over more files

This commit is contained in:
Enno Rehling 2013-05-04 17:29:39 -07:00
parent 6335d4be3a
commit 63a8c10f84
7 changed files with 13 additions and 6 deletions

3
.gitmodules vendored
View File

@ -25,3 +25,6 @@
[submodule "lunit"]
path = lunit
url = git@github.com:eressea/lunit.git
[submodule "cJSON"]
path = cJSON
url = git://github.com/kbranigan/cJSON.git

View File

@ -3,6 +3,12 @@ project (e3-server C)
enable_testing()
IF(CMAKE_COMPILER_IS_GNUCC)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -DHAVE__BOOL")
ELSE(CMAKE_COMPILER_IS_GNUCC)
MESSAGE(STATUS "Unknown compiler ${CMAKE_C_COMPILER_ID}")
ENDIF(CMAKE_COMPILER_IS_GNUCC)
find_package (Lua 5 REQUIRED)
find_package (ToLua REQUIRED)
find_package (LibXml2 REQUIRED)

1
cJSON Submodule

@ -0,0 +1 @@
Subproject commit 43241a78df3abc76ad7fc3d80f81e0b1db83a890

2
cutest

@ -1 +1 @@
Subproject commit b5910573d0b7da7f46c3efbaeb85cb2eaf269980
Subproject commit 30c0fed288ef280b27ff49912da03be6eaf90ca7

@ -1 +1 @@
Subproject commit 1db73ac4c7fc135e97debe27b246c9f81e0c03c6
Subproject commit b0fb81640bbb6f1607546d6db1342253154f4f75

@ -1 +1 @@
Subproject commit f412ae545c1465e4128075790dfda79f3c3de604
Subproject commit 537ba2f174d51cb06c3a97a1a0285b384b0e3d1a

View File

@ -3,9 +3,6 @@ project (server C)
IF(CMAKE_COMPILER_IS_GNUCC)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic -Wall -Werror -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wno-char-subscripts -Wno-long-long")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -DHAVE__BOOL")
ELSE(CMAKE_COMPILER_IS_GNUCC)
MESSAGE(STATUS "Unknown compiler ${CMAKE_C_COMPILER_ID}")
ENDIF(CMAKE_COMPILER_IS_GNUCC)
include_directories (${ERESSEA_INCLUDE_DIR})