cpp-best-practices / gui_starter_template

A template CMake project to get you started with C++ and tooling
The Unlicense
2.5k stars 447 forks source link

use CPM.cmake module to fetch project_options #207

Closed ClausKlein closed 2 years ago

ClausKlein commented 2 years ago

ENABLE_CONAN by default to test conan with CPM fetch contents disable gui dependency for simlicity (and reduce buildtime)

see too https://github.com/aminya/project_options/pull/116

codecov-commenter commented 2 years ago

Codecov Report

Merging #207 (d690b81) into main (2b9c3c9) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #207   +/-   ##
=======================================
  Coverage   80.00%   80.00%           
=======================================
  Files           3        3           
  Lines          30       30           
=======================================
  Hits           24       24           
  Misses          6        6           
Flag Coverage Δ
Linux ∅ <ø> (∅)
Windows 80.00% <ø> (ø)
macOS ∅ <ø> (∅)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2b9c3c9...d690b81. Read the comment docs.

ClausKlein commented 2 years ago

This PR was only to tigger the ci test. It shows the possibility to use CPM cmake module to fetch the project_options

ddalcino commented 2 years ago

This PR was only to tigger the ci test.

There are other ways to trigger a ci test. See GH actions syntax here: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onevent_nametypes

I often add workflow_dispatch to my .github/workflows/ci.yml file, so I can manually trigger a workflow via a button in the Github UI. A lot of projects have their workflows set up to run workflows on push to any branch, not just main.