_ARTIFACTS - Build Artifacts Directory¶
This directory contains ALL temporary build files, binaries, logs, and generated artifacts.
๐ Directory Structure¶
_ARTIFACTS/
โโโ build/ # CMake build files (temporary)
โ โโโ Debug/ # Debug build configuration
โ โโโ Release/ # Release build configuration
โโโ binaries/ # Final compiled binaries (.exe, .dll, .lib)
โ โโโ Debug/
โ โโโ Release/
โโโ logs/ # Build logs and output
โโโ temp/ # Temporary files during build
๐ฏ Purpose¶
- build/ - CMake cache, intermediate object files, project files
- binaries/ - Final executables and libraries ready to use
- logs/ - Compilation logs, error reports, build timestamps
- temp/ - Any other temporary files generated during build
๐ Usage¶
Build the project:¶
# From root directory
cmake -B _ARTIFACTS/build/Release -S . -DCMAKE_BUILD_TYPE=Release
cmake --build _ARTIFACTS/build/Release --config Release
Find your binaries:¶
# Executables will be in:
_ARTIFACTS/binaries/Release/
# Example:
_ARTIFACTS/binaries/Release/delay_example.exe
๐งน Clean Build¶
To start fresh, simply delete the build directory:
โ ๏ธ .gitignore¶
This entire directory is ignored by git (except this README). All contents are regenerated during build.
๐ Notes¶
- Build times are logged to
_ARTIFACTS/logs/ - CMake configuration is cached in
_ARTIFACTS/build/ - Final binaries are copied to
_ARTIFACTS/binaries/for easy access - Tests are run from
_ARTIFACTS/build/but results logged to_ARTIFACTS/logs/