Skip to content

Commit

Permalink
Test esmini build on windows
Browse files Browse the repository at this point in the history
Signed-off-by: romanodanilo <[email protected]>
  • Loading branch information
romanodanilo committed Aug 23, 2024
1 parent 00962de commit 078c336
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion examples/esmini_viewer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,19 @@ include_directories(${ESMINI_VIEWER} PRIVATE
add_library(${ESMINI_VIEWER} SHARED esmini_viewer.cpp helper.cpp)
target_link_libraries(${ESMINI_VIEWER} PRIVATE qc4openx-common $<$<PLATFORM_ID:Linux>:stdc++fs>)

if(WIN32)
install(
TARGETS ${CMAKE_CURRENT_BINARY_DIR}/plugin/${ESMINI_VIEWER}
FILES
${CMAKE_CURRENT_BINARY_DIR}/${ESMINI_VIEWER}.dll
DESTINATION bin/plugin
)
else(WIN32)
install(
FILES
${CMAKE_CURRENT_BINARY_DIR}/lib${ESMINI_VIEWER}.so
DESTINATION bin/plugin
)
endif(WIN32)

install(
FILES
Expand Down

0 comments on commit 078c336

Please sign in to comment.