Initial commit

This commit is contained in:
user
2026-07-12 14:34:52 +04:00
commit 3abf6bd9c2
557 changed files with 68706 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
# Ensure artifacts directory exists
file(MAKE_DIRECTORY "${ARTIFACTS_DIR}")
# Collecting all files in the project, excluding artifacts and build directories
file(GLOB_RECURSE PROJECT_FILES
RELATIVE "${CMAKE_SOURCE_DIR}"
"*"
)
list(FILTER PROJECT_FILES EXCLUDE REGEX "^(artifacts/|build/|external/)")
# Generate directory tree
add_custom_command(
OUTPUT "${ARTIFACTS_DIR}/tree.txt"
COMMAND tree -I 'artifacts|build|external' "${CMAKE_SOURCE_DIR}" > "${ARTIFACTS_DIR}/tree.txt"
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
DEPENDS ${PROJECT_FILES}
COMMENT "Generating directory tree in ${ARTIFACTS_DIR}/tree.txt"
)
# Create GenerateTree target
add_custom_target(GenerateTree ALL DEPENDS "${ARTIFACTS_DIR}/tree.txt")