修改CMake添加install和deploy文件

This commit is contained in:
2025-11-27 15:02:18 +08:00
parent aedba5813f
commit 98dcfa1520
2 changed files with 79 additions and 1 deletions

10
deploy.sh Normal file
View File

@@ -0,0 +1,10 @@
mkdir -p deploy
ldd touchsensor.exe \
| awk '/=> \// {print $3}' \
| grep -vi 'windows' \
| sort -u \
| while read -r dll; do
echo "拷贝 $dll"
cp -u "$dll" deploy/
done