/
andry81
/
ssh-exec
Обзор
Документация
Войти
/
andry81
/
ssh-exec
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
ext/lib/rapidyaml/samples/singleheaderlib/run_shared.sh
10 строк
353 B
andry81
2024.04.21:
22 апр 2024, 00:34
22 апр 2024, 00:34
1472da8
Код
Авторство
О чём код?
#!/bin/bash -x # take the build type from the command line, or default to release cfg=${1:-Release} # make sure to run from where this file is cd $(dirname $0) # configure the sample cmake -S . -B ./build/$cfg-shared -DCMAKE_BUILD_TYPE=$cfg -DBUILD_SHARED_LIBS=ON # build and run the sample cmake --build ./build/$cfg-shared --config $cfg --target run