mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-11 00:53:46 +02:00
Add cotire (compile time reducer) to CMake
https://github.com/sakra/cotire Currently we only use it for precompiled headers for Audacity src. There is a 'unity' build, but it needs work by us to fix it for duplicate definition.
This commit is contained in:
@@ -5,6 +5,9 @@ cmake_policy(SET CMP0043 NEW) # just hide an annoying warning in 3.0.2
|
||||
# There must be a symbol for this already, surely?
|
||||
set( top_dir ${CMAKE_SOURCE_DIR} )
|
||||
|
||||
set( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake-proxies/cmake-modules)
|
||||
include(cotire)
|
||||
|
||||
# These stop the results being mixed in with our source tree.
|
||||
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
||||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
||||
|
Reference in New Issue
Block a user