1
This commit is contained in:
parent
9cf49c2e49
commit
75df23693b
@ -15,6 +15,14 @@ else()
|
||||
set(CMAKE_BUILD_TYPE "Debug")
|
||||
message("debug mode")
|
||||
endif()
|
||||
|
||||
if (${LIB_DIR})
|
||||
message(LIB_DIR: ${LIB_DIR})
|
||||
else()
|
||||
set(LIB_DIR )
|
||||
message(LIB_DIR: ${LIB_DIR} )
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -Wall -g -std=gnu++11 -DGAME_ID=${GAME_ID} -DNDEBUG")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "-Wall -g -std=gnu++11 -DGAME_ID=${GAME_ID} -DDEBUG")
|
||||
|
||||
@ -28,6 +36,7 @@ include_directories(
|
||||
/usr/include/glm
|
||||
../../third_party
|
||||
../../third_party/behaviac/inc
|
||||
../../third_party/recastnavigation/Recast/Include
|
||||
../../third_party/recastnavigation/Detour/Include
|
||||
../../third_party/recastnavigation/DetourTileCache/Include
|
||||
.
|
||||
@ -36,7 +45,7 @@ include_directories(
|
||||
link_directories(
|
||||
/usr/lib64/mysql
|
||||
/usr/local/lib
|
||||
../../third_party/behaviac/lib
|
||||
../../third_party/behaviac/lib/${LIB_DIR}
|
||||
)
|
||||
|
||||
aux_source_directory(../../third_party/a8engine/a8
|
||||
@ -47,6 +56,10 @@ aux_source_directory(../../third_party/framework/cpp
|
||||
SRC_LIST
|
||||
)
|
||||
|
||||
aux_source_directory(../../third_party/recastnavigation/Recast/Source
|
||||
SRC_LIST
|
||||
)
|
||||
|
||||
aux_source_directory(../../third_party/recastnavigation/Detour/Source
|
||||
SRC_LIST
|
||||
)
|
||||
@ -97,7 +110,7 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
hiredis
|
||||
tinyxml2
|
||||
tcmalloc
|
||||
behaviac_gcc_debug
|
||||
behaviac_gcc_release
|
||||
)
|
||||
else()
|
||||
target_link_libraries(
|
||||
|
2
third_party/a8engine
vendored
2
third_party/a8engine
vendored
@ -1 +1 @@
|
||||
Subproject commit cdb87a3e673aee3401b3e2ffce3ea1a1e6a603b0
|
||||
Subproject commit 9c890ba78e289d4879f921b94b558e10d66b2b64
|
2
third_party/framework
vendored
2
third_party/framework
vendored
@ -1 +1 @@
|
||||
Subproject commit eb455bb95f97dc506566c443be0c72960ceebabf
|
||||
Subproject commit 180f9e3f5cdad81a58fe4f8a96b0bd6388eef222
|
2
third_party/tools
vendored
2
third_party/tools
vendored
@ -1 +1 @@
|
||||
Subproject commit 43a09bd136f0d28c61cd03103b9d151af1317381
|
||||
Subproject commit 725d70ebaba30c20124075cf5e4bd751d2404d28
|
Loading…
x
Reference in New Issue
Block a user