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 --- gctest/solution/genie.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gctest/solution/genie.lua') diff --git a/gctest/solution/genie.lua b/gctest/solution/genie.lua index 8a1473a..394417a 100644 --- a/gctest/solution/genie.lua +++ b/gctest/solution/genie.lua @@ -19,6 +19,12 @@ if not solution() then local root = '../build/' + if _ACTION ~= 'ninja' then + location '.' + else + location './ninja' + end + configuration 'Debug' targetdir(root .. 'bin/Debug') objdir(root .. 'obj/Debug') @@ -44,6 +50,7 @@ function setup() configuration 'gcc' removeflags 'ExtraWarnings' configuration '*' + location(solution().location) end project 'test_bench' -- cgit v1.3.1-23-gd82d