mirror of https://github.com/zeldaret/botw.git
build: Only use response files to link (for perf reasons)
This commit is contained in:
parent
39d81d6178
commit
1c8152de22
|
@ -2,7 +2,8 @@ cmake_minimum_required(VERSION 3.13)
|
|||
project(uking CXX)
|
||||
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
set(CMAKE_NINJA_FORCE_RESPONSE_FILE ON)
|
||||
# Use response files when linking objects because of the large number of source files
|
||||
set(CMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS ON)
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||
add_compile_options(-fdiagnostics-color=always)
|
||||
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
|
|
Loading…
Reference in New Issue