mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:23:07 +00:00
[CLANG-CL] Initial commit that allows us to compile ReactOS with clang-cl.
This commit is contained in:
parent
861360c65f
commit
09c06a2f45
18 changed files with 91 additions and 50 deletions
|
@ -193,8 +193,13 @@ else()
|
|||
endif()
|
||||
|
||||
if (CMAKE_COMPILER_SUPPORTS_PDBTYPE)
|
||||
set (CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT "/debug /pdbtype:sept")
|
||||
set (CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT "/debug /pdbtype:sept ${MSVC_INCREMENTAL_YES_FLAG}")
|
||||
if(NOT USE_CLANG_CL)
|
||||
set (CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT "/debug /pdbtype:sept")
|
||||
set (CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT "/debug /pdbtype:sept ${MSVC_INCREMENTAL_YES_FLAG}")
|
||||
else()
|
||||
set(CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT "/debug")
|
||||
set(CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT "/debug")
|
||||
endif()
|
||||
else ()
|
||||
set (CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT "/debug")
|
||||
set (CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT "/debug ${MSVC_INCREMENTAL_YES_FLAG}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue