azure-sdk-for-cpp/cmake-modules/TestProxyPrep.cmake

14 строки
483 B
CMake

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
#
macro(SetUpTestProxy subDir)
# assets.json dir
add_compile_definitions(AZURE_TEST_ASSETS_DIR="${AZ_ROOT_DIR}/${subDir}/")
#copy start stop scripts to the bin folder
file(COPY ${AZ_ROOT_DIR}/eng/scripts/Start-TestProxy.ps1
DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
file(COPY ${AZ_ROOT_DIR}/eng/scripts/Stop-TestProxy.ps1
DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
endmacro()