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.
|
enable_language(C)
|
|
add_library(foo empty.c empty2.c)
|
|
target_sources(foo PRIVATE empty3.c)
|
|
file(GENERATE OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/foo.txt
|
|
CONTENT "$<TARGET_PROPERTY:foo,SOURCES>")
|