From 58ddaa4b1db34aa652514c2f0ef4a180f5aec846 Mon Sep 17 00:00:00 2001 From: Mike Popoloski Date: Mon, 10 Nov 2014 17:58:51 -0500 Subject: [PATCH] Setting output directories for WinPhone builds to fix build errors. --- scripts/genie.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/genie.lua b/scripts/genie.lua index 34a5cd09..f838e0c7 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -158,6 +158,9 @@ function exampleProject(_name) linkoptions { "/ignore:4264" -- LNK4264: archiving object file compiled with /ZW into a static library; note that when authoring Windows Runtime types it is not recommended to link with a static library that contains Windows Runtime metadata } + -- WinRT targets need their own output directories are build files stomp over each other + targetdir (BGFX_BUILD_DIR .. "arm_" .. _ACTION .. "/bin/" .. _name) + objdir (BGFX_BUILD_DIR .. "arm_" .. _ACTION .. "/obj/" .. _name) configuration { "mingw*" } links {