added template files
This commit is contained in:
parent
abaf74850e
commit
2fa0eb2b05
10 changed files with 320 additions and 8 deletions
27
premake5.lua
Normal file
27
premake5.lua
Normal file
|
@ -0,0 +1,27 @@
|
|||
workspace "Template"
|
||||
configurations { "Debug", "Release" }
|
||||
--ecc scripts from https://github.com/MattBystrin/premake-ecc
|
||||
require ".ecc/ecc"
|
||||
|
||||
project "Template"
|
||||
kind "WindowedApp"
|
||||
language "C++"
|
||||
targetdir "_bin/%{cfg.buildcfg}"
|
||||
objdir "_obj/%{cfg.buildcfg}"
|
||||
|
||||
files { "**.h", "**.cpp" }
|
||||
|
||||
filter "configurations:Debug"
|
||||
defines { "DEBUG" }
|
||||
symbols "On"
|
||||
links { "SDL2", "SDL2_image", "SDL2_ttf" }
|
||||
--links { "SDL2", "SDL2_image", "GL", "GLEW", "SOIL", "fmod", "fmodstudio", "SDL2_ttf" }
|
||||
--libdirs { "../External/FMOD/lib/x86_64" }
|
||||
--includedirs { "../External/FMOD/inc" }
|
||||
|
||||
filter "configurations:Release"
|
||||
defines { "NDEBUG" }
|
||||
optimize "On"
|
||||
links { "SDL2", "SDL2_image", "SDL2_ttf" }
|
||||
--postbuildcommands { "{COPY} %[Assets] %[%{!cfg.targetdir}]" }
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue