Skip to content

Develop - #26

Merged
acdemiralp merged 5 commits into
mainfrom
develop
Jun 5, 2026
Merged

acdemiralp merged 5 commits into
mainfrom
develop

Conversation

@acdemiralp

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings June 5, 2026 06:31
@acdemiralp
acdemiralp merged commit bf3449b into main Jun 5, 2026
73 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts the CMake templates’ testing setup to avoid applying Visual Studio “solution folder” properties to doctest targets in configurations where those targets may not exist (notably the vcpkg find_package(doctest CONFIG) path), while still grouping the CPM-fetched doctest helper target under a tests folder.

Changes:

  • Move set_property(TARGET doctest_with_main PROPERTY FOLDER "tests") into the CPM/doctest-fetch branch for library and header_only_library.
  • Remove the same set_property call from the vcpkg-based templates (library_with_vcpkg, header_only_library_with_vcpkg) where doctest is brought in via find_package.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
library/CMakeLists.txt Only set VS folder on doctest_with_main when doctest is added via CPM.
library_with_vcpkg/CMakeLists.txt Remove VS folder assignment for doctest_with_main in the find_package(doctest) path.
header_only_library/CMakeLists.txt Only set VS folder on doctest_with_main when doctest is added via CPM.
header_only_library_with_vcpkg/CMakeLists.txt Remove VS folder assignment for doctest_with_main in the find_package(doctest) path.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

3 participants