diff --git a/config.py b/.cmake-format.py similarity index 95% rename from config.py rename to .cmake-format.py index 347f224..87589ae 100644 --- a/config.py +++ b/.cmake-format.py @@ -7,15 +7,21 @@ with section("parse"): # Specify structure for custom cmake functions additional_commands = { + 'add_doxygen': { 'flags' : [], + 'kwargs': { 'LATEX': 1, + 'HTML': 1, + 'COMMENT': 1}}, + 'add_breathe': { 'flags' : [], + 'kwargs': { 'COMMENT': 1}}, 'add_common_library': { 'flags' : [], 'kwargs': { 'OUTPUT_NAME': 1, 'SOURCES': '*', 'TARGET': 1}}, 'qt5_translation': { 'flags' : [], - 'kwargs': { 'TS_DIR': 1, + 'kwargs': { 'OUTPUT_DIR': 1, 'LANGUAGES': '*', 'SOURCES': '*', - 'TARGET': 1}}, + 'BASE_NAME': 1}}, 'pvs_studio_add_target': { 'flags' : [ 'COMPILE_COMMANDS', 'OUTPUT', 'HIDE_HELP'], @@ -169,7 +175,7 @@ with section("markup"): with section("lint"): # a list of lint codes to disable - disabled_codes = [] + disabled_codes = ['C0113'] # regular expression pattern describing valid function names function_pattern = '[0-9a-z_]+'