Sign in
fuchsia
/
third_party
/
github.com
/
Kitware
/
CMake
/
22dbe547fb5bf5c2b8fe7e3abeb3eaa1a1487b04
/
.
/
Tests
/
RunCMake
/
UnityBuild
/
unitybuild_c_no_unity_build.cmake
blob: 1185e9fcd182c6b208aebe3c6568795dd9710a9b [
file
] [
log
] [
blame
]
project
(
unitybuild_c_no_unity_build C
)
set
(
srcs
""
)
foreach
(
s RANGE
1
8
)
set
(
src
"${CMAKE_CURRENT_BINARY_DIR}/s${s}.c"
)
file
(
WRITE
"${src}"
"int s${s}(void) { return 0; }\n"
)
list
(
APPEND srcs
"${src}"
)
endforeach
()
add_library
(
tgt SHARED $
{
srcs
})