From 62b14e16488dc825c493db454e445b5878d0f090 Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Sat, 10 Oct 2020 16:37:31 +0300 Subject: Generate compilation database only for debug configuration - Allows to run the clang-tidy and fixes only once over each file --- JSImpl/solution/genie.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'JSImpl/solution') diff --git a/JSImpl/solution/genie.lua b/JSImpl/solution/genie.lua index 10d31de..e3720a4 100644 --- a/JSImpl/solution/genie.lua +++ b/JSImpl/solution/genie.lua @@ -1,6 +1,10 @@ solution 'JSImpl' - configurations {'Debug', 'Release'} - platforms { 'x32', 'x64' } + if _ACTION ~= 'jcdb' then + platforms { 'x32', 'x64' } + configurations {'Debug', 'Release'} + else + configurations {'Debug'} + end flags { 'FatalWarnings', 'ExtraWarnings', -- cgit v1.3.1-23-gd82d