blob: 89993ee09f17609c24d78704b85a66058452b120 (
plain)
1
2
3
4
5
|
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>")
|