From 2b02ae569e340029af1d0b114f2f9d272a8146eb Mon Sep 17 00:00:00 2001 From: Linus Probert Date: Wed, 3 Oct 2018 16:49:06 +0200 Subject: [PATCH] An attempt to group files in msvc - Mostly to get the header files listed nicely --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d42802..56a51d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -214,6 +214,11 @@ add_executable(breakhack ${STEAM_SOURCES} ) +if (MSVC) + source_group("Header files" REGULAR_EXPRESSION ".*\\.h") + source_group("Source files" REGULAR_EXPRESSION ".*\\.c") +endif () + # Sqlite has some warnings that I we don't need to see set_source_files_properties(sqlite3/sqlite3.c COMPILE_FLAGS -w)