Compare commits

...

3 commits

Author SHA1 Message Date
Sara 4659493255 feat: added empty main() 2025-06-03 14:46:23 +02:00
Sara 925b4e9a9b feat: added build instructions 2025-06-03 14:46:04 +02:00
Sara 16d3803968 feat: added gitignore 2025-06-03 14:45:59 +02:00
3 changed files with 31 additions and 0 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
bin
build
Makefile

View file

@ -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"

View file

@ -0,0 +1,3 @@
int main(int argc, char *argv[]) {
return 0;
}