-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkn.yaml
72 lines (60 loc) · 1.18 KB
/
mkn.yaml
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
#! clean build -dtSa "-O2 -fPIC" -p test -l -pthread
name: mkn.ram
parent: lib
profile:
- name: base
inc: ./inc
src: ./src
if_src:
bsd: ./os/nixish/src
nix: ./os/nixish/src
win: ./os/win/src
- name: lib
parent: base
dep: mkn.kul
if_arg:
win_shared: -DKUL_SHARED -DKUL_EXPORT
- name: https
parent: lib
arg: -D_MKN_RAM_INCLUDE_HTTPS_
if_mod:
win:
- name: conan.install
init:
install: -s compiler="msvc"
if_lib:
nix: ssl crypto
bsd: ssl crypto
win: User32 Crypt32 libssl libcrypto zlib
if_link:
win_cl: -nodefaultlib:libucrt.lib ucrt.lib
- name: fcgi
parent: lib
arg: -D_KUL_INCLUDE_FCGI_
- name: usage
parent: https
main: test/usage.cpp
# arg: -D_MKN_RAM_INCLUDE_HTTPS_
# if_link:
# win_cl: -nodefaultlib:libucrt.lib ucrt.lib
- name: test_fcgi
main: test/fcgi.cpp
self: fcgi
- name: test
parent: https
mode: none
main: test/test.cpp
- name: test.client
parent: lib
main: test/client.cpp
- name: test.server
parent: lib
main: test/server.cpp
- name: format
mod:
- name: clang.format
init:
style: file
types: cpp:cxx:cc:h:hpp
paths: .
args: -D_MKN_RAM_INCLUDE_HTTPS_