Compare commits
3 commits
3f5e08d2fd
...
4659493255
Author | SHA1 | Date | |
---|---|---|---|
![]() |
4659493255 | ||
![]() |
925b4e9a9b | ||
![]() |
16d3803968 |
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
bin
|
||||||
|
build
|
||||||
|
Makefile
|
25
premake5.lua
25
premake5.lua
|
@ -0,0 +1,25 @@
|
||||||
|
workspace "roguelike"
|
||||||
|
configurations { "debug", "release" }
|
||||||
|
location "."
|
||||||
|
|
||||||
|
project "roguelike"
|
||||||
|
kind "WindowedApp"
|
||||||
|
language "C++"
|
||||||
|
cppdialect "C++20"
|
||||||
|
location "build/"
|
||||||
|
buildinputs "../resources/**.*"
|
||||||
|
buildoutputs "%{cfg.targetdir}/resources/**.*"
|
||||||
|
postbuildcommands "{COPYDIR} ../resources %{cfg.targetdir}"
|
||||||
|
files { "src/**.cpp", "vendor/**.cpp" }
|
||||||
|
includedirs { "src/", "vendor/" }
|
||||||
|
links { "SDL2", "SDL2_image", "m", "SDL2_ttf" }
|
||||||
|
targetdir "bin/"
|
||||||
|
exceptionhandling "Off"
|
||||||
|
filter "configurations:debug"
|
||||||
|
defines { "DEBUG" }
|
||||||
|
optimize "Off"
|
||||||
|
symbols "On"
|
||||||
|
filter "configurations:release"
|
||||||
|
defines { "NDEBUG" }
|
||||||
|
optimize "On"
|
||||||
|
symbols "Off"
|
|
@ -0,0 +1,3 @@
|
||||||
|
int main(int argc, char *argv[]) {
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in a new issue