Skip to content

Commit

Permalink
[add] (api) vulkan sample plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
begla committed Jan 28, 2024
1 parent 1397787 commit 691600d
Show file tree
Hide file tree
Showing 43 changed files with 278,383 additions and 2 deletions.
5 changes: 3 additions & 2 deletions iolite_c_api/sample_plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ elseif(UNIX)
set(OUTPUT_DIR "linux")
endif()

include_directories(../ dependencies/imgui dependencies/glm/glm)
include_directories(../ dependencies/imgui dependencies/glm/glm dependencies/)
add_definitions("-D_CRT_SECURE_NO_WARNINGS")

add_library(IoliteSamplePluginC SHARED sample_plugin.c)
add_library(IoliteSamplePluginVulkan SHARED sample_plugin_vulkan.c)

add_library(IoliteSamplePluginCPP SHARED
sample_plugin.cpp
Expand All @@ -26,7 +27,7 @@ add_library(IoliteSamplePluginCPP SHARED
)
add_library(IoliteMinimalPlugin SHARED minimal_plugin.cpp)

foreach(EXECUTABLE IoliteSamplePluginC IoliteSamplePluginCPP IoliteMinimalPlugin)
foreach(EXECUTABLE IoliteSamplePluginC IoliteSamplePluginCPP IoliteMinimalPlugin IoliteSamplePluginVulkan)
set_target_properties(${EXECUTABLE} PROPERTIES
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/${OUTPUT_DIR}
RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_SOURCE_DIR}/${OUTPUT_DIR}
Expand Down
Loading

0 comments on commit 691600d

Please sign in to comment.