mirror of
https://github.com/reactos/reactos.git
synced 2024-10-01 06:57:08 +00:00
[CMAKE] Move ccache related handling to the gcc set.
svn path=/trunk/; revision=66389
This commit is contained in:
parent
b5ea02031c
commit
34c7987e0d
|
@ -102,11 +102,6 @@ else()
|
||||||
#useful stuff!
|
#useful stuff!
|
||||||
include(CMakeParseArguments)
|
include(CMakeParseArguments)
|
||||||
|
|
||||||
if(ENABLE_CCACHE)
|
|
||||||
set(CMAKE_C_USE_RESPONSE_FILE_FOR_INCLUDES OFF)
|
|
||||||
set(CMAKE_CXX_USE_RESPONSE_FILE_FOR_INCLUDES OFF)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Default to Debug for the build type
|
# Default to Debug for the build type
|
||||||
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING
|
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING
|
||||||
"Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel." FORCE)
|
"Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel." FORCE)
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
# Show a note about ccache build
|
# Show a note about ccache build
|
||||||
if(ENABLE_CCACHE)
|
if(ENABLE_CCACHE)
|
||||||
message("-- Enabling ccache build - done")
|
message("-- Enabling ccache build - done")
|
||||||
|
set(CMAKE_C_USE_RESPONSE_FILE_FOR_INCLUDES OFF)
|
||||||
|
set(CMAKE_CXX_USE_RESPONSE_FILE_FOR_INCLUDES OFF)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# PDB style debug info
|
# PDB style debug info
|
||||||
|
|
Loading…
Reference in a new issue