-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpremake5.lua
58 lines (49 loc) · 1.34 KB
/
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
54
55
56
57
58
workspace "OcctImgui"
configurations {"Debug", "Release"}
system "Windows"
platforms {"Win64"}
architecture "X64"
language "C++"
project "OcctImgui"
kind "ConsoleApp"
language "C++"
targetdir "build/bin/%{cfg.buildcfg}"
objdir "build/obj/%{cfg.buildcfg}"
files { "**.h", "**.cpp"}
-- Header files.
includedirs
{
"D:/OpenCASCADE-7.7.0/opencascade-7.7.0/inc",
"D:/glfw-3.3.8/include"
}
-- Library files.
links
{
"TKernel", "TKMath", "TKG2d", "TKG3d", "TKGeomBase", "TKGeomAlgo", "TKBRep", "TKTopAlgo", "TKPrim", "TKMesh", "TKService", "TKOpenGl", "TKV3d",
"glfw3"
}
filter "configurations:Debug"
defines { "DEBUG" }
symbols "On"
libdirs
{
"D:/OpenCASCADE-7.7.0/opencascade-7.7.0/win64/vc14/libd",
"D:/glfw-3.3.8/libd"
}
debugenvs
{
"path=%path%;D:/OpenCASCADE-7.7.0/opencascade-7.7.0/win64/vc14/bind"
}
filter "configurations:Release"
defines { "NDEBUG" }
symbols "Off"
optimize "On"
libdirs
{
"D:/OpenCASCADE-7.7.0/opencascade-7.7.0/win64/vc14/lib",
"D:/glfw-3.3.8/lib"
}
debugenvs
{
"path=%path%;D:/OpenCASCADE-7.7.0/opencascade-7.7.0/win64/vc14/bin"
}