This commit is contained in:
cdricms
2024-11-07 12:02:29 +01:00
parent 658fe48bb8
commit 0970740e31
14 changed files with 732 additions and 72 deletions

28
premake5.lua Normal file
View File

@@ -0,0 +1,28 @@
workspace "CWeb"
configurations { "Debug", "Release" }
project "CWebLibrary"
kind "StaticLib"
language "C"
targetdir "bin/%{cfg.buildcfg}"
files {
"http/*.c",
"http/*.h"
}
project "cweb"
kind "ConsoleApp"
language "C"
targetdir "bin/%{cfg.buildcfg}"
files { "main.c" }
includedirs { "http" }
links { "CWebLibrary" }
filter "configurations:Debug"
symbols "On"
filter "configurations:Release"
optimize "On"