Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
55ea8f6b1b3756de32334d80ea000f21ddc4d5c7
/
.
/
Tests
/
RunCMake
/
add_library
/
OBJECTwithNoSourcesButLinkObjects.cmake
blob: 6b4b55fdaa9414f6c12013811d62f82f90c5b155 [
file
] [
log
] [
blame
]
enable_language
(
CXX
)
add_library
(
ObjectLibDependency
OBJECT test
.
cpp
)
add_library
(
TestObjectLibWithoutSources
OBJECT
)
target_link_libraries
(
TestObjectLibWithoutSources
PUBLIC $
<
TARGET_OBJECTS
:
ObjectLibDependency
>)