added premake5.lua
This commit is contained in:
parent
3f8289e857
commit
24e03c294d
16
premake5.lua
Normal file
16
premake5.lua
Normal file
|
@ -0,0 +1,16 @@
|
|||
workspace "fencer"
|
||||
configurations { "Debug", "Release" }
|
||||
location "."
|
||||
|
||||
project "fencer"
|
||||
kind "WindowedApp"
|
||||
language "C"
|
||||
location "build/"
|
||||
files { "src/**.c" }
|
||||
links { "SDL2", "SDL2_image", "cjson", "m" }
|
||||
buildoptions { "-Wall", "-DVMATH_SDL=1" }
|
||||
filter { "configurations:Debug" }
|
||||
buildoptions { "-g3" }
|
||||
targetdir "bin/"
|
||||
filter { "configurations:Release" }
|
||||
buildoptions { "-g0" }
|
Loading…
Reference in a new issue