From 6d34d05fc8971f426545f2dafdfaa0fcee69073d Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Thu, 3 Mar 2016 19:06:12 +0000 Subject: [PATCH] Split Visual Studio project code folders So that they are more similar to the layout of the code in the repository. --- CMakeLists.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5529b25f..c244f330 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -197,7 +197,16 @@ set (LOOT_TESTS_HEADERS "${CMAKE_SOURCE_DIR}/src/tests/fixtures.h" "${CMAKE_SOURCE_DIR}/src/tests/gui/test_loot_settings.h" "${CMAKE_SOURCE_DIR}/src/tests/gui/test_loot_state.h") -source_group("Header Files" FILES ${LOOT_HEADERS} ${LOOT_GUI_HEADERS} ${LOOT_API_HEADERS} ${LOOT_TESTS_HEADERS}) +source_group("Header Files\\backend" FILES ${LOOT_HEADERS}) +source_group("Header Files\\gui" FILES ${LOOT_GUI_HEADERS}) +source_group("Header Files\\api" FILES ${LOOT_API_HEADERS}) +source_group("Header Files\\tests" FILES ${LOOT_TESTS_HEADERS}) + +source_group("Source Files\\backend" FILES ${LOOT_SRC}) +source_group("Source Files\\gui" FILES ${LOOT_GUI_SRC}) +source_group("Source Files\\api" FILES ${LOOT_API_SRC}) +source_group("Source Files\\tests" FILES ${LOOT_TESTS_SRC}) +source_group("Source Files\\validator" FILES ${LOOT_VALIDATOR_SRC}) # Include source and library directories. include_directories ("${CMAKE_SOURCE_DIR}/src"