Skip to content

Ludwigstrasse/Skylark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skylark Build System

This repository now uses a target-oriented CMake layout with optional backend modules and vcpkg manifest integration.

What changed

  • Replaced recursive, catch-all module globbing with explicit target definitions.
  • Split the portable modern graph from the legacy SKEngine2 path.
  • Added platform compile definitions at the project interface layer.
  • Added optional backend toggles for D3D11, D3D12, OpenGL, and Vulkan.
  • Added install/export rules so Skylark libraries can be consumed as exported CMake targets.
  • Added vcpkg.json and CMakePresets.json for reproducible Windows/Linux workflows.
  • Added an optional smoke test executable (SkylarkSmoke) to verify the link graph.

CI

  • skylark-ci default matrix only covers the portable/stable lanes that are expected to stay green on GitHub-hosted runners: linux-debug and windows-msvc-debug.
  • Backend-specific jobs such as windows-d3d11-debug are kept in the same workflow under the experimental-backends job and run on workflow_dispatch, so backend bring-up does not block the main repository health signal.

Build requirements

  • CMake 3.23 or newer
  • A C++20-capable compiler
  • Ninja recommended
  • vcpkg recommended for dependency-managed builds

vcpkg setup

Set VCPKG_ROOT before using the vcpkg presets.

Linux

export VCPKG_ROOT=/path/to/vcpkg
cmake --preset linux-debug
cmake --build --preset linux-debug

Windows

$env:VCPKG_ROOT="C:\dev\vcpkg"
cmake --preset windows-msvc
cmake --build --preset windows-msvc-debug

Presets

Bootstrap presets without a vcpkg toolchain:

  • dev-linux-debug
  • dev-linux-release

vcpkg-backed Linux presets:

  • linux-debug
  • linux-release
  • linux-vulkan-debug
  • linux-opengl-debug

vcpkg-backed Windows presets:

  • windows-msvc
  • windows-d3d11
  • windows-d3d12
  • windows-opengl
  • windows-vulkan

Backend options

  • SK_ENABLE_D3D11
  • SK_ENABLE_D3D12
  • SK_ENABLE_OPENGL
  • SK_ENABLE_VULKAN
  • SK_BUILD_LEGACY
  • SK_BUILD_SMOKE_TEST

The default configuration is intentionally conservative: portable modern modules are enabled, legacy SKEngine2 is disabled, and graphics backends are opt-in.

About

3D Render Engine for CAD

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages