• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This file sets up a CMakeCache for Apple-style builds of compiler-rt.
2# This configuration matches Apple uses when shipping Xcode releases.
3
4set(COMPILER_RT_INCLUDE_TESTS OFF CACHE BOOL "")
5set(COMPILER_RT_HAS_SAFESTACK OFF CACHE BOOL "")
6set(COMPILER_RT_EXTERNALIZE_DEBUGINFO ON CACHE BOOL "")
7set(CMAKE_MACOSX_RPATH ON CACHE BOOL "")
8
9set(CMAKE_C_FLAGS_RELEASE "-O3" CACHE STRING "")
10set(CMAKE_CXX_FLAGS_RELEASE "-O3" CACHE STRING "")
11set(CMAKE_ASM_FLAGS_RELEASE "-O3" CACHE STRING "")
12set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O3 -gline-tables-only -DNDEBUG" CACHE STRING "")
13set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -gline-tables-only -DNDEBUG" CACHE STRING "")
14set(CMAKE_ASM_FLAGS_RELWITHDEBINFO "-O3 -gline-tables-only -DNDEBUG" CACHE STRING "")
15set(CMAKE_BUILD_TYPE RELEASE CACHE STRING "")
16