cotire
cotire copied to clipboard
INTERFACE_SOURCES seems to be ignored by cotire
Consider the following CMake:
add_library(foo INTERFACE IMPORTED)
target_sources(foo INTERFACE foo.cpp)
add_executable(bar bar.cpp)
target_link_libraries(bar foo)
cotire(bar)
That will apply the PCH settings to bar.cpp but not foo.cpp.