Commit Graph

4 Commits

Author SHA1 Message Date
Christoph K.
93c19df257 refactor: rename binary and artifacts to negative-converter
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 09:54:47 +01:00
Christoph K.
0cbac0ff12 feat: containerize build environment with Docker
- docker/Dockerfile: multi-stage image (linux-builder + windows-builder)
  - linux-builder: Ubuntu 22.04 + OpenCV/LibRaw/Qt6 + GTest
  - windows-builder: MXE cross-compilation (x86_64-w64-mingw32.static)
    with OpenCV4, LibRaw, Qt6 for Windows .exe output
- docker-compose.yml: services for linux, windows-build, shell
- scripts/docker-build.sh: convenience wrapper
  - linux|windows|all targets
  - --no-cache, --run flags

Usage:
  ./scripts/docker-build.sh linux --run
  ./scripts/docker-build.sh windows

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 13:17:01 +01:00
Christoph K.
8a462d74f9 feat: add build-all.sh script for all targets
Compiles photo-converter, all test binaries, and runs ctest.
Supports --release/--debug, --clean, --no-gui, --no-tests flags.
Auto-detects available CPU cores and skips Qt if not installed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 09:59:02 +01:00
Christoph K.
db39ef8c58 feat: add Windows cross-compilation build script
scripts/build-windows.sh configures and builds with the MinGW-w64 toolchain,
collects runtime DLLs (OpenCV, LibRaw, Qt6, MinGW runtime) into dist-windows/,
strips release binaries, and packages a ZIP archive.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 09:41:50 +01:00