#137028 – CMake: put test executables under folders in visual studio solution – blender

Majority of projects within generated VS IDE solution are put under
their respective source folders, except the test executables. Majority
of which are various libmv tests. Use the same cmake macro to arrange
them in folders as what is used for regular libraries.

Visual Studio IDE solution view before and after. Most of _test projects that used to be in “root” level are now under intern.

Before After
vs_ide_a.png vs_ide_b.png

Majority of projects within generated VS IDE solution are put under
their respective source folders, except the test executables. Majority
of which are various libmv tests. Use the same cmake macro to arrange
them in folders as what is used for regular libraries.

Visual Studio IDE solution view before and after. Most of `_test` projects that used to be in “root” level are now under `intern`.

| Before | After |
|—-|—-|
| ![vs_ide_a.png](/attachments/09488b67-926c-401a-9441-b734fcee6fec) | ![vs_ide_b.png](/attachments/77fea7f7-99ee-4eb0-8a6d-fa40ed512ad9) |

Read more here: Source link