-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpremake5.lua
40 lines (30 loc) · 990 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
-- Conan package manager
include("conanbuildinfo.premake.lua")
workspace "Mill Engine"
conan_basic_setup()
configurations { "Debug", "Release", "Distro" }
platforms { "Win64", "Linux" }
filter "configurations:Debug"
defines { "DEBUG", "MILL_DEBUG" }
symbols "On"
filter "configurations:Release"
defines { "NDEBUG", "MILL_RELEASE" }
filter "configurations:Distro"
defines { "NDEBUG", "MILL_DISTRO" }
optimize "On"
filter "platforms:Win64"
system "windows"
architecture "x64"
defines { "MILL_WINDOWS" }
filter "platforms:Linux"
system "linux"
architecture "x64"
defines { "MILL_LINUX" }
filter ""
outputdir = "%{cfg.architecture}-%{cfg.system}-%{cfg.buildcfg}"
group "Engine"
include "engine"
group "Apps"
include "apps/sandbox"
include "apps/asset_browser"
group ""