-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpremake5.lua
53 lines (40 loc) · 989 Bytes
/
premake5.lua
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
workspace "parallel"
configurations { "debug", "release" }
platforms { "x86", "x64" }
location "build"
includedirs "include"
flags "staticruntime"
filter "configurations:debug"
flags "symbols"
filter "configurations:release"
defines "NDEBUG"
optimize "full"
filter "platforms:x86"
architecture "x32"
targetsuffix "-x86"
filter "platforms:x64"
architecture "x64"
targetsuffix "-x64"
project "parallel-gl"
kind "staticlib"
language "c++"
files { "sources/gl/**.cc"
, "include/parallel/gl/**.hh"
, "include/GL/**.h"
}
project "parallel-amp"
kind "staticlib"
language "c++"
files { "sources/amp/**.cc"
, "include/parallel/amp/**.hh"
}
project "parallel-tests-gl"
kind "consoleapp"
language "c++"
links { "parallel-gl" }
files { "tests/test-gl.cc" }
project "parallel-tests-amp"
kind "consoleapp"
language "c++"
links { "parallel-amp" }
files { "tests/test-amp.cc" }