* Updates clang-format settings * Updates cmake-format settings * Updates gitignore file
@@ -57,6 +57,7 @@ ForEachMacros:
- 'json_object_foreach'
- 'json_object_foreach_safe'
- 'json_array_foreach'
+ - 'HASH_ITER'
IncludeBlocks: Preserve
IndentCaseLabels: false
IndentPPDirectives: None
@@ -1,4 +1,10 @@
{
+ "format": {
+ "line_width": 120,
+ "tab_size": 2,
+ "enable_sort": true,
+ "autosort": true
+ },
"additional_commands": {
"find_qt": {
"flags": [],
@@ -8,9 +14,27 @@
"COMPONENTS_MACOS": "+",
"COMPONENTS_LINUX": "+"
}
+ "set_target_properties_obs": {
+ "pargs": 1,
+ "flags": [],
+ "kwargs": {
+ "PROPERTIES": {
+ "PREFIX": 1,
+ "OUTPUT_NAME": 1,
+ "FOLDER": 1,
+ "VERSION": 1,
+ "SOVERSION": 1,
+ "AUTOMOC": 1,
+ "AUTOUIC": 1,
+ "AUTORCC": 1,
+ "AUTOUIC_SEARCH_PATHS": 1,
+ "BUILD_RPATH": 1,
+ "INSTALL_RPATH": 1
+ }
- },
- "format": {
- "line_width": 100
@@ -1,13 +1,26 @@
-*~
-.DS_Store
-/build/
-/build_*/
-/release/
-/installer/Output/
+# Exclude everything
+/*
+
+# Except for default project files
+!/.github
+!/build-aux
+!/cmake
+!/data
+!/src
+!.clang-format
+!.cmake-format.json
+!.gitignore
+!buildspec.json
+!CMakeLists.txt
+!CMakePresets.json
+!LICENSE
+!README.md
-.vscode
-.idea
+# Exclude lock files
+*.lock.json
+# Exclude macOS legacy resource forks
+.DS_Store
-# ignore generated files
-*.generated.*
-**/.Brewfile.lock.json
+# Exclude CMake build number cache
+/cmake/.CMakeBuildNumber