mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-12-02 03:38:03 +08:00
54727a5dbe
Co-authored-by: an-tao <antao2002@gmail.com>
8 lines
344 B
CMake
8 lines
344 B
CMake
make_directory("${INSTALL_BIN_DIR}")
|
|
get_filename_component(CTL_PATH ${CTL_FILE} DIRECTORY)
|
|
file(GLOB DLL_FILES ${CTL_PATH}/*.dll)
|
|
file(COPY ${DLL_FILES} DESTINATION ${INSTALL_BIN_DIR})
|
|
file(COPY ${CTL_FILE} DESTINATION ${INSTALL_BIN_DIR})
|
|
if (RENAME_EXE)
|
|
file(RENAME ${INSTALL_BIN_DIR}/drogon_ctl.exe ${INSTALL_BIN_DIR}/dg_ctl.exe)
|
|
endif() |