blob: 4f6d74abe91a5ab0126b151df6024d4d4d61cdab [file]
include(GeneratedCommon.cmake)
# The target and its generated headers are defined in a subdirectory but
# installed from here, so the generated files must be found in the target's
# directory rather than the directory of the install rule.
add_subdirectory(generated)
install(TARGETS subdirectory_headers
ARCHIVE DESTINATION lib
COMPONENT Archive
EXCLUDE_FROM_ALL
FILE_SET HEADERS DESTINATION include
COMPONENT Headers
PUBLIC_HEADER DESTINATION include/public
COMPONENT Headers
)
add_library(unit_tests STATIC neverbuild.c)