Fixed minor error in genie.lua

dev
shariq 8 years ago
parent a4f3021e44
commit f121fc75a4
  1. 25
      build/genie.lua

@ -6,21 +6,25 @@ defines {"USE_GLAD"}
includedirs {"../include/"} includedirs {"../include/"}
buildoptions {"-Wall", "-std=c99"} buildoptions {"-Wall", "-std=c99"}
if os.is("linux") then if os.is("linux") then
postbuildcommands {"ln -fs /mnt/Dev/Projects/symmetry/assets debug"} postbuildcommands {"ln -fs /mnt/Dev/Projects/symmetry/assets debug/"}
postbuildcommands {"ln -fs /mnt/Dev/Projects/symmetry/assets release"} postbuildcommands {"ln -fs /mnt/Dev/Projects/symmetry/assets release/"}
end end
configuration "Debug" configuration "Debug"
if not _ACTION == nil then if _ACTION ~= nil then
os.mkdir(_ACTION .. "/debug") os.mkdir(_ACTION .. "/debug")
targetdir (_ACTION .. "/debug") targetdir (_ACTION .. "/debug")
end end
defines { "DEBUG" }
flags { "Symbols" }
configuration "Release" configuration "Release"
if not _ACTION == nil then if _ACTION ~= nil then
os.mkdir(_ACTION .. "/release") os.mkdir(_ACTION .. "/release")
targetdir (_ACTION .. "/release") targetdir (_ACTION .. "/release")
end end
defines { "NDEBUG" }
flags { "OptimizeSpeed"}
------------------------- -------------------------
-- Game -- Game
@ -37,14 +41,6 @@ buildoptions {"`pkg-config --cflags-only-other sdl2 openal`"}
linkoptions {"`pkg-config --libs sdl2 openal`"} linkoptions {"`pkg-config --libs sdl2 openal`"}
links {"m"} links {"m"}
configuration "Debug"
defines { "DEBUG" }
flags { "Symbols" }
configuration "Release"
defines { "NDEBUG" }
flags { "OptimizeSpeed"}
------------------------- -------------------------
-- libSymmetry -- libSymmetry
------------------------- -------------------------
@ -57,8 +53,3 @@ files { "../src/common/**.c", "../src/libsymmetry/**.c" }
configuration "Debug" configuration "Debug"
defines {"GL_DEBUG_CONTEXT", "AL_DEBUG"} defines {"GL_DEBUG_CONTEXT", "AL_DEBUG"}
flags {"Symbols"}
configuration "Release"
defines { "NDEBUG" }
flags { "OptimizeSpeed"}

Loading…
Cancel
Save