Imported Upstream version 3.25.0
[platform/upstream/cmake.git] / Tests / RunCMake / try_compile / BuildType.cmake
1 enable_language(C)
2 set(CMAKE_BUILD_TYPE RelWithDebInfo)
3
4 include(${CMAKE_CURRENT_SOURCE_DIR}/${try_compile_DEFS})
5 try_compile(RESULT
6   ${try_compile_bindir_or_SOURCES} ${CMAKE_CURRENT_SOURCE_DIR}/src.c
7   COPY_FILE "${CMAKE_CURRENT_BINARY_DIR}/out.bin"
8   )