2011-10-09 19:41:47 +04:00
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
|
|
|
|
include(GenerateExportHeader)
|
|
|
|
|
|
|
|
add_compiler_export_flags()
|
|
|
|
|
2011-07-13 04:13:33 +04:00
|
|
|
# Show that the export header has no effect on a static library.
|
|
|
|
|
|
|
|
add_library(libstatic STATIC libstatic.cpp)
|
|
|
|
|
|
|
|
generate_export_header(libstatic)
|
2011-10-09 19:41:47 +04:00
|
|
|
|
|
|
|
export(TARGETS libstatic FILE Targets.cmake)
|