-
Notifications
You must be signed in to change notification settings - Fork 3
/
mkn.yaml
57 lines (45 loc) · 1022 Bytes
/
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
#! clean build -dtKOp test
# mkn.kul - Kommon Usage Library
# Cross platform wrapper for systems operations / IO / threads / processes
# Default profile "lib" is header only, use "*-compiled" for library options
#
name: mkn.kul
parent: lib
profile:
- name: base
inc: ./inc
- name: lib
parent: base
if_link:
nix: -pthread
- name: lib-compiled
parent: base
src: |
./src/all
./src/os/${OS}
if_src:
bsd: ./src/os/nixish
nix: ./src/os/nixish
arg: -D_MKN_KUL_COMPILED_LIB_
- name: _test
parent: lib
inc: .
mode: none
dep: google.test
if_arg:
win_shared: -DGTEST_LINKED_AS_SHARED_LIBRARY=1
- name: test
parent: _test
main: test/test.cpp
src: test/test
mode: none
- name: bench
parent: lib
main: test/bench.cpp
dep: google.benchmark
- name: usage
parent: lib
main: test/usage.cpp
- name: format
mod: |
clang.format{init{style: file, types: hpp cpp ipp, paths: .}}