зеркало из https://github.com/Azure/azure-umqtt-c.git
use cmake XCode generator for Mac builds
This commit is contained in:
Родитель
a4b434abed
Коммит
42e3d114f6
|
@ -1 +1 @@
|
|||
Subproject commit a013ca31fc6fa51f7db2d04675ba53747ac1d1e9
|
||||
Subproject commit 3d1cd1c4740049de47375c5a11aa4c0d6892a040
|
|
@ -14,7 +14,7 @@ CORES=$(grep -c ^processor /proc/cpuinfo 2>/dev/null || sysctl -n hw.ncpu)
|
|||
rm -r -f $build_folder
|
||||
mkdir -p $build_folder
|
||||
pushd $build_folder
|
||||
cmake .. -DOPENSSL_ROOT_DIR:PATH=/usr/local/opt/openssl -Drun_unittests:bool=ON
|
||||
cmake .. -DOPENSSL_ROOT_DIR:PATH=/usr/local/opt/openssl -Drun_unittests:bool=ON -G Xcode
|
||||
cmake --build . -- --jobs=$CORES
|
||||
ctest -C "debug" -V
|
||||
popd
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
#this is CMakeLists.txt for samples. There's nothing here, except redirections to
|
||||
#individual protocol samples
|
||||
|
||||
usePermissiveRulesForSamplesAndTests()
|
||||
|
||||
function(add_sample_directory whatIsBuilding)
|
||||
add_subdirectory(${whatIsBuilding})
|
||||
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#Copyright (c) Microsoft. All rights reserved.
|
||||
#Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
usePermissiveRulesForSamplesAndTests()
|
||||
|
||||
#this is CMakeLists.txt for the folder tests of mqtt
|
||||
add_subdirectory(mqtt_client_ut)
|
||||
add_subdirectory(mqtt_codec_ut)
|
||||
|
|
Загрузка…
Ссылка в новой задаче