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.

14 lines
286 B

set(CMAKE_INCLUDE_CURRENT_DIR ON)
include(GenerateExportHeader)
add_compiler_export_flags()
# Show that the export header has no effect on a static library.
add_library(libstatic STATIC libstatic.cpp)
generate_export_header(libstatic)
export(TARGETS libstatic FILE Targets.cmake)