mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-10 10:41:52 +00:00
Only set VMA_EXAMPLE_SOURCE_FILES when building sample app
This commit is contained in:
parent
1a25921427
commit
61a2844a4f
@ -30,15 +30,15 @@ target_link_libraries(
|
||||
Vulkan::Vulkan
|
||||
)
|
||||
|
||||
set(VMA_EXAMPLE_SOURCE_FILES
|
||||
Common.cpp
|
||||
SparseBindingTest.cpp
|
||||
Tests.cpp
|
||||
VulkanSample.cpp
|
||||
)
|
||||
|
||||
if (VMA_BUILD_EXAMPLE_APP)
|
||||
if(WIN32)
|
||||
set(VMA_EXAMPLE_SOURCE_FILES
|
||||
Common.cpp
|
||||
SparseBindingTest.cpp
|
||||
Tests.cpp
|
||||
VulkanSample.cpp
|
||||
)
|
||||
|
||||
add_executable(VmaExample ${VMA_EXAMPLE_SOURCE_FILES})
|
||||
|
||||
# Visual Studio specific settings
|
||||
|
Loading…
Reference in New Issue
Block a user