-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpremake5.lua
49 lines (35 loc) · 904 Bytes
/
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
workspace "nekolua"
configurations {"Debug", "Release"}
buildoptions {"/utf-8", "/Zc:__cplusplus", "/permissive", "/bigobj", "/Zc:preprocessor", "/Zc:wchar_t", "/Zc:forScope",
"/MP"}
disablewarnings {"4005", "4244", "4305", "4127", "4481", "4100", "4512", "4018", "4099"}
cppdialect "C++20"
cdialect "C17"
local arch = "x86_64"
characterset("Unicode")
location "vsbuild"
flags {"MultiProcessorCompile"}
staticruntime "off"
filter "configurations:Debug"
do
defines {"_DEBUG", "DEBUG", "_CONSOLE"}
symbols "On"
architecture(arch)
end
filter "configurations:Release"
do
defines {"_NDEBUG", "NDEBUG"}
optimize "On"
architecture(arch)
end
project "nekolua"
do
kind "ConsoleApp"
language "C++"
targetdir "./bin"
debugdir "./bin"
defines("NEKO_CFFI")
includedirs {"."}
files {"*.hpp", "*.h", "*.cpp"}
files {"premake5.lua"}
end