Skip to content

Commit 28b57f2

Browse files
committed
Update CMake
1 parent 9a1eac3 commit 28b57f2

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

export.sh

+8
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ function cmake_i()
6363
}
6464

6565
jobs=$(grep -c processor /proc/cpuinfo) || jobs=$(sysctl -n hw.ncpu)
66+
67+
real_framework_path=$(realpath Framework)
68+
mv Framework FrameworkSym || exit
69+
cp "${real_framework_path}" . -r || exit
70+
6671
cd Exported/ || exit
6772

6873
find_visual_studio_directory
@@ -87,5 +92,8 @@ cmake --install . --prefix="$2" || exit
8792
process_files "$1"
8893
mv "CMakeLists.txt.old" "CMakeLists.txt"
8994

95+
rm -rf Framework || exit
96+
mv FrameworkSym Framework || exit
97+
9098
echo -e "\x1B[32m--------------------------------------------------------------------------------\033[0m"
9199
echo -e "\x1B[32mBuild Done!\033[0m"

0 commit comments

Comments
 (0)