Browse Source

add cotire to build system

pull/25/head
Xadhoom 7 years ago committed by Anders Jenbo
parent
commit
187359bcf0
  1. 4190
      CMake/cotire.cmake
  2. 3
      CMakeLists.txt

4190
CMake/cotire.cmake

File diff suppressed because it is too large Load Diff

3
CMakeLists.txt

@ -9,6 +9,7 @@ if(POLICY CMP0067)
endif()
include(CMake/out_of_tree.cmake)
include(CMake/cotire.cmake)
# This *must* be included before calling `project()`, due to setting early compiler flags.
if($ENV{FORCE32})
@ -194,6 +195,8 @@ target_link_libraries(devilution PUBLIC
${SDL2_MIXER_LIBRARIES}
)
cotire(devilution)
# xxhash fast hashing library
add_library(xxhash STATIC 3rdParty/xxhash/xxhash.c)
set_source_files_properties(3rdParty/xxhash/xxhash.c PROPERTIES LANGUAGE CXX)

Loading…
Cancel
Save