crosstool-ng/config/libc/mingw.in
Alexey Neyman 16e703a4e5 Merge pull request #676 from tamird/mingw-secure-api
MinGW: add --enable-secure-api config option
2017-04-07 10:13:06 -07:00

154 lines
3.1 KiB
Plaintext

# mingw options
## depends on WINDOWS
##
## select LIBC_SUPPORT_THREADS_NATIVE
## select LIBC_SUPPORT_THREADS_POSIX
## select CC_CORE_PASS_2_NEEDED
##
## help The de-facto standard for Mingw distributions.
config THREADS
default "win32" if THREADS_NATIVE
default "posix" if THREADS_POSIX
choice
bool
prompt "Windows API version"
# Don't remove next line
# CT_INSERT_VERSION_BELOW
config WINAPI_V_5_0_1
bool
prompt "5.0.1"
config WINAPI_V_5_0_0
bool
prompt "5.0.0 (OBSOLETE)"
depends on OBSOLETE
config WINAPI_V_4_0_6
bool
prompt "4.0.6"
config WINAPI_V_4_0_5
bool
prompt "4.0.5 (OBSOLETE)"
depends on OBSOLETE
config WINAPI_V_4_0_4
bool
prompt "4.0.4 (OBSOLETE)"
depends on OBSOLETE
config WINAPI_V_4_0_2
bool
prompt "4.0.2 (OBSOLETE)"
depends on OBSOLETE
config WINAPI_V_4_0_1
bool
prompt "4.0.1 (OBSOLETE)"
depends on OBSOLETE
config WINAPI_V_4_0_0
bool
prompt "4.0.0 (OBSOLETE)"
depends on OBSOLETE
config WINAPI_V_3_3_0
bool
prompt "3.3.0 (OBSOLETE)"
depends on OBSOLETE
config WINAPI_V_3_2_0
bool
prompt "3.2.0 (OBSOLETE)"
depends on OBSOLETE
config WINAPI_V_3_1_0
bool
prompt "3.1.0 (OBSOLETE)"
depends on OBSOLETE
config WINAPI_V_3_0_0
bool
prompt "3.0.0 (OBSOLETE)"
depends on OBSOLETE
config WINAPI_V_2_0_9
bool
prompt "2.0.9 (OBSOLETE)"
depends on OBSOLETE
config WINAPI_V_2_0_8
bool
prompt "2.0.8 (OBSOLETE)"
depends on OBSOLETE
config WINAPI_V_2_0_7
bool
prompt "2.0.7 (OBSOLETE)"
depends on OBSOLETE
config WINAPI_V_select
bool
prompt "Other version"
config WINAPI_V_DEVEL
bool
prompt "devel"
depends on EXPERIMENTAL
depends on CONFIGURE_has_git
endchoice
config WINAPI_VERSION
string
prompt "Windows API version" if WINAPI_V_select
default "devel" if WINAPI_V_DEVEL
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
default "5.0.1" if WINAPI_V_5_0_1
default "5.0.0" if WINAPI_V_5_0_0
default "4.0.6" if WINAPI_V_4_0_6
default "4.0.5" if WINAPI_V_4_0_5
default "4.0.4" if WINAPI_V_4_0_4
default "4.0.2" if WINAPI_V_4_0_2
default "4.0.1" if WINAPI_V_4_0_1
default "4.0.0" if WINAPI_V_4_0_0
default "3.3.0" if WINAPI_V_3_3_0
default "3.2.0" if WINAPI_V_3_2_0
default "3.1.0" if WINAPI_V_3_1_0
default "3.0.0" if WINAPI_V_3_0_0
default "2.0.9" if WINAPI_V_2_0_9
default "2.0.8" if WINAPI_V_2_0_8
default "2.0.7" if WINAPI_V_2_0_7
help
Enter the version number of the Windows API files to use
config MINGW_SECURE_API
bool "Expose secure API prototypes"
default y
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.