mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:05:48 +00:00
[CONFIGURE][CMAKE] Remove Visual Studio 9 (2008) support
ReactOS does not compile anymore with it. VS9 is already officially unsupported. CORE-11836
This commit is contained in:
parent
9822462946
commit
695547cd8c
2 changed files with 4 additions and 18 deletions
|
@ -149,15 +149,8 @@ if(MSVC_IDE AND (CMAKE_VERSION MATCHES "ReactOS"))
|
|||
# For VS builds we'll only have en-US in resource files
|
||||
add_definitions(/DLANGUAGE_EN_US)
|
||||
else()
|
||||
# Only VS 10+ resource compiler supports /nologo
|
||||
# CMAKE_CXX_SIMULATE_VERSION is a similar check for our clang-cl builds
|
||||
if((MSVC_VERSION GREATER 1599) OR (CMAKE_CXX_SIMULATE_VERSION VERSION_GREATER 15.99))
|
||||
set(rc_nologo_flag "/nologo")
|
||||
else()
|
||||
set(rc_nologo_flag)
|
||||
endif()
|
||||
if(CMAKE_VERSION VERSION_LESS 3.4.0)
|
||||
set(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> ${rc_nologo_flag} <FLAGS> <DEFINES> ${I18N_DEFS} /fo<OBJECT> <SOURCE>")
|
||||
set(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> /nologo <FLAGS> <DEFINES> ${I18N_DEFS} /fo<OBJECT> <SOURCE>")
|
||||
if(ARCH STREQUAL "arm")
|
||||
set(CMAKE_ASM_COMPILE_OBJECT
|
||||
"cl ${cl_includes_flag} /nologo /X /I${REACTOS_SOURCE_DIR}/sdk/include/asm /I${REACTOS_BINARY_DIR}/sdk/include/asm <FLAGS> <DEFINES> /D__ASM__ /D_USE_ML /EP /c <SOURCE> > <OBJECT>.tmp"
|
||||
|
@ -168,7 +161,7 @@ else()
|
|||
"<CMAKE_ASM_COMPILER> /nologo /Cp /Fo<OBJECT> /c /Ta <OBJECT>.tmp")
|
||||
endif()
|
||||
else()
|
||||
set(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> ${rc_nologo_flag} <INCLUDES> <FLAGS> <DEFINES> ${I18N_DEFS} /fo<OBJECT> <SOURCE>")
|
||||
set(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> /nologo <INCLUDES> <FLAGS> <DEFINES> ${I18N_DEFS} /fo<OBJECT> <SOURCE>")
|
||||
if(ARCH STREQUAL "arm")
|
||||
set(CMAKE_ASM_COMPILE_OBJECT
|
||||
"cl ${cl_includes_flag} /nologo /X /I${REACTOS_SOURCE_DIR}/sdk/include/asm /I${REACTOS_BINARY_DIR}/sdk/include/asm <INCLUDES> <FLAGS> <DEFINES> /D__ASM__ /D_USE_ML /EP /c <SOURCE> > <OBJECT>.tmp"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue