Skip to content

Commit 40f1b6e

Browse files
Add custom target to show various files in the IDE
1 parent 3c35ea2 commit 40f1b6e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

CMakeLists.txt

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,31 @@ vs_startup_project(project-template)
2020
if(BUILD_TESTING)
2121
add_subdirectory(tests)
2222
endif()
23+
24+
add_custom_target(Miscelleanous)
25+
target_sources(Miscelleanous PRIVATE
26+
".clang-format"
27+
".editorconfig"
28+
".gitignore"
29+
".gitmodules"
30+
".github/workflows/cmake.yml"
31+
"CMakePresets.json"
32+
"ReadMe.md"
33+
"vcpkg.json"
34+
"cmake/set_cxx_standard.cmake"
35+
"cmake/target_folder.cmake"
36+
"cmake/vs_startup_project.cmake")
37+
source_group("CMake Scripts" FILES
38+
"cmake/set_cxx_standard.cmake"
39+
"cmake/target_folder.cmake"
40+
"cmake/vs_startup_project.cmake")
41+
source_group("Editing" FILES
42+
".clang-format"
43+
".editorconfig")
44+
source_group("Git" FILES
45+
".gitignore"
46+
".gitmodules")
47+
source_group("GitHub" FILES
48+
".github/workflows/cmake.yml")
49+
source_group("VcPkg" FILES
50+
"vcpkg.json")

0 commit comments

Comments
 (0)