Files
CMake/Tests/RunCMake/GenerateExportHeader/libshared/CMakeLists.txt
Brad King eae0a85d84 Tests: Remove redundant code from RunCMake.GenerateExportHeader case
Drop extra `add_compiler_export_flags` calls from subdirectories because
it is already called in the top-level directory before entering them.
2018-01-12 11:01:37 -05:00

10 lines
191 B
CMake

include(GenerateExportHeader)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
add_library(libshared SHARED libshared.cpp)
generate_export_header(libshared)
export(TARGETS libshared FILE Targets.cmake)