2023-02-02 05:34:29 +08:00
|
|
|
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
|
2024-04-30 03:27:41 +08:00
|
|
|
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/lib/manual-link")
|
2023-02-02 05:34:29 +08:00
|
|
|
file(GLOB MONITOR_LIBS ${CURRENT_PACKAGES_DIR}/lib/*_exec_monitor*)
|
2024-04-30 03:27:41 +08:00
|
|
|
file(COPY ${MONITOR_LIBS} DESTINATION "${CURRENT_PACKAGES_DIR}/lib/manual-link")
|
2023-02-02 05:34:29 +08:00
|
|
|
file(REMOVE ${MONITOR_LIBS})
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
|
2024-04-30 03:27:41 +08:00
|
|
|
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/debug/lib/manual-link")
|
2023-02-02 05:34:29 +08:00
|
|
|
file(GLOB DEBUG_MONITOR_LIBS ${CURRENT_PACKAGES_DIR}/debug/lib/*_exec_monitor*)
|
2024-04-30 03:27:41 +08:00
|
|
|
file(COPY ${DEBUG_MONITOR_LIBS} DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib/manual-link")
|
2023-02-02 05:34:29 +08:00
|
|
|
file(REMOVE ${DEBUG_MONITOR_LIBS})
|
|
|
|
endif()
|