prepare dx dev
This commit is contained in:
27
BasaltPresenter/Plugins/Deliver/PipeDeliver/CMakeLists.txt
Normal file
27
BasaltPresenter/Plugins/Deliver/PipeDeliver/CMakeLists.txt
Normal file
@@ -0,0 +1,27 @@
|
||||
# Create shared library
|
||||
add_library(PipeDeliver SHARED "")
|
||||
# Setup sources
|
||||
target_sources(PipeDeliver
|
||||
PRIVATE
|
||||
main.cpp
|
||||
)
|
||||
# Setup header infomation
|
||||
target_include_directories(PipeDeliver
|
||||
PRIVATE
|
||||
"${CMAKE_CURRENT_LIST_DIR}"
|
||||
)
|
||||
# Setup linked library infomation
|
||||
target_link_libraries(PipeDeliver
|
||||
PRIVATE
|
||||
BasaltShared
|
||||
)
|
||||
# Enable export macro
|
||||
target_compile_definitions(PipeDeliver
|
||||
PRIVATE
|
||||
BS_EXPORTING
|
||||
)
|
||||
|
||||
# Install PipeDeliver only on Release mode
|
||||
install(TARGETS PipeDeliver
|
||||
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}/plugins/engine"
|
||||
)
|
||||
Reference in New Issue
Block a user