mirror of
https://github.com/reactos/CMake.git
synced 2024-12-12 13:56:00 +00:00
0b1a2876c8
Compilers such as MSVC and IAR may have variants that target different architectures. We have been using a `MSVC_<LANG>_ARCHITECTURE_ID` variable to hold this information for MSVC. Add an alternative with a more general name (later we can port MSVC to it too). This additional information may be needed to generate proper invocations of the compiler based on its architecture variant.
18 lines
839 B
CMake
18 lines
839 B
CMake
set(CMAKE_ASM@ASM_DIALECT@_COMPILER "@_CMAKE_ASM_COMPILER@")
|
|
set(CMAKE_ASM@ASM_DIALECT@_COMPILER_ARG1 "@_CMAKE_ASM_COMPILER_ARG1@")
|
|
set(CMAKE_AR "@CMAKE_AR@")
|
|
set(CMAKE_ASM@ASM_DIALECT@_COMPILER_AR "@_CMAKE_ASM_COMPILER_AR@")
|
|
set(CMAKE_RANLIB "@CMAKE_RANLIB@")
|
|
set(CMAKE_ASM@ASM_DIALECT@_COMPILER_RANLIB "@_CMAKE_ASM_COMPILER_RANLIB@")
|
|
set(CMAKE_LINKER "@CMAKE_LINKER@")
|
|
set(CMAKE_ASM@ASM_DIALECT@_COMPILER_LOADED 1)
|
|
set(CMAKE_ASM@ASM_DIALECT@_COMPILER_ID "@_CMAKE_ASM_COMPILER_ID@")
|
|
set(CMAKE_ASM@ASM_DIALECT@_COMPILER_VERSION "@_CMAKE_ASM_COMPILER_VERSION@")
|
|
set(CMAKE_ASM@ASM_DIALECT@_COMPILER_ENV_VAR "@_CMAKE_ASM_COMPILER_ENV_VAR@")
|
|
@_SET_CMAKE_ASM_COMPILER_ARCHITECTURE_ID@
|
|
|
|
set(CMAKE_ASM@ASM_DIALECT@_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
|
set(CMAKE_ASM@ASM_DIALECT@_LINKER_PREFERENCE 0)
|
|
|
|
@CMAKE_ASM_COMPILER_CUSTOM_CODE@
|