CMake/Tests/RunCMake/alias_targets/export.cmake

9 lines
123 B
CMake

enable_language(CXX)
add_library(foo empty.cpp)
add_library(alias ALIAS foo)
export(TARGETS alias FILE someFile.cmake)