From f34e5291b8a6e4a07b7f819a74d43a385b640160 Mon Sep 17 00:00:00 2001 From: Detanup01 <91248446+Detanup01@users.noreply.github.com> Date: Mon, 13 May 2024 18:07:02 +0200 Subject: [PATCH] better arch handle --- premake.lua | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/premake.lua b/premake.lua index 0f40ae6c..efb01b06 100644 --- a/premake.lua +++ b/premake.lua @@ -69,6 +69,7 @@ if _ACTION == "generateproto" then workspace "GBE" configurations { "Debug", "Release", "ExperimentalDebug", "ExperimentalRelease" } + platforms { "X64", "X86" } location "GBE_Build" project "SteamEmu" @@ -112,21 +113,17 @@ project "SteamEmu" crash_linux } --- BUILD X64 and X85 on VS. (soon more!) - filter "action:vs*" - platforms { "x86_64", "x86" } - -- SET ARCH - filter "platforms:x86" + filter "platforms:X86" targetname "steam_api" architecture "x86" - filter "platforms:x86_64" + filter "platforms:X64" targetname "steam_api64" architecture "x86_64" -- WIN 32 DEFAULTS - filter { "platforms:x86", "options:os=windows" } + filter { "platforms:X86", "options:os=windows" } links { win_link, default_link, @@ -156,7 +153,7 @@ project "SteamEmu" } -- WIN 64 DEFAULTS - filter { "platforms:x86_64", "options:os=windows" } + filter { "platforms:X64", "options:os=windows" } links { win_link, default_link,