-
Notifications
You must be signed in to change notification settings - Fork 37
/
Marefile
35 lines (29 loc) · 677 Bytes
/
Marefile
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
if(tool == "vcxproj") {
platforms = { "Win32", "x64" }
}
buildDir = "Build/$(configuration)/.$(target)"
targets = {
LockFreeQueue = cppApplication + {
dependencies = { "libnstd" }
includePaths = { "Ext/libnstd/include" }
libPaths = { "Build/$(configuration)/.libnstd" }
libs = { "nstd" }
root = "Src"
files = {
"*.cpp" = cppSource
"*.h"
}
if tool == "vcxproj" {
linkFlags += { "/SUBSYSTEM:CONSOLE" }
}
if platform == "Linux" {
libs += { "pthread", "rt" }
cppFlags += { "-std=c++11" }
}
defines -= "NDEBUG"
}
include "Ext/libnstd/libnstd.mare"
libnstd += {
folder = "Ext"
}
}