diff options
Generate compilation database only for debug configuration
- Allows to run the clang-tidy and fixes only once over each file
1 files changed, 6 insertions, 2 deletions
| -rw-r--r-- | JSImpl/solution/genie.lua | 8 |
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', |
