-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.premake4
More file actions
48 lines (38 loc) · 1.09 KB
/
build.premake4
File metadata and controls
48 lines (38 loc) · 1.09 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
-- utility functions
dofile( "utility.premake4" )
solution( "Spiral" )
if _ACTION == "clean" then
CUtil.rmDirs -- remove directorys
{
"Obj",
"Build"
}
end
location( "Build/" .. _ACTION )
configurations
{
"Debug" .. _ACTION,
"Release" .. _ACTION,
"Final" .. _ACTION
}
-- Main
dofile( "GameEngine/SpiralEngine.premake4" )
dofile( "GameEngine/OAL_AudioDriver.premake4" )
if os.get() == "windows" then
dofile( "GameEngine/Win32_Ogl_Driver.premake4" )
--dofile( "GameEngine/Direct3D9_Driver.premake4" )
end
-- Test
dofile( "Unit_Testing/UnitTest.premake4" )
dofile( "EngineTest/EngineTest.premake4" )
-- ThirdParty libs
dofile( "ThirdParty/Common.premake4" )
dofile( "ThirdParty/FreeType.premake4" )
dofile( "ThirdParty/GLee.premake4" )
dofile( "ThirdParty/Lua.premake4" )
dofile( "ThirdParty/LuaBind.premake4" )
dofile( "ThirdParty/OggVorbis.premake4" )
-- tempory until tested on other os's
if os.get() == "windows" then
dofile( "Console/SpConsole.premake4" )
end