2
configurations { "Debug", "Release" }
7
description = "Path to Monocle source"
10
if _OPTIONS["monocle"] then
11
_MONOCLE_BASE = _OPTIONS["monocle"]
12
_MONOCLE_APP_BASE = _OPTIONS["monocle"]
13
dofile(_OPTIONS["monocle"] .. "/premake4-helper.lua")
14
libdirs(_BUILD_BASE) -- where monocle puts libMonocleCore[Debug].a
15
monocle_os_includedirs()
16
monocle_os_links_base()
18
if not _OPTIONS["help"] then
19
--error("ERROR: you must set the --monocle option", 0)
20
print("ERROR: you must set the --monocle option")
27
kind "ConsoleApp" -- Might need to be WindowedApp on win/mac?
29
files { "**.h", "**.cpp" }
34
links { "MonocleCoreDebug" }
36
configuration "Release"
39
links { "MonocleCore" }
b'\\ No newline at end of file'