mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-28 08:06:23 +00:00
feat(docker): production images, integrated ccache and many other improvements (#5551)
This commit is contained in:
@@ -3,6 +3,12 @@
|
||||
# Copyright (C) 2008-2019 TrinityCore <https://www.trinitycore.org/>
|
||||
#
|
||||
|
||||
if ((USE_COREPCH OR USE_SCRIPTPCH) AND (CMAKE_C_COMPILER_LAUNCHER STREQUAL "ccache" OR CMAKE_CXX_COMPILER_LAUNCHER STREQUAL "ccache"))
|
||||
message(STATUS "Clang: disable pch timestamp when ccache and pch enabled")
|
||||
# TODO: for ccache https://github.com/ccache/ccache/issues/539
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Xclang -fno-pch-timestamp")
|
||||
endif()
|
||||
|
||||
# Set build-directive (used in core to tell which buildtype we used)
|
||||
target_compile_definitions(acore-compile-option-interface
|
||||
INTERFACE
|
||||
|
||||
Reference in New Issue
Block a user