Kentaro Hayashi 2019-04-03 10:17:25 +0900 (Wed, 03 Apr 2019) Revision: c11b58cc4a63eab64499e061047ced260e6a3df9 https://github.com/groonga/groonga/commit/c11b58cc4a63eab64499e061047ced260e6a3df9 Message: windows: install missing pdb files (#917) Modified files: plugins/functions/CMakeLists.txt Modified: plugins/functions/CMakeLists.txt (+20 -0) =================================================================== --- plugins/functions/CMakeLists.txt 2019-04-02 18:41:18 +0900 (6901024ff) +++ plugins/functions/CMakeLists.txt 2019-04-03 10:17:25 +0900 (c9c6d0444) @@ -86,6 +86,11 @@ else() PREFIX "" OUTPUT_NAME "number") install(TARGETS number_functions DESTINATION "${GRN_FUNCTIONS_PLUGIN_DIR}") + if(MSVC AND CMAKE_VERSION VERSION_GREATER "3.1") + install(FILES $<TARGET_PDB_FILE:number_functions> + DESTINATION "${GRN_FUNCTIONS_PLUGIN_DIR}" + OPTIONAL) + endif() endif() target_link_libraries(number_functions libgroonga "${M_LIBS}") @@ -106,6 +111,11 @@ else() PREFIX "" OUTPUT_NAME "time") install(TARGETS time_functions DESTINATION "${GRN_FUNCTIONS_PLUGIN_DIR}") + if(MSVC AND CMAKE_VERSION VERSION_GREATER "3.1") + install(FILES $<TARGET_PDB_FILE:time_functions> + DESTINATION "${GRN_FUNCTIONS_PLUGIN_DIR}" + OPTIONAL) + endif() endif() target_link_libraries(time_functions libgroonga) @@ -127,6 +137,11 @@ else() OUTPUT_NAME "index_column") install(TARGETS index_column_functions DESTINATION "${GRN_FUNCTIONS_PLUGIN_DIR}") + if(MSVC AND CMAKE_VERSION VERSION_GREATER "3.1") + install(FILES $<TARGET_PDB_FILE:index_column_functions> + DESTINATION "${GRN_FUNCTIONS_PLUGIN_DIR}" + OPTIONAL) + endif() endif() target_link_libraries(index_column_functions libgroonga) @@ -147,5 +162,10 @@ else() PREFIX "" OUTPUT_NAME "math") install(TARGETS math_functions DESTINATION "${GRN_FUNCTIONS_PLUGIN_DIR}") + if(MSVC AND CMAKE_VERSION VERSION_GREATER "3.1") + install(FILES $<TARGET_PDB_FILE:math_functions> + DESTINATION "${GRN_FUNCTIONS_PLUGIN_DIR}" + OPTIONAL) + endif() endif() target_link_libraries(math_functions libgroonga) -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190403/19139299/attachment-0001.html>