mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
Normalize whitespaces in cmake files
This commit is contained in:
@@ -284,12 +284,17 @@ PATTERNS = (
|
|||||||
"*.cpp",
|
"*.cpp",
|
||||||
"*.h",
|
"*.h",
|
||||||
"*.i",
|
"*.i",
|
||||||
|
"*.cmake",
|
||||||
|
"*/CMakeLists.txt",
|
||||||
)
|
)
|
||||||
|
|
||||||
REPO_ROOT = Path(subprocess.check_output(["git", "rev-parse", "--show-toplevel"], text=True).strip())
|
REPO_ROOT = Path(subprocess.check_output(["git", "rev-parse", "--show-toplevel"], text=True).strip())
|
||||||
|
|
||||||
# Generated files; formatted by the express codegen, not by this script.
|
# Generated files; formatted by the express codegen, not by this script.
|
||||||
IGNORED_DIRS = (REPO_ROOT / "src/ifcparse/schemas",)
|
IGNORED_DIRS = (
|
||||||
|
REPO_ROOT / "src/ifcparse/schemas",
|
||||||
|
REPO_ROOT / "win/patches",
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def get_tracked_files(root: Path | None = None) -> list[Path]:
|
def get_tracked_files(root: Path | None = None) -> list[Path]:
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ target_include_directories(plugin PUBLIC
|
|||||||
)
|
)
|
||||||
|
|
||||||
if (NOT CREATE_BUNDLE)
|
if (NOT CREATE_BUNDLE)
|
||||||
set_target_properties(plugin PROPERTIES
|
set_target_properties(plugin PROPERTIES
|
||||||
VERSION "${PROJECT_VERSION}"
|
VERSION "${PROJECT_VERSION}"
|
||||||
SOVERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}"
|
SOVERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user