CMake/Tests/RunCMake/install/FILES-EXCLUDE_FROM_ALL.cmake

4 lines
174 B
CMake

install(FILES main.c DESTINATION src-all)
install(FILES main.c DESTINATION src-uns EXCLUDE_FROM_ALL)
install(FILES main.c DESTINATION src-exc EXCLUDE_FROM_ALL COMPONENT exc)