-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpremake5.lua
57 lines (46 loc) · 1.06 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
workspace "Aetherim"
architecture "x32"
configurations { "Debug", "Release" }
CPP_Version = "c++17"
MSVC_Version = "v143"
function Declare_MSVC_Options()
filter "system:windows"
floatingpoint "Fast"
toolset(MSVC_Version)
cppdialect(CPP_Version)
disablewarnings { "4996" }
end
project "Aetherim"
location "src"
kind "SharedLib"
language "C++"
targetprefix ""
targetname "aetherim"
targetextension ".dll"
Declare_MSVC_Options()
files {
"src/*.h",
"src/**/*.h",
"src/*.cpp",
"src/**/*.cpp",
"src/*.hpp",
"src/**/*.hpp",
"structs.h",
"main.cpp",
}
flags {
"LinkTimeOptimization",
"MultiProcessorCompile"
}
filter "configurations:Debug"
targetdir "bin/debug"
objdir "bin/debug/obj"
flags { }
defines { "DEBUG" }
editandcontinue "Off"
filter "configurations:Release"
targetdir "bin/release"
objdir "bin/release/obj"
flags { "NoManifest" }
defines { "RELEASE" }
optimize "speed"