forked from zaphire/Monocle-Engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpremake4.lua
More file actions
29 lines (23 loc) · 674 Bytes
/
premake4.lua
File metadata and controls
29 lines (23 loc) · 674 Bytes
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
--premake4.lua
--
-- Premake4 solution script
-- Created: Airbash, May/03/2011
-- Example usage: "premake4 --testapp=Pong vs2010"
--
-- Required globals for helper script
_MONOCLE_APP_BASE = os.getcwd() --root directory of your project
_MONOCLE_BASE = os.getcwd() --root directory for monocle
dofile( (_MONOCLE_BASE.."/premake4-helper.lua") )
print( _MONOCLE_EXTLIB_BASE );
--
-- Monocle Solution
--
solution (_MONOCLE_SOLUTION_NAME)
basedir( _BUILD_BASE )
configurations { "Debug", "Release" }
--Test Application
if _OPTIONS["testapp"] ~= NIL then
monocle_project_testapp( _OPTIONS["testapp"] )
end
-- Monocle Core Library
monocle_project_corelib();