From 028910e5b3340226d7943cedb229092b3cc514ed Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Sat, 2 Oct 2021 08:30:36 +0300 Subject: Generate project files in next to the solution - Also allows for the ninja generator of genie to work correctly --- JSImpl/solution/genie.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'JSImpl/solution') diff --git a/JSImpl/solution/genie.lua b/JSImpl/solution/genie.lua index 5d36fc8..0da986a 100644 --- a/JSImpl/solution/genie.lua +++ b/JSImpl/solution/genie.lua @@ -17,6 +17,11 @@ solution 'JSImpl' local root = '../build/' + if _ACTION ~= 'ninja' then + location '.' + else + location './ninja' + end configuration 'Debug' targetdir(root .. 'bin/Debug') @@ -36,6 +41,7 @@ solution 'JSImpl' kind 'StaticLib' language 'C++' uuid(os.uuid('JSLib')) + location(solution().location) files '../src/*.cpp' removefiles '../src/main.cpp' files '../src/*.h' @@ -44,6 +50,7 @@ solution 'JSImpl' kind 'ConsoleApp' language 'C++' uuid(os.uuid('JSImpl')) + location(solution().location) files '../src/main.cpp' links 'JSLib' -- cgit v1.3.1-23-gd82d