1
This commit is contained in:
parent
cf58ba53d3
commit
57a279386b
@ -10,6 +10,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 -DNDEBUG -DGAME_ID=${GAME_ID} ")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "-Wall -g -std=gnu++11 -DDEBUG -DGAME_ID=${GAME_ID} ")
|
||||
|
||||
@ -32,7 +40,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
|
||||
@ -101,7 +109,7 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
hiredis
|
||||
tinyxml2
|
||||
tcmalloc
|
||||
behaviac_gcc_debug
|
||||
behaviac_gcc_release
|
||||
)
|
||||
else()
|
||||
target_link_libraries(
|
||||
|
@ -10,6 +10,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 -DNDEBUG -DGAME_ID=${GAME_ID} ")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "-Wall -g -std=gnu++11 -DDEBUG -DGAME_ID=${GAME_ID} ")
|
||||
|
||||
@ -32,7 +40,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
|
||||
@ -102,7 +110,7 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
hiredis
|
||||
tinyxml2
|
||||
# tcmalloc
|
||||
behaviac_gcc_debug
|
||||
behaviac_gcc_release
|
||||
)
|
||||
else()
|
||||
target_link_libraries(
|
||||
|
@ -10,6 +10,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 -DNDEBUG -DGAME_ID=${GAME_ID} ")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "-Wall -g -std=gnu++11 -DDEBUG -DGAME_ID=${GAME_ID} ")
|
||||
|
||||
@ -32,7 +40,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
|
||||
@ -101,7 +109,7 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
hiredis
|
||||
tinyxml2
|
||||
tcmalloc
|
||||
behaviac_gcc_debug
|
||||
behaviac_gcc_release
|
||||
)
|
||||
else()
|
||||
target_link_libraries(
|
||||
|
@ -10,6 +10,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 -DNDEBUG -DGAME_ID=${GAME_ID} ")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "-Wall -g -std=gnu++11 -DDEBUG -DGAME_ID=${GAME_ID} ")
|
||||
|
||||
@ -32,7 +40,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
|
||||
@ -102,7 +110,7 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
curl
|
||||
hiredis
|
||||
tinyxml2
|
||||
behaviac_gcc_debug
|
||||
behaviac_gcc_release
|
||||
)
|
||||
else()
|
||||
target_link_libraries(
|
||||
|
@ -10,6 +10,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 -DNDEBUG -DGAME_ID=${GAME_ID} ")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "-Wall -g -std=gnu++11 -DDEBUG -DGAME_ID=${GAME_ID} ")
|
||||
|
||||
@ -32,7 +40,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
|
||||
@ -101,7 +109,7 @@ if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
hiredis
|
||||
tinyxml2
|
||||
tcmalloc
|
||||
behaviac_gcc_debug
|
||||
behaviac_gcc_release
|
||||
)
|
||||
else()
|
||||
target_link_libraries(
|
||||
|
Loading…
x
Reference in New Issue
Block a user