-
Notifications
You must be signed in to change notification settings - Fork 65
/
windows.yml
55 lines (50 loc) · 1.65 KB
/
windows.yml
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
--- # Shared config for Windows
:release_build:
:output: libhelium.lib
:defines:
:test:
- WOLFSSL_USER_SETTINGS
- WOLFSSL_MIN_RSA_BITS=2048
- WOLFSSL_MIN_ECC_BITS=256
- HAVE_SECURE_RENEGOTIATION
- WOLFSSL_DTLS_CH_FRAG
- WOLFSSL_TLS13_MIDDLEBOX_COMPAT
:test_preprocess:
- WOLFSSL_USER_SETTINGS
- WOLFSSL_MIN_RSA_BITS=2048
- WOLFSSL_MIN_ECC_BITS=256
- HAVE_SECURE_RENEGOTIATION
- WOLFSSL_DTLS_CH_FRAG
- WOLFSSL_TLS_MIDDLEBOX_COMPAT
#- USE_WINDOWS_API # avoids use of unistd.h
:release:
- WOLFSSL_USER_SETTINGS
- WOLFSSL_MIN_RSA_BITS=2048
- WOLFSSL_MIN_ECC_BITS=256
- HAVE_SECURE_RENEGOTIATION
- WOLFSSL_DTLS_CH_FRAG
- WOLFSSL_TLS13_MIDDLEBOX_COMPAT
:libraries:
:path_flag: /LIBPATH:${1}
:flag: ${1}.lib
:test:
- ws2_32
- advapi32
:cmock:
:when_ptr: :compare_ptr # build/test/mocks/mock_ssl.c(57818): error C2066: cast to function type is illegal
:environment:
- :path:
# mingw installs a link.exe too, try and avoid it...
- "#{ENV['VCToolsInstallDir']}bin\\\\Host#{ENV['Platform']}\\\\#{ENV['Platform']}"
- "#{ENV['PATH']}"
# Magic to override msvc project settings to use /MT instead of /MD, since -p:RuntimeLibrary=MultiThreaded doesn't work
# http://answers.flyppdevportal.com/MVC/Post/Thread/1a6dd13c-9f5c-430b-88ba-518bfcca00b1?category=vcgeneral
- _CL_: /MT
:tools_test_file_preprocessor:
:arguments:
- /FI wolfssl/user_settings.h
- /FI wolfssl/wolfcrypt/settings.h
:tools_test_includes_preprocessor: # using gcc
:arguments:
- -include third_party/wolfssl/wolfssl/user_settings.h
- -include third_party/wolfssl/wolfssl/wolfcrypt/settings.h