Sign in
fuchsia
/
third_party
/
cmake
/
refs/heads/upstream/master
/
.
/
Tests
/
RunCMake
/
try_compile
/
BuildType.cmake
blob: 8d7e3bef861460925baf1bac6ce46fc6776f8352 [
file
] [
log
] [
blame
]
enable_language
(
C
)
set
(
CMAKE_BUILD_TYPE
RelWithDebInfo
)
include
(
$
{
CMAKE_CURRENT_SOURCE_DIR
}/
$
{
try_compile_DEFS
})
try_compile
(
RESULT
$
{
try_compile_bindir_or_SOURCES
}
$
{
CMAKE_CURRENT_SOURCE_DIR
}/
src
.
c
COPY_FILE
"${CMAKE_CURRENT_BINARY_DIR}/out.bin"
)