-
Notifications
You must be signed in to change notification settings - Fork 0
/
premake5.lua
58 lines (45 loc) · 1.14 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
include("conanbuildinfo.premake.lua")
workspace "SgCity"
conan_basic_setup()
architecture "x64"
startproject "SgCity"
configurations
{
"Debug",
"Release"
}
floatingpoint "Fast"
flags "MultiProcessorCompile"
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
project "SgCity"
location "/Dev/SgCity"
architecture "x64"
kind "ConsoleApp"
language "C++"
cppdialect "C++17"
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
objdir ("obj/" .. outputdir .. "/%{prj.name}")
linkoptions
{
conan_exelinkflags,
"/IGNORE:4099"
}
files
{
"/Dev/SgCity/src/**.h",
"/Dev/SgCity/src/**.cpp"
}
includedirs
{
"/Dev/SgCity/src"
}
filter "system:windows"
systemversion "latest"
filter "configurations:Debug"
defines { "SG_CITY_DEBUG_BUILD", "GLFW_INCLUDE_NONE", "_CRT_SECURE_NO_WARNINGS" }
runtime "Debug"
symbols "On"
filter "configurations:Release"
defines { "GLFW_INCLUDE_NONE", "_CRT_SECURE_NO_WARNINGS" }
runtime "Release"
optimize "On"