Toolchain_scriptonly_windows.cmake 1.0 KB

1234567891011121314151617181920212223242526272829
  1. #
  2. # Copyright (c) Contributors to the Open 3D Engine Project.
  3. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. #
  5. # SPDX-License-Identifier: Apache-2.0 OR MIT
  6. #
  7. #
  8. #
  9. # Copyright (c) Contributors to the Open 3D Engine Project.
  10. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  11. #
  12. # SPDX-License-Identifier: Apache-2.0 OR MIT
  13. #
  14. #
  15. set(no_op_compiler "${CMAKE_CURRENT_LIST_DIR}/no-op.cmd") # a utility that always returns 0, meaning, "success"
  16. set(CMAKE_SYSTEM_PROCESSOR "x86_64") # there is no AARCH64 version of the 'no compile toolchain' and this is not set automatically
  17. set(CMAKE_C_COMPILER "${no_op_compiler}")
  18. set(CMAKE_CXX_COMPILER "${no_op_compiler}")
  19. set(CMAKE_AR "${no_op_compiler}")
  20. set(CMAKE_RANLIB "${no_op_compiler}")
  21. set(CMAKE_C_COMPILER_ID "MSVC")
  22. set(CMAKE_CXX_COMPILER_ID "MSVC")
  23. set(CMAKE_C_COMPILER_VERSION 19.31)
  24. set(CMAKE_CXX_COMPILER_VERSION 19.31)
  25. include(${CMAKE_CURRENT_LIST_DIR}/../Common/Toolchain_scriptonly_common.cmake)