export.cmake 123 Bytes
Newer Older
1 2 3 4 5 6 7 8

enable_language(CXX)

add_library(foo empty.cpp)

add_library(alias ALIAS foo)

export(TARGETS alias FILE someFile.cmake)