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.

8 lines
261 B

add_library(library IMPORTED STATIC)
set_property(TARGET library PROPERTY COMPILE_DEFINITIONS "second")
file(GENERATE OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/output.txt"
CONTENT "$<TARGET_PROPERTY:COMPILE_DEFINITIONS>"
TARGET library
)