-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpremake5.lua
More file actions
67 lines (61 loc) · 1.54 KB
/
Copy pathpremake5.lua
File metadata and controls
67 lines (61 loc) · 1.54 KB
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
workspace "ClosestPointQuery"
startproject "Example"
systemversion "latest"
language "C++"
cppdialect "C++11"
toolset "msc" -- clang/gcc/msc
configurations { "Debug", "Release" }
platforms { "Win64" }
buildoptions "/MT"
objdir ("bin/obj")
targetdir ("bin/%{cfg.platform}/%{cfg.buildcfg}")
debugdir ("%{cfg.targetdir}")
filter { "configurations:Debug" }
defines { "DEBUG" }
symbols "On"
filter { "configurations:Release" }
defines { "NDEBUG" }
optimize "On"
filter { "platforms:Win64" }
architecture "x86_64"
project "ClosestPointQuery"
kind "StaticLib"
files {
"ClosestPointQuery/include/**.h",
"ClosestPointQuery/src/**.cpp",
}
includedirs {
"ClosestPointQuery/include",
"ClosestPointQuery/lib/glm",
}
project "Example"
kind "ConsoleApp"
files {
"ClosestPointQuery/include/**.h",
"ClosestPointQuery/src/**.cpp",
"ClosestPointQuery/example/**.cpp"
}
includedirs {
"ClosestPointQuery/include",
"ClosestPointQuery/lib/glm",
"ClosestPointQuery/lib/tinyobjloader",
}
project "UnitTest"
kind "ConsoleApp"
links {
"gtest",
"ClosestPointQuery"
}
libdirs {
"%{cfg.targetdir}",
"ClosestPointQuery/lib/googletest/lib"
}
files {
"ClosestPointQuery/test/**.cpp"
}
includedirs {
"ClosestPointQuery/include",
"ClosestPointQuery/lib/glm",
"ClosestPointQuery/lib/tinyobjloader",
"ClosestPointQuery/lib/googletest/include"
}