this seems better

This commit is contained in:
Enno Rehling 2010-03-07 14:58:29 -08:00
parent 5c0b3a856b
commit f81ad546e9
1 changed files with 11 additions and 11 deletions

View File

@ -7,22 +7,22 @@ else (WIN32)
include_directories (src /usr/include/lua5.1/ /usr/include/libxml2) include_directories (src /usr/include/lua5.1/ /usr/include/libxml2)
set(CMAKE_C_FLAGS "-g -Wall -Werror -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wno-char-subscripts") set(CMAKE_C_FLAGS "-g -Wall -Werror -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wno-char-subscripts")
endif (WIN32) endif (WIN32)
include_directories (external) include_directories (../external)
set (LIB_SRCS set (LIB_SRCS
external/sqlite3.c ../external/sqlite3.c
external/md5.c ../external/md5.c
external/bson/bson.c ../external/bson/bson.c
external/bson/numbers.c ../external/bson/numbers.c
external/dlmalloc/malloc.c ../external/dlmalloc/malloc.c
src/build/gamecode.c ../server/src/build/gamecode.c
src/build/kernel.c ../server/src/build/kernel.c
src/build/lib.c ../server/src/build/lib.c
src/build/util.c ../server/src/build/util.c
) )
set (ERESSEA_SRCS set (ERESSEA_SRCS
eressea/src/server.c src/server.c
) )
add_executable (eressea ${LIB_SRCS} ${ERESSEA_SRCS}) add_executable (eressea ${LIB_SRCS} ${ERESSEA_SRCS})