mirror of
https://github.com/reactos/CMake.git
synced 2024-12-01 07:20:22 +00:00
930bb0cd37
CMAKE_SYSTEM_AND_C_COMPILER_INFO_FILE, CMAKE_SYSTEM_AND_CXX_COMPILER_INFO_FILE, CMAKE_SYSTEM_AND_C_COMPILER_AND_PROCESSOR_INFO_FILE and CMAKE_SYSTEM_AND_CXX_COMPILER_AND_PROCESSOR_INFO_FILE Instead of presetting these variables to arbitrary filenames, users should set up CMAKE_SYSTEM_NAME and the compilers correctly and also create a Platform/ directory so these files will all follow the official cmake style, which should make it easier to understand and debug project which have their own platform/toolchain support files. -remove support for a suffix to MS crosscompilers, since this is not (yet) supported by cmake and might confuse users Alex
9 lines
233 B
CMake
9 lines
233 B
CMake
set(CMAKE_SYSTEM_NAME Dumdidum)
|
|
set(CMAKE_SYSTEM_VERSION "1.0")
|
|
|
|
set(CMAKE_C_COMPILER /opt/foo/bin/arm-elf-gcc)
|
|
set(CMAKE_C_OUTPUT_EXTENSION ".foo")
|
|
|
|
set(CMAKE_CXX_COMPILER /opt/bar/bin/cl.exe)
|
|
set(CMAKE_CXX_OUTPUT_EXTENSION ".bar")
|