aboutsummaryrefslogtreecommitdiff
path: root/config/libc/mingw-w64.in
blob: 58bb4e8c4bd03e2f32133ffb8cd965dece1a7312 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# mingw options

## depends on WINDOWS
##
## select LIBC_SUPPORT_THREADS_NATIVE
## select LIBC_SUPPORT_THREADS_POSIX
## select CC_CORE_NEEDED
## select BINUTILS_FORCE_LD_BFD_DEFAULT
##
## help The de-facto standard for Mingw distributions.

config THREADS
    default "win32"  if THREADS_NATIVE
    default "posix"  if THREADS_POSIX

config MINGW_SECURE_API
    bool "Expose secure API prototypes"
    default y

choice
    bool
    prompt "Default C Runtime to use"
    default MINGW_DEFAULT_MSVCRT_DEFAULT
    help
      See mingw-w64 help for full list of possible values.
      Most commonly one would want to upgrade this to ucrt
      for a more modern C runtime.
      Targeting specific older/newer MSVC versions is possible
      as well though.

config MINGW_DEFAULT_MSVCRT_DEFAULT
    bool
    prompt "Default"
    help
      Don't set a default msvcrt, leave decision to mingw.

config MINGW_DEFAULT_MSVCRT_MSVCRT
    bool
    prompt "msvcrt"

config MINGW_DEFAULT_MSVCRT_UCRT
    bool
    prompt "ucrt"

config MINGW_DEFAULT_MSVCRT_CUSTOM
    bool
    prompt "Custom"

endchoice

config MINGW_DEFAULT_MSVCRT
    string "Custom default C Runtime to use"
    depends on MINGW_DEFAULT_MSVCRT_CUSTOM
    default ""

config MINGW_DIRECTX
    bool "Include DirectX development files"

config MINGW_DDK
    bool "Include DDK development files"

config MINGW_TOOLS
    bool "Include the companion tools"
    default y
    help
      Build the companion tools with mingw such as widl, gendef,
      and genpeimg.

config MINGW_TOOL_LIST_ARRAY
    string "List of mingw-w64 tools to build"
    default "gendef genidl genlib genpeimg widl"
    depends on MINGW_TOOLS
    help
      List of mingw-w64 tools to build.