diff options
| author | dmlunar <root@lunar.sh> | 2026-01-23 15:21:03 +0200 |
|---|---|---|
| committer | dmlunar <root@lunar.sh> | 2026-01-23 15:21:03 +0200 |
| commit | 506c89c969d932ae75482f89d28b1a33c27fc9e2 (patch) | |
| tree | 4052c3b854e06653836904bdb80be3716428b551 /premake5.lua | |
| download | openresolve-506c89c969d932ae75482f89d28b1a33c27fc9e2.tar.gz openresolve-506c89c969d932ae75482f89d28b1a33c27fc9e2.zip | |
openalias: initial commit
Initial commit.
Diffstat (limited to 'premake5.lua')
| -rw-r--r-- | premake5.lua | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/premake5.lua b/premake5.lua new file mode 100644 index 0000000..2f7fbdc --- /dev/null +++ b/premake5.lua @@ -0,0 +1,30 @@ +-- premake5.lua +workspace "openalias" + architecture "x64" + configurations { "Debug", "Release" } + startproject "openalias" + +project "openalias" + kind "ConsoleApp" + language "C" + targetdir "bin/%{cfg.buildcfg}" + + files { "openalias.c" } + + filter "system:windows" + defines {"_WIN32" } + links { "dnsapi" } + systemversion "latest" + + filter "system:linux" + defines { "_POSIX_C_SOURCE=200112L" } + links { "resolv" } + buildoptions { "-Wall", "-Wextra" } + + filter "configurations:Debug" + defines { "DEBUG" } + symbols "On" + + filter "configurations:Release" + defines { "NDEBUG" } + optimize "On" |
