An attempt to group files in msvc

- Mostly to get the header files listed nicely
This commit is contained in:
Linus Probert 2018-10-03 16:49:06 +02:00
parent a4cb234075
commit 2b02ae569e
1 changed files with 5 additions and 0 deletions

View File

@ -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)