catchorg / Catch2

A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)
https://discord.gg/4CWS9zD
Boost Software License 1.0
18.57k stars 3.05k forks source link

Different folder structure in VS Solution between 2.13.0 and 2.13.1 #2917

Open pisoir opened 4 days ago

pisoir commented 4 days ago

Describe the bug We are using catch2 version 2.13.0, cmake version 3.29.0 and after running cmake, the .sln solution contains folders CMakePredefinedTargets and Shared

image

However, updating the version to 2.13.1 the folder structure changes completely and I see additional projects

image

I checked the changes in the versions but I cannot find out where is this coming from. Where is this coming from?

Expected behavior The folder structure should stay the same.

pisoir commented 4 days ago

It seems this is related to the change that line set_property(GLOBAL PROPERTY USE_FOLDERS ON) has been removed. Why was this removed?

horenmar commented 3 days ago

Probably lost during some CMakeLists refactoring.