cotire
cotire copied to clipboard
CMake module to speed up builds.
Hi, Documentation states cotire supports multi-core builds for Visual Studio. But I don't see this even in examples. You need to add /MP compiler flag for each source or whole...
In my test project, I included `` and boost unit test library headers. These are very heavy C++ headers, so I should have noticed huge compilation speed improvement. However, I...
Tried this on the llvm project with ninja generator on Win7. ```diff Index: cmake/modules/AddLLVM.cmake =================================================================== --- cmake/modules/AddLLVM.cmake (revision 292100) +++ cmake/modules/AddLLVM.cmake (working copy) @@ -547,6 +547,8 @@ if(ARG_SHARED OR ARG_MODULE)...
When cmake is called with -DMYDEF="Line1\\\\\\\\nLine2" (8 backslashes) and CMakeList.txt contains a line add_compile_options(-DMYDEF="${MYDEF}") cotire passes 4 backslashes to gcc when generating the pre-compiled header, but only 1 backslash, wenn...
Hi sakra, I just started using cotire and I have the problem that an external header that is included in the prefix header causes the warning C4996. It seems that...
The unity target for the game executable fails to build but the original target succeeds (cotire 1.7.6): ``` cmake #CMakeLists.txt cmake_minimum_required(VERSION 2.8.12) project(game) include(cotire.cmake) add_executable(${PROJECT_NAME} a.cc b.cc c.cc pch.h) set_target_properties(${PROJECT_NAME}...
Hello, I have the following case, similar to #56 . When there are targets (let's say `b`) which depends on other targets all in the same CMake tree (let's say...
Is there a way to force include a header into the pch with a certain order? The problem I have is that I use OpenGL and GLEW. GLEW is compiled...
The documentation for the target property **COTIRE_UNITY_SOURCE_MAXIMUM_NUMBER_OF_INCLUDES** is not clear enough that different things like these `-j4` vs `4` have different meaning. This applies to the **COTIRE_MAXIMUM_NUMBER_OF_UNITY_INCLUDES** global variable too....