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.
10 lines
316 B
10 lines
316 B
enable_language(C)
|
|
|
|
add_library(static STATIC static.c)
|
|
set(condition)
|
|
get_property(multi_config GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
|
|
if(multi_config)
|
|
set(condition CONDITION "$<CONFIG:Debug>")
|
|
endif()
|
|
file(GENERATE OUTPUT "${CMAKE_BINARY_DIR}/dlls.txt" CONTENT "$<TARGET_RUNTIME_DLLS:static>" ${condition})
|