Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
aebdd9ff2cba50f8ace3cb1784dd04582019cc40
/
.
/
Tests
/
AliasTarget
/
subdir
/
CMakeLists.txt
blob: 05a7d86f01b61cb31341dc3fd9b70496b3a2f9a8 [
file
] [
log
] [
blame
]
add_library(tgt STATIC empty.cpp)
add_library(Sub::tgt ALIAS tgt)
# foo comes from the top-level CMakeLists.txt
add_library(Top::foo ALIAS foo)
get_target_property(some_prop Top::foo SOME_PROP)
target_link_libraries(tgt Top::foo)