Skip to content

_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:

rm -rf _ARTIFACTS/build/

โš ๏ธ .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/