forked from eryar/OcctImgui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpremake5.lua
More file actions
60 lines (50 loc) · 1.4 KB
/
premake5.lua
File metadata and controls
60 lines (50 loc) · 1.4 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
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
{
"C:/OOCT7.8/OCCT-7_8_0-build/inc",
"C:/glfw-3.4/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
{
"C:/OOCT7.8/OCCT-7_8_0-build/win64/vc14/libd",
"C:/glfw-3.4/lib-vc2022"
}
debugenvs
{
"path=%path%;C:/OOCT7.8/OCCT-7_8_0-build/win64/vc14/bind;$(ProjectDir)3rdParty"
}
filter "configurations:Release"
defines { "NDEBUG" }
symbols "Off"
optimize "On"
libdirs
{
"C:/OOCT7.8/OCCT-7_8_0-build/win64/vc14/lib",
"C:/glfw-3.4/lib-vc2022"
}
debugenvs
{
"path=%path%;C:/OOCT7.8/OCCT-7_8_0-build/win64/vc14/bin;3rdParty"
}
-- 包含 Scene 文件夹中的 premake5.lua 文件
include "Scene/premake5.lua"