forked from github/server
split the cflags settings over more files
This commit is contained in:
parent
6335d4be3a
commit
63a8c10f84
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 43241a78df3abc76ad7fc3d80f81e0b1db83a890
|
2
cutest
2
cutest
|
@ -1 +1 @@
|
|||
Subproject commit b5910573d0b7da7f46c3efbaeb85cb2eaf269980
|
||||
Subproject commit 30c0fed288ef280b27ff49912da03be6eaf90ca7
|
2
eressea
2
eressea
|
@ -1 +1 @@
|
|||
Subproject commit 1db73ac4c7fc135e97debe27b246c9f81e0c03c6
|
||||
Subproject commit b0fb81640bbb6f1607546d6db1342253154f4f75
|
|
@ -1 +1 @@
|
|||
Subproject commit f412ae545c1465e4128075790dfda79f3c3de604
|
||||
Subproject commit 537ba2f174d51cb06c3a97a1a0285b384b0e3d1a
|
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue