mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-17 19:13:55 +00:00
15 lines
350 B
CMake
15 lines
350 B
CMake
include_guard()
|
|
|
|
find_program(SCCACHE sccache)
|
|
|
|
if (SCCACHE)
|
|
file(TO_CMAKE_PATH "${SCCACHE}" SCCACHE)
|
|
set(CMAKE_C_COMPILER_LAUNCHER ${SCCACHE})
|
|
set(CMAKE_CXX_COMPILER_LAUNCHER ${SCCACHE})
|
|
set(CMAKE_MSVC_DEBUG_INFORMATION_FORMAT Embedded)
|
|
|
|
if(POLICY CMP0141)
|
|
cmake_policy(SET CMP0141 NEW)
|
|
endif()
|
|
endif()
|