forked from OSchip/llvm-project
13 lines
593 B
CMake
13 lines
593 B
CMake
|
# This file sets up a CMakeCache for Apple-style builds of compiler-rt.
|
||
|
# This configuration matches Apple uses when shipping Xcode releases.
|
||
|
|
||
|
set(COMPILER_RT_INCLUDE_TESTS OFF CACHE BOOL "")
|
||
|
set(COMPILER_RT_HAS_SAFESTACK OFF CACHE BOOL "")
|
||
|
set(COMPILER_RT_EXTERNALIZE_DEBUGINFO ON CACHE BOOL "")
|
||
|
set(CMAKE_MACOSX_RPATH ON CACHE BOOL "")
|
||
|
|
||
|
set(CMAKE_C_FLAGS_RELEASE "-O3 -gline-tables-only" CACHE STRING "")
|
||
|
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -gline-tables-only" CACHE STRING "")
|
||
|
set(CMAKE_ASM_FLAGS_RELEASE "-O3 -gline-tables-only" CACHE STRING "")
|
||
|
set(CMAKE_BUILD_TYPE RELEASE CACHE STRING "")
|