mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
729d997f10
Add the ability to share precompiled headers artifacts between targets. Fixes: #19659
4 lines
145 B
CMake
4 lines
145 B
CMake
add_executable(foobar ../foobar.c)
|
|
target_link_libraries(foobar foo )
|
|
set_target_properties(foobar PROPERTIES PRECOMPILE_HEADERS_REUSE_FROM foo)
|