summaryrefslogtreecommitdiff
path: root/premake5.lua
diff options
context:
space:
mode:
authordmlunar <root@lunar.sh>2026-06-20 19:05:41 +0200
committerdmlunar <root@lunar.sh>2026-06-20 19:05:41 +0200
commit0b290914492c3eca7a0432be2ea2f0c8f5d71408 (patch)
tree46accdf61822e83be9f81284b1b24ddff4f371d5 /premake5.lua
parent866cf2e673e0dc77071a4e111c47cc9199cfe948 (diff)
downloadcdl86-0b290914492c3eca7a0432be2ea2f0c8f5d71408.tar.gz
cdl86-0b290914492c3eca7a0432be2ea2f0c8f5d71408.zip
cdl86: project updates
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua57
1 files changed, 57 insertions, 0 deletions
diff --git a/premake5.lua b/premake5.lua
new file mode 100644
index 0000000..982aad2
--- /dev/null
+++ b/premake5.lua
@@ -0,0 +1,57 @@
+workspace "cdl86"
+ configurations { "Debug", "Release" }
+ architecture "x86_64"
+ location "build"
+
+ symbols "On"
+ optimize "Off"
+
+ flags {
+ "NoIncrementalLink",
+ "NoRuntimeChecks"
+ }
+
+ filter "configurations:*"
+ buildoptions {
+ "/RTC-",
+ "/Ob0",
+ "/Oy-"
+ }
+
+ linkoptions {
+ "/OPT:NOICF"
+ }
+
+ filter {}
+
+project "basic_jmp"
+ kind "ConsoleApp"
+ language "C"
+
+ targetdir ("bin/%{cfg.buildcfg}")
+
+ files {
+ "cdl.c",
+ "cdl.h",
+ "tests/basic_jmp.c"
+ }
+
+ includedirs {
+ "."
+ }
+
+project "basic_swbp"
+ kind "ConsoleApp"
+ language "C"
+
+ targetdir ("bin/%{cfg.buildcfg}")
+
+ files {
+ "cdl.c",
+ "cdl.h",
+ "tests/basic_swbp.c"
+ }
+
+ includedirs {
+ "."
+ }