Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
9a9ed4b9d3f9658fa0615bb3cef601c5d396bf3b
/
.
/
Tests
/
RunCMake
/
add_executable
/
NoSourcesButLinkObjects.cmake
blob: d0f20934e62c113fcfdf197e3076f9e0e4e666cc [
file
] [
log
] [
blame
]
enable_language
(
CXX
)
add_library
(
ObjectLibDependency
OBJECT test
.
cpp
)
add_executable
(
TestExeWithoutSources
)
target_link_libraries
(
TestExeWithoutSources
PUBLIC $
<
TARGET_OBJECTS
:
ObjectLibDependency
>)