-
Notifications
You must be signed in to change notification settings - Fork 0
/
premake5.lua
56 lines (47 loc) · 1.17 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
workspace "BDIXTester"
architecture "x64"
configurations { "Debug", "Release" }
targetdir "test"
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
project "BDIXTester"
kind "WindowedApp"
language "C++"
cppdialect "C++20"
targetdir "bin/%{cfg.buildcfg}"
files {
"src/**.h",
"src/**.c",
"src/**.cpp",
"include/**.h",
"include/**.c",
"include/**.cpp",
"resource/**",
"resource/*.rc"
}
includedirs {
"src",
"include",
"resource/",
}
libdirs {
"lib"
}
links {
"Shell32",
"libcurl",
"d3d9",
"d3d11"
}
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
objdir ("bin/objs/" .. outputdir .. "/%{prj.name}")
defines {
"_CRT_SECURE_NO_WARNINGS"
}
filter "configurations:Debug"
defines { "APP_DEBUG" }
runtime "Debug"
symbols "On"
filter "configurations:Release"
defines { "APP_RELEASE" }
runtime "Release"
optimize "On"