diff --git a/config b/config.py similarity index 95% rename from config rename to config.py index 9c4619e..347f224 100644 --- a/config +++ b/config.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 + # ---------------------------------- # Options affecting listfile parsing # ---------------------------------- @@ -6,14 +8,14 @@ with section("parse"): # Specify structure for custom cmake functions additional_commands = { 'add_common_library': { 'flags' : [], - 'kwargs': { 'OUTPUT_NAME': '*', + 'kwargs': { 'OUTPUT_NAME': 1, 'SOURCES': '*', - 'TARGET': '1'}}, + 'TARGET': 1}}, 'qt5_translation': { 'flags' : [], - 'kwargs': { 'TS_DIR': '1', + 'kwargs': { 'TS_DIR': 1, 'LANGUAGES': '*', 'SOURCES': '*', - 'TARGET': '1'}}, + 'TARGET': 1}}, 'pvs_studio_add_target': { 'flags' : [ 'COMPILE_COMMANDS', 'OUTPUT', 'HIDE_HELP'], @@ -22,7 +24,7 @@ with section("parse"): 'DEPENDS': '*', 'FORMAT': '*', 'MODE': '*', - 'TARGET': '*'}}, + 'TARGET': 1}}, 'write_compiler_detection_header': { 'flags' : [], 'kwargs': { 'COMPILERS': '*', 'FEATURES': '*', @@ -48,11 +50,11 @@ with section("format"): # If an argument group contains more than this many sub-groups (parg or kwarg # groups) then force it to a vertical layout. - max_subgroups_hwrap = 2 + max_subgroups_hwrap = 3 # If a positional argument group contains more than this many arguments, then # force it to a vertical layout. - max_pargs_hwrap = 4 + max_pargs_hwrap = 5 # If a cmdline positional group consumes more than this many lines without # nesting, then invalidate the layout (and nest)