1
0

finish buggy dx11 code

This commit is contained in:
2026-01-04 23:11:58 +08:00
parent a66d3dee8b
commit 7b234ec405
12 changed files with 432 additions and 219 deletions

View File

@@ -1,27 +1,27 @@
# Create shared library
add_library(PipeDeliver SHARED "")
add_library(BasaltPipeDeliver SHARED "")
# Setup sources
target_sources(PipeDeliver
target_sources(BasaltPipeDeliver
PRIVATE
main.cpp
)
# Setup header infomation
target_include_directories(PipeDeliver
target_include_directories(BasaltPipeDeliver
PRIVATE
"${CMAKE_CURRENT_LIST_DIR}"
)
# Setup linked library infomation
target_link_libraries(PipeDeliver
target_link_libraries(BasaltPipeDeliver
PRIVATE
BasaltShared
)
# Enable export macro
target_compile_definitions(PipeDeliver
target_compile_definitions(BasaltPipeDeliver
PRIVATE
BS_EXPORTING
)
# Install PipeDeliver only on Release mode
install(TARGETS PipeDeliver
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}/plugins/engine"
# Install BasaltPipeDeliver only on Release mode
install(TARGETS BasaltPipeDeliver
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}/plugin/deliver"
)