dice-gui/premake5.lua

24 lines
593 B
Lua

workspace "DiceGui"
configurations { "debug", "release" }
location "."
project "Dice"
kind "ConsoleApp"
language "C"
cdialect "c23"
location "build/"
files { "src/**.c" }
includedirs { "include/" }
links { "m", "stdc++", "SDL3", "SDL3_ttf", "SDL3_image" }
buildoptions { "-Wall" }
targetdir "bin/"
postbuildcommands { "{COPYDIR} %{wks.location}/assets/ %{cfg.targetdir}/assets/" }
filter "configurations:debug"
defines { "DEBUG" }
symbols "On"
optimize "Off"
filter "configurations:release"
defines { "NDEBUG" }
optimize "On"
symbols "Off"