From 6bba1efc9ebc58f3ac56c01ff4c0cbb7bf7c73d5 Mon Sep 17 00:00:00 2001 From: otavepto <153766569+otavepto@users.noreply.github.com> Date: Tue, 28 May 2024 22:27:47 +0300 Subject: [PATCH] format --- premake5.lua | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/premake5.lua b/premake5.lua index 6a2def1f..dbd78918 100644 --- a/premake5.lua +++ b/premake5.lua @@ -313,15 +313,15 @@ local x64_deps_overlay_libdir = { filter {} -- reset the filter and remove all active keywords configurations { "debug", "release", } platforms { "x64", "x32", } -language("C++") +language "C++" -cppdialect("C++17") -cdialect("C17") +cppdialect "C++17" +cdialect "C17" filter { "system:linux", "action:gmake*" , } cdialect("gnu17") -- gamepad.c relies on some linux-specific functions like strdup() and MAX_PATH filter {} -- reset the filter and remove all active keywords -characterset("Unicode") +characterset "Unicode" staticruntime "on" -- /MT or /MTd runtime "Release" -- ensure we never link with /MTd, otherwise deps linking will fail flags { @@ -329,7 +329,7 @@ flags { "MultiProcessorCompile", -- Enable Visual Studio to use multiple compiler processes when building "RelativeLinks", } -targetprefix ("") -- prevent adding the prefix libxxx on linux +targetprefix "" -- prevent adding the prefix libxxx on linux vpaths { -- just for visual niceness, see: https://premake.github.io/docs/vpaths/ ["headers/*"] = { "**.h", "**.hxx", "**.hpp", @@ -730,7 +730,6 @@ project "steamclient_experimental" common_emu_defines, "STEAMCLIENT_DLL", "EMU_OVERLAY", "ImTextureID=ImU64", } - -- Windows defines filter { "system:windows" } defines {