cotire icon indicating copy to clipboard operation
cotire copied to clipboard

INTERFACE_SOURCES seems to be ignored by cotire

Open tru opened this issue 8 years ago • 0 comments

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.

tru avatar Jun 28 '17 18:06 tru