From 9875e72647d458dca8c623c8636914bc1097d6b1 Mon Sep 17 00:00:00 2001 From: Artem Zyktin Date: Thu, 28 May 2026 13:26:45 +0800 Subject: [PATCH] Update project configuration --- premake5.lua | 80 ++++++++++++++++++++++++++-------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/premake5.lua b/premake5.lua index 6279f82..68123c8 100644 --- a/premake5.lua +++ b/premake5.lua @@ -6,46 +6,6 @@ workspace "tenvex" outputdir = "%{cfg.system}/x64/%{cfg.buildcfg}" -project "tenvex" - location "build" - kind "None" - language "C++" - cppdialect "C++20" - staticruntime "on" - - targetdir ("bin/" .. outputdir .. "/output") - objdir ("bin/" .. outputdir .. "/intermediate") - - files { - "src/tenvex/**.h", - "src/tenvex/**.hpp", - } - - includedirs { - "src/tenvex", - } - - filter "configurations:debug" - runtime "Debug" - symbols "on" - optimize "off" - defines { "TENVEX_DEBUG" } - - filter "configurations:release" - runtime "Release" - symbols "on" - optimize "Speed" - defines { "TENVEX_RELEASE" } - - filter "system:windows" - systemversion "latest" - - filter "system:linux" - pic "on" - - filter "system:macosx" - pic "on" - project "gtest" location "build" kind "StaticLib" @@ -116,6 +76,46 @@ project "gtest_main" filter "system:windows" systemversion "latest" +project "tenvex" + location "build" + kind "None" + language "C++" + cppdialect "C++20" + staticruntime "on" + + targetdir ("bin/" .. outputdir .. "/output") + objdir ("bin/" .. outputdir .. "/intermediate") + + files { + "src/tenvex/**.h", + "src/tenvex/**.hpp", + } + + includedirs { + "src/tenvex", + } + + filter "configurations:debug" + runtime "Debug" + symbols "on" + optimize "off" + defines { "TENVEX_DEBUG" } + + filter "configurations:release" + runtime "Release" + symbols "on" + optimize "Speed" + defines { "TENVEX_RELEASE" } + + filter "system:windows" + systemversion "latest" + + filter "system:linux" + pic "on" + + filter "system:macosx" + pic "on" + project "tenvex_tests" location "build" kind "ConsoleApp"