Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
604fa62c01cea3dd6a90790f89ce12e4f0f28259
/
.
/
Tests
/
RunCMake
/
add_library
/
STATICwithNoSourcesButLinkObjects.cmake
blob: b6e137f3a168678907ad9911dcedaf2db9bd1945 [
file
] [
log
] [
blame
]
enable_language
(
CXX
)
add_library
(
ObjectLibDependency
OBJECT test
.
cpp
)
add_library
(
TestStaticLibWithoutSources
STATIC
)
target_link_libraries
(
TestStaticLibWithoutSources
PUBLIC $
<
TARGET_OBJECTS
:
ObjectLibDependency
>)