-
Notifications
You must be signed in to change notification settings - Fork 6
/
mkn.yaml
87 lines (72 loc) · 1.48 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#! clean build test -dtKOWg 0 -qw mkn.ram[https]
name: mkn
version: master
property:
DATE: 19-DEC-2024
maiken_location: ${MKN_HOME}/app/mkn/${version}
maiken_scm: https://github.com/mkn/mkn
self.deps: mkn.kul
parent: bin
mode: none
profile:
- name: headers
inc: inc
dep: ${self.deps}
- name: compiled
parent: headers
if_arg:
shared: -DKUL_SHARED -DKUL_EXPORT
win_shared: -DYAML_CPP_DLL
- name: bin
parent: lib
main: mkn.cpp
src: src/maiken/create.cpp, -D_MKN_VERSION_=${version}_${DATE}
mode: static
test: test/cpp.cpp
if_link:
nix: -rdynamic
- name: lib
parent: compiled
dep: parse.yaml
src: src
if_link:
nix: -ldl -pthread
nix_shared: -rdynamic
win_cl: -nodefaultlib:libucrt.lib ucrt.lib
- name: static
parent: bin
mode: static
- name: test_mod
parent: mod
src: test/mod/mod.cpp
mode: shared
if_arg:
win_shared: -DYAML_CPP_DLL
shared: -DKUL_SHARED
- name: test
src: test/mod/lib.cpp
mod: mkn[test_mod]
- name: mod
parent: headers
mode: shared
if_dep:
bsd: parse.yaml[shared] mkn[lib]
nix: parse.yaml[headers]
win: parse.yaml[shared] mkn[lib]
- name: server
parent: lib
with: io.cereal mkn.ram[https]
main: server.cpp
mode: none
- name: format_a
mod:
- name: clang.format
version: ${version}
init:
style: file
paths: .
- name: format
mod: |
clang.format{init:{style: google, paths: .}}
- name: lib_test
dep: mkn&${maiken_location}(${maiken_scm})[mod]