mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-10 02:31:48 +00:00
Remove source_group instructions
This commit is contained in:
parent
dadd8f635a
commit
853f713db1
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user