| 1 |
set(CMAKE_INCLUDE_CURRENT_DIR ON) |
| 2 |
|
| 3 |
include(GenerateExportHeader) |
| 4 |
|
| 5 |
# Show that the export header has no effect on a static library. |
| 6 |
|
| 7 |
add_library(libstatic STATIC libstatic.cpp) |
| 8 |
|
| 9 |
generate_export_header(libstatic) |
| 10 |
|
| 11 |
export(TARGETS libstatic FILE Targets.cmake) |