| 1 |
# Copyright (c) 2023-2024 Cosmin Truta. |
| 2 |
# |
| 3 |
# Use, modification and distribution are subject to the MIT License. |
| 4 |
# Please see the accompanying file LICENSE_MIT.txt |
| 5 |
# |
| 6 |
# SPDX-License-Identifier: MIT |
| 7 |
|
| 8 |
export CI_TARGET_ARCH=x86_64 |
| 9 |
export CI_TARGET_SYSTEM=mingw64 |
| 10 |
|
| 11 |
# The output of `uname -s` on MSYS2 is understandable, and so is |
| 12 |
# CI_TARGET_SYSTEM above, in simplified form. (See also Cygwin.) |
| 13 |
# But aside from that, the Mingw-w64 nomenclature is rather messy. |
| 14 |
export CI_CC="$CI_TARGET_ARCH-w64-mingw32-gcc" |
| 15 |
export CI_AR="$CI_CC-ar" |
| 16 |
export CI_RANLIB="$CI_CC-ranlib" |
| 17 |
|
| 18 |
export CI_CMAKE_VARS=" |
| 19 |
-DCMAKE_SYSTEM_NAME=Windows |
| 20 |
-DCMAKE_SYSTEM_PROCESSOR=$CI_TARGET_ARCH |
| 21 |
" |