mirror of https://gitee.com/bigwinds/arangodb
fix windows build
This commit is contained in:
parent
7ccc20d3e4
commit
f637cfdeeb
|
@ -111,10 +111,11 @@ add_custom_target(remove_packages
|
|||
|
||||
list(APPEND CLEAN_PACKAGES_LIST remove_packages)
|
||||
|
||||
if (NOT ${ENV{SYMSRV}} STREQUAL "")
|
||||
set(SYMSRVDIR $ENV{SYMSRV})
|
||||
if (NOT ${SYMSRVDIR} STREQUAL "")
|
||||
message("Storing symbols:")
|
||||
add_custom_command(TARGET ${BIN_ARANGOD} POST_BUILD
|
||||
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
|
||||
COMMAND "find -name \*pdb |grep -v Release |grep -v Debug |grep -v 3rdParty |grep -v vc120.pdb > pdbfiles_list.txt"
|
||||
COMMAND "symstore.exe add /f '@${PROJECT_BINARY_DIR}/pdbfiles_list.txt' /s '${ENV{SYMSRV}}' /t ArangoDB /compress")
|
||||
COMMAND "symstore.exe add /f '@${PROJECT_BINARY_DIR}/pdbfiles_list.txt' /s '${SYMSRVDIR}' /t ArangoDB /compress")
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue