forked from Internet-of-People/iop-location-based-network
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkn.yaml
47 lines (37 loc) · 1.27 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
#! clean build -tSd
######
# Change shebang to the following line if you need debug binaries on windows with MSVC
#! clean build -tSa "-EHsc -Od -Z7 -FS -Yi -Fdiop-locnetd.pdb -DDEBUG -DNOMINMAX -DELPP_THREAD_SAFE" -l "-DEBUG"
######
# Possibly require the MinGW version of libstdc++ https://github.com/lydonchandra/TestSpatialite/tree/master/windows%20server%202012%20issue
name: iop-locnetd
property:
win32.winnt: 0x0601 # 0x0601 = win7 https://msdn.microsoft.com/en-us/library/windows/desktop/aa383745(v=vs.85).aspx
win.args: -EHsc -O2 -Zc:inline -DNOMINMAX -DELPP_THREAD_SAFE -D_WIN32_WINNT=${win32.winnt}
parent: ${OS}
main: ./src/main.cpp
profile:
- name: win
parent: base
lib: shell32 mod_spatialite libsqlite3-0
dep:
- local: win
arg: -DPROTOBUF_USE_DLLS ${win.args}
- name: nix
parent: base
lib: protobuf spatialite sqlite3
arg: -O2 -fPIC -std=c++11
- name: bsd
parent: nix
- name: base
inc: ./src ./generated ./extlib
src: ./src ./generated ./extlib/easylogging++.cc
- name: tests
parent: ${OS}
src: ./src generated
./test/test_locnet.cpp
./test/test_messaging.cpp
./test/test_network.cpp
./test/testdata.cpp
./test/testimpls.cpp
main: test/test_main.cpp