12 lines
257 B
CMake
Raw Normal View History

2012-02-18 12:40:36 +02:00
set(CMAKE_INCLUDE_CURRENT_DIR ON)
include(GenerateExportHeader)
# 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)