Skip to content

Commit

Permalink
Effectively the removal boost 1.65 as it breaks Vegastrike at the mom…
Browse files Browse the repository at this point in the history
…ent. Some other minor warnings dealt with as well.
  • Loading branch information
Taose committed Aug 27, 2017
1 parent f17391f commit 5e59d87
Show file tree
Hide file tree
Showing 26,197 changed files with 2,710,266 additions and 355,937 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
18 changes: 9 additions & 9 deletions engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -548,10 +548,10 @@ if(CMAKE_COMPILER_IS_GNUCXX)
endif()

# Debug target block.
SET(CMAKE_CXX_FLAGS_DEBUG " ${CPU_OPTS} -DNV_CUBE_MAP -DBOOST_PYTHON_NO_PY_SIGNATURES -include config.h -pipe -g2 -Wall -Werror -O0 -fvisibility=hidden" CACHE STRING
SET(CMAKE_CXX_FLAGS_DEBUG " ${CPU_OPTS} -DNV_CUBE_MAP -DBOOST_PYTHON_NO_PY_SIGNATURES -include config.h -pipe -g2 -std=c++11 -Wall -Werror -O0 -fvisibility=hidden" CACHE STRING
"Flags used by the C++ compiler during debug builds."
FORCE )
SET( CMAKE_C_FLAGS_DEBUG " ${CPU_OPTS} -DNV_CUBE_MAP -DBOOST_PYTHON_NO_PY_SIGNATURES -include config.h -pipe -g2 -Wall -Werror -Wno-unused-function -Wno-unused-variable -O0 -fvisibility=hidden" CACHE STRING
SET( CMAKE_C_FLAGS_DEBUG " ${CPU_OPTS} -DNV_CUBE_MAP -DBOOST_PYTHON_NO_PY_SIGNATURES -include config.h -pipe -g -Wall -Werror -Wno-unused-function -Wno-unused-variable -O0 -fvisibility=hidden" CACHE STRING
"Flags used by the C compiler during debug builds."
FORCE )
MARK_AS_ADVANCED(
Expand All @@ -568,7 +568,7 @@ ENDIF("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")


# Release Target block
SET(CMAKE_CXX_FLAGS_RELEASE "${CPU_OPTS} -DNV_CUBE_MAP -DBOOST_PYTHON_NO_PY_SIGNATURES -include config.h -pipe -O2 -Wall -fvisibility=hidden" CACHE STRING
SET(CMAKE_CXX_FLAGS_RELEASE "${CPU_OPTS} -DNV_CUBE_MAP -DBOOST_PYTHON_NO_PY_SIGNATURES -include config.h -pipe -O2 -std=c++11 -Wall -fvisibility=hidden " CACHE STRING
"Flags used by the C++ compiler during release builds."
FORCE)
SET( CMAKE_C_FLAGS_RELEASE "${CPU_OPTS} -DNV_CUBE_MAP -DBOOST_PYTHON_NO_PY_SIGNATURES -include config.h -pipe -O2 -Wall -Wno-unused-function -Wno-unused-variable -fvisibility=hidden" CACHE STRING
Expand All @@ -590,10 +590,10 @@ ENDIF("${CMAKE_BUILD_TYPE}" STREQUAL "Release")


# Release with debugging symbols Target block
SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO " ${CPU_OPTS} -DNV_CUBE_MAP -DBOOST_PYTHON_NO_PY_SIGNATURES -include config.h -pipe -O2 -g2 -Wall -Wno-unused-function -Wno-unused-variable -fvisibility=hidden" CACHE STRING
SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO " ${CPU_OPTS} -DNV_CUBE_MAP -DBOOST_PYTHON_NO_PY_SIGNATURES -include config.h -pipe -O2 -g2 -std=c++1 -Wall -Wno-unused-function -Wno-unused-variable -fvisibility=hidden1" CACHE STRING
"Flags used by the C++ compiler during release builds."
FORCE )
SET( CMAKE_C_FLAGS_RELWITHDEBINFO " ${CPU_OPTS} -DNV_CUBE_MAP -DBOOST_PYTHON_NO_PY_SIGNATURES -include config.h -pipe -O2 -g2 -Wall -Wno-unused-function -Wno-unused-variable -fvisibility=hidden" CACHE STRING
SET( CMAKE_C_FLAGS_RELWITHDEBINFO " ${CPU_OPTS} -DNV_CUBE_MAP -DBOOST_PYTHON_NO_PY_SIGNATURES -include config.h -pipe -O2 -g2 -std=c++1 -Wall -Wno-unused-function -Wno-unused-variable -fvisibility=hidden" CACHE STRING
"Flags used by the C compiler during release builds."
FORCE )
MARK_AS_ADVANCED(
Expand All @@ -610,7 +610,7 @@ ENDIF("${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo")


# Maintainer Target block
SET(CMAKE_CXX_FLAGS_MAINTAINER " -DNV_CUBE_MAP -DBOOST_PYTHON_NO_PY_SIGNATURES -include config.h -pipe -g2 -Wall -Wno-unused-function -Wno-unused-variable -O0 -fvisibility=hidden" CACHE STRING
SET(CMAKE_CXX_FLAGS_MAINTAINER " -DNV_CUBE_MAP -DBOOST_PYTHON_NO_PY_SIGNATURES -include config.h -pipe -g2 -std=c++11 -Wall -Wno-unused-function -Wno-unused-variable -O0 -fvisibility=hidden" CACHE STRING
"Flags used by the C++ compiler during maintainer builds."
FORCE )
SET( CMAKE_C_FLAGS_MAINTAINER " -DNV_CUBE_MAP -DBOOST_PYTHON_NO_PY_SIGNATURES -include config.h -pipe -g2 -Wall -Wno-unused-function -Wno-unused-variable -O0 -fvisibility=hidden" CACHE STRING
Expand Down Expand Up @@ -639,7 +639,7 @@ ENDIF("${CMAKE_BUILD_TYPE}" STREQUAL "Maintainer")


# Profiler Target block
SET(CMAKE_CXX_FLAGS_PROFILER " ${CPU_OPTS} -O2 -pg -g2 -DNV_CUBE_MAP -DBOOST_PYTHON_NO_PY_SIGNATURES -include config.h -pipe -Wall -Wno-unused-function -Wno-unused-variable -O3" CACHE STRING
SET(CMAKE_CXX_FLAGS_PROFILER " ${CPU_OPTS} -O2 -pg -g2 -DNV_CUBE_MAP -DBOOST_PYTHON_NO_PY_SIGNATURES -include config.h -pipe -std=c++11 -Wall -Wno-unused-function -Wno-unused-variable -O3" CACHE STRING
"Flags used by the C++ compiler during profiler builds."
FORCE )
SET( CMAKE_C_FLAGS_PROFILER " ${CPU_OPTS} -O2 -pg -g2 -DNV_CUBE_MAP -DBOOST_PYTHON_NO_PY_SIGNATURES -include config.h -pipe -Wall -Wno-unused-function -Wno-unused-variable -O3" CACHE STRING
Expand Down Expand Up @@ -728,10 +728,10 @@ IF(Boost_FOUND)
ELSE(Boost_FOUND)
message("++ Using Internal Boost")
SET(BOOST_PYTHON_NO_PY_SIGNATURES 1)
SET(TST_INCLUDES ${TST_INCLUDES} ${vsUTCS_SOURCE_DIR}/boost/1_65)
SET(TST_INCLUDES ${TST_INCLUDES} ${vsUTCS_SOURCE_DIR}/boost/1_64)
SET(TST_LIBS ${TST_LIBS} boost_python)
include_directories(${TST_INCLUDES})
add_subdirectory(boost/1_65)
add_subdirectory(boost/1_64)
IF(NOT DISABLE_CLIENT)
add_dependencies(vegastrike boost_python)
ENDIF(NOT DISABLE_CLIENT)
Expand Down
Loading

0 comments on commit 5e59d87

Please sign in to comment.