Properly list files in CMakeLists instead of using GLOB (#249)

This commit is contained in:
Maximilian Downey Twiss 2022-09-17 11:24:57 +10:00 committed by GitHub
parent 910cdf4d5c
commit 4a3d02db55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 757 additions and 89 deletions

View file

@ -1,10 +1,4 @@
project(imguiImpl)
add_library(imguiImpl)
set_property(TARGET imguiImpl PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
target_sources(imguiImpl PRIVATE
add_library(imguiImpl
imgui_impl_opengl3.cpp
imgui_impl_opengl3.h
imgui_impl_vulkan.cpp
@ -13,6 +7,8 @@ target_sources(imguiImpl PRIVATE
imgui_extension.h
)
set_property(TARGET imguiImpl PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
target_include_directories(imguiImpl PUBLIC "../")
target_link_libraries(imguiImpl PRIVATE