Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add simple CMake presets #71

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

SeanAlling-DojoFive
Copy link
Contributor

Creating to demo CMake presets.

Discussion can be found here #70.

Updated some CI steps to showcase workflows running

NOTE: Following sections reference deleting build folder. This step can be skipped after running presets the first time.

Building

From project root directory

  1. delete build folder
  2. cmake --preset default
  3. cmake --preset build

Running Tests

  1. cmake --preset smoke-test
  2. cmake --preset prepare-test
  3. ctest ctest --preset test

Using a Workflow

A workflow allows running multiple CMake steps back to back automatically

From project root directory

  1. delete build folder
  2. cmake --workflow --preset ci

Removed workflows

Removed working directory from CI scripts

Working directory for CMake steps are taken care of using
CMakePreset file

Adjusted CMakePreset to match CI steps

Revert CTest preset

Switched to Ninja build from multi config

Reverted Windows CI file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant