remove cotire

This commit is contained in:
Andrei Alexeyev 2017-11-25 17:56:11 +02:00
parent de2223d800
commit 8fbd48d2dd
No known key found for this signature in database
GPG key ID: 363707CD4C7FE8A4
3 changed files with 0 additions and 14 deletions

3
.gitmodules vendored
View file

@ -1,3 +0,0 @@
[submodule "cotire"]
path = scripts/cmake-modules/cotire
url = https://github.com/sakra/cotire

View file

@ -125,7 +125,6 @@ option(RELATIVE "Use only relative paths to the executable and install everythin
option(USE_AUDIO "Build with audio support (SDL2_mixer)." ON)
option(USE_ZIP "Build with .zip package support." ON)
option(USE_CPACK "Add a 'package' target, used to prepare a release for binary distribution. Currently only used to create Windows installers. Requires CPack and NSIS." OFF)
option(USE_COTIRE "Use cotire (COmpile TIme REducer) to speed up builds." OFF)
option(USE_INTEL_INTRIN "Use some x86-specific intrinsics for optimizations where appropriate (if possible). Note that this is not equivalent to e.g. supplying -march in CFLAGS." ON)
option(DEBUG_USE_UBSAN "Enable the Undefined Behaviour Sanitizer (UBSan) in debug builds. Only disable if the compiler or target platform doesn't support it." ON)
option(DEBUG_USE_ASAN "Enable the Address Sanitizer (ASan) and leak detection in debug builds." OFF)

View file

@ -1,12 +1,6 @@
include(CheckSymbolExists)
include(CheckAndSetFlags)
if(USE_COTIRE)
set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" "${BUILDSCRIPTS_DIR}/cmake-modules/cotire/CMake")
cmake_policy(SET CMP0011 NEW)
include(cotire)
endif()
if(LINK_TO_LIBGL)
add_definitions(-DLINK_TO_LIBGL)
endif()
@ -441,7 +435,3 @@ if("${CMAKE_BUILD_TYPE}" STREQUAL "Release" AND NOT APPLE)
SCRIPT "${CMAKE_CURRENT_BINARY_DIR}/PostInstallRelease.cmake"
)
endif()
if(USE_COTIRE)
cotire(taisei)
endif()