OSDN Git Service

.
[csp-qt/common_source_project-fm7.git] / source / build-cmake / buildvars_mingw_cross_win32.dat.tmpl
1 ### Build definitions for Win32 cross build.
2 ### BY GNU/Linux (and maybe other *nix like OSs) host to MinGW32 target.
3 ### Please copy this to buildvars_mingw_cross_win32.dat and edit.
4 #
5 #CMAKE=/usr/bin/cmake
6 BUILD_TOOLCHAIN="GCC"
7 #BUILD_TOOLCHAIN="LLVM"
8 #BUILD_TOOLCHAIN="CUSTOM"
9 ##
10 #CUSTOM_BASE_PATH="/source code path/source/build-cmake/"
11 ## If you choose "CUSTOM" as BUILD_TOOLCHAIN, edit and uncomment below.
12 #CUSTOM_TOOLCHAIN_PATH=""
13
14 BUILD_TYPE="Release"
15
16 # "No" or "Yes".
17 CSP_DEBUG="NO"
18
19 # "IA32" "AMD64" "ARM32" "ARM64"
20 MAJOR_ARCH="IA32"
21
22 # "SSE1" "SSE2" "SSE3" "AVX" or "NO"
23 LOCAL_ARCH_TYPE="SSE2"
24
25 # "No" or "Yes".
26 USE_LTO="Yes"
27 # "No" or "Yes"
28 USE_WHOLE_PROGRAM_OPTIMIZE="Yes"
29 # Threads when using LTO.
30 LTO_THREADS=12
31
32 # No" or "Yes"
33 STRIP_SYMBOLS="Yes"
34 # "No" or "Yes"
35 USE_RADICAL_OPTIMIZE="No"
36 # "No" or "Yes"
37 COMPRESS_SYMBOLS="No"
38
39 # "No" or "Yes"
40 USE_COMMON_DEVICE_LIB="Yes"
41
42 # "No" or "Yes"
43 USE_OPENMP="No"
44
45 # "No" or "Yes"
46 USE_SANITIZER="No"
47
48 # "Default" or "String" or "All" or "No" or "Yes"
49 USE_STACK_PROTECTION="Default"
50
51 ADDITIONAL_MAKEFLAGS_LINK_EXE=""
52 ADDITIONAL_MAKEFLAGS_LINK_DLL=""
53 ADDITIONAL_MAKEFLAGS_LINK_LIB=""
54
55 FFMPEG_DIR="/usr/local/i586-mingw-msvc/ffmpeg-3.4"
56 MAKEFLAGS_GENERAL="-j3"
57 MAKEFLAGS_BASE=""
58 # Below sets make with affinity mask.Using excepts CPU CORE #1 and #7.
59 #AFFINITY_MAKE="taskset 0xfbe make" 
60
61 # If using custom toolchain, modify and uncomment below.
62 #TOOLCHAIN_PREFIX="/path/to/custom/root/"