blob: 530e93db8976441b05f2b6aadbd0e835d92800fe (
plain)
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
|
solution "PremakeTestbox"
configurations { "Debug", "Release" }
-- solution level configuration
configuration "Debug"
targetdir "bin/debug"
flags { "Symbols" }
defines { "_DEBUG", "DEBUG" }
configuration "Release"
targetdir "bin/release"
flags { "Optimize" }
defines { "NDEBUG" }
-- include all the projects
include "CppConsoleApp"
include "CppWindowedApp"
include "CppSharedLib"
include "CppStaticLib"
if premake.action.supports(premake.action.current(), "C#") then
include "CsSharedLib"
include "CsConsoleApp"
end
-- add a new install action
newaction {
trigger = "install",
description = "Install the project",
execute = function ()
os.copyfile("premake4.lua", "../premake4.lua")
end
}
|