commit cdde1f521222f8fbcf4227327cece62ad9365e08 Author: Vinayak Ambigapathy Date: Mon Feb 17 11:36:16 2025 +0100 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..05f4819 --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +/vendor/ +/bin/ +/bin-int/ +/.vscode/ +/.vs/ +/docs/ +**.log +**.sln +**.vcxproj* +**.make +**Makefile +**dependencies.lua +**linker.lua diff --git a/app/premake5.lua b/app/premake5.lua new file mode 100644 index 0000000..52b17a7 --- /dev/null +++ b/app/premake5.lua @@ -0,0 +1,50 @@ +project "App" + kind "ConsoleApp" + language "C++" + cppdialect "C++20" + systemversion "latest" + + targetdir("%{wks.location}/bin/" .. outputdir .. "/%{prj.name}") + objdir("%{wks.location}/bin-int/" .. outputdir .. "/%{prj.name}") + + include "linker.lua" + + files + { + "src/**.h", + "src/**.cpp" + } + +filter "configurations:Debug" + defines + { + "BK_DEBUG", + "DEBUG" + } + runtime "Debug" + symbols "on" + + +filter "configurations:Release" + defines + { + "BK_RELEASE", + "NDEBUG" + } + runtime "Release" + optimize "on" + +filter "system:windows" + buildoptions "/MT" + staticruntime "on" + defines + { + "BK_PLATFORM_WINDOWS" + } + +filter "system:linux" + staticruntime "on" + defines + { + "BK_PLATFORM_LINUX" + } diff --git a/app/src/app.cpp b/app/src/app.cpp new file mode 100644 index 0000000..e69de29 diff --git a/package.json b/package.json new file mode 100644 index 0000000..c3d6b51 --- /dev/null +++ b/package.json @@ -0,0 +1,6 @@ +{ + "name": "transProxy", + "author": "anulax1225", + "git": "", + "packages": [] +} \ No newline at end of file diff --git a/premake5.lua b/premake5.lua new file mode 100644 index 0000000..ecc0aab --- /dev/null +++ b/premake5.lua @@ -0,0 +1,19 @@ +workspace "transProxy" + architecture "x64" + configurations { "Debug", "Release" } + startproject "App" + + flags + { + "MultiProcessorCompile" + } + + linkgroups "On" +outputdir = "%{cfg.system}-%{cfg.architecture}-%{cfg.buildcfg}" + +include "dependencies.lua" + +group "App" + include "app" +group "" + \ No newline at end of file