You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
266 B
7 lines
266 B
3 years ago
|
enable_language(C)
|
||
|
|
||
|
add_library(lib1 STATIC empty.c)
|
||
|
target_sources(lib1 PRIVATE FILE_SET a TYPE HEADERS BASE_DIRS ${CMAKE_CURRENT_SOURCE_DIR} FILES h1.h)
|
||
|
set_property(TARGET lib1 PROPERTY HEADER_SETS)
|
||
|
target_sources(lib1 PRIVATE FILE_SET a TYPE HEADERS FILES h2.h)
|