-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpremake5.lua
More file actions
59 lines (51 loc) · 1.28 KB
/
premake5.lua
File metadata and controls
59 lines (51 loc) · 1.28 KB
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
59
-- Requires
require "vstudio"
dofile "tools/premake/modules/android/_preload.lua"
require "android"
dofile "tools/premake/modules/winrt/_preload.lua"
require "winrt"
require "ios"
require "vslinux"
newoption
{
trigger = "system",
description = "System to target",
allowed =
{
{ "windowsphone8.0", "Windows Phone 8.0 Apps" },
{ "windowsphone8.1", "Windows Phone 8.1 Apps" },
{ "windowsstore8.1", "Windows Store 8.1 Apps" },
{ "android", "Android Apps" },
{ "ios", "iOS Apps" },
{ "linux", "Linux Apps" },
}
}
newoption
{
trigger = "coverage",
description = "Emit code coverage details",
}
workspace "lorcore"
if _ACTION == "gmake" then
configurations { "Release", "Debug" }
else
configurations { "Debug", "Release" }
end
editorintegration "On"
projectsuffix = ""
platforms { "x64" }
filter { "system:windowsstore8.1" }
platforms { "x86", "x64", "ARM" }
filter { "system:windowsphone8.1 or android or ios" }
removeplatforms { "x64" }
platforms { "x86", "ARM" }
filter { }
startproject "lorcoretests"
-- Do some magic
if _OPTIONS.system then
system(_OPTIONS.system)
end
dofile "project.lua"
dofile "external/src/mbedtls/project.lua"
dofile "external/src/googletest/project.lua"
dofile "tests/project.lua"