Remove source_group instructions

This commit is contained in:
Johannes Schneider 2021-05-31 23:03:48 +02:00
parent dadd8f635a
commit 853f713db1
No known key found for this signature in database
GPG Key ID: 630166982479CCF3

View File

@ -10,21 +10,6 @@ set(VMA_LIBRARY_SOURCE_FILES
VmaUsage.cpp
)
# Use folder structure as filters in project map
foreach(FILE ${VMA_LIBRARY_SOURCE_FILES})
get_filename_component(PARENT_DIR "${FILE}" PATH)
string(REPLACE "/" "\\" GROUP "${PARENT_DIR}")
if("${FILE}" MATCHES ".*\\.cpp")
set(GROUP "Source Files\\${GROUP}")
elseif("${FILE}" MATCHES ".*\\.hpp")
set(GROUP "Header Files\\${GROUP}")
endif()
source_group("${GROUP}" FILES "${FILE}")
endforeach()
add_library(VulkanMemoryAllocator ${VMA_LIBRARY_SOURCE_FILES})
set_target_properties(
@ -57,21 +42,6 @@ set(VMA_EXAMPLE_SOURCE_FILES
VulkanSample.cpp
)
# Use folder structure as filters in project map
foreach(FILE ${VMA_EXAMPLE_SOURCE_FILES})
get_filename_component(PARENT_DIR "${FILE}" PATH)
string(REPLACE "/" "\\" GROUP "${PARENT_DIR}")
if("${FILE}" MATCHES ".*\\.cpp")
set(GROUP "Source Files\\${GROUP}")
elseif("${FILE}" MATCHES ".*\\.hpp")
set(GROUP "Header Files\\${GROUP}")
endif()
source_group("${GROUP}" FILES "${FILE}")
endforeach()
if (VMA_BUILD_EXAMPLE_APP)
if(WIN32)
add_executable(VmaExample ${VMA_EXAMPLE_SOURCE_FILES})