We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cf49f7 commit af3ae8cCopy full SHA for af3ae8c
cmake/configure.cmake
@@ -1,5 +1,20 @@
1
include_guard()
2
3
+if(WIN32 AND CMAKE_GENERATOR MATCHES "Ninja")
4
+ set(CMAKE_NINJA_FORCE_RESPONSE_FILE
5
+ ON
6
+ CACHE BOOL "Force Ninja to use response files" FORCE)
7
+ set(CMAKE_CXX_USE_RESPONSE_FILE_FOR_INCLUDES
8
9
+ CACHE BOOL "Use response files for includes" FORCE)
10
+ set(CMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS
11
12
+ CACHE BOOL "Use response files for objects" FORCE)
13
+ set(CMAKE_CXX_USE_RESPONSE_FILE_FOR_LIBRARIES
14
15
+ CACHE BOOL "Use response files for libraries" FORCE)
16
+endif()
17
+
18
if(NOT CMAKE_BUILD_TYPE)
19
set(CMAKE_BUILD_TYPE "Release")
20
endif(NOT CMAKE_BUILD_TYPE)
0 commit comments