mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-06 10:17:13 +02:00
Copy the binary to plugins folder after compiling.
This commit is contained in:
parent
9e68216136
commit
1242b8a2fc
@ -117,3 +117,5 @@ target_include_directories(SqModule PRIVATE ${CMAKE_CURRENT_LIST_DIR})
|
|||||||
if(WIN32 OR MINGW)
|
if(WIN32 OR MINGW)
|
||||||
target_link_libraries(SqModule wsock32 ws2_32)
|
target_link_libraries(SqModule wsock32 ws2_32)
|
||||||
endif()
|
endif()
|
||||||
|
# Copy module into the plugins folder
|
||||||
|
add_custom_command(TARGET SqModule POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different $<TARGET_FILE:SqModule> "${PROJECT_SOURCE_DIR}/bin/plugins")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user