summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCXXCompiler.cmake.in
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-06-08 20:01:57 (GMT)
committerPeter Kuemmel <syntheticpp@gmx.net>2012-06-08 20:59:18 (GMT)
commit941afa571c9f45c52bb935bad1c3b83fe415372e (patch)
tree85aeed7ac4e10f7404414d17316cf05670ed9516 /Modules/CMakeCXXCompiler.cmake.in
parent033a687acd828ad6667d154939ffdbc482ab047f (diff)
downloadCMake-941afa571c9f45c52bb935bad1c3b83fe415372e.zip
CMake-941afa571c9f45c52bb935bad1c3b83fe415372e.tar.gz
CMake-941afa571c9f45c52bb935bad1c3b83fe415372e.tar.bz2
Ninja: allow spaces in source path
And make /showIncude prefix visible for all build rules
Diffstat (limited to 'Modules/CMakeCXXCompiler.cmake.in')
-rw-r--r--Modules/CMakeCXXCompiler.cmake.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/CMakeCXXCompiler.cmake.in b/Modules/CMakeCXXCompiler.cmake.in
index bc3bc2e..49a54d0 100644
--- a/Modules/CMakeCXXCompiler.cmake.in
+++ b/Modules/CMakeCXXCompiler.cmake.in
@@ -49,3 +49,8 @@ SET(CMAKE_CXX_HAS_ISYSROOT "@CMAKE_CXX_HAS_ISYSROOT@")
SET(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "@CMAKE_CXX_IMPLICIT_LINK_LIBRARIES@")
SET(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "@CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES@")
+
+IF(MSVC_CXX_ARCHITECTURE_ID)
+ SET(CMAKE_CMCLDEPS_EXECUTABLE "@CMAKE_CMCLDEPS_EXECUTABLE@")
+ SET(CMAKE_CL_SHOWINCLUDE_PREFIX "@CMAKE_CL_SHOWINCLUDE_PREFIX@")
+ENDIF()