Skip to content

Commit

Permalink
Update CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
Madman10K committed Aug 25, 2023
1 parent 9a1eac3 commit 28b57f2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions export.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ function cmake_i()
}

jobs=$(grep -c processor /proc/cpuinfo) || jobs=$(sysctl -n hw.ncpu)

real_framework_path=$(realpath Framework)
mv Framework FrameworkSym || exit
cp "${real_framework_path}" . -r || exit

cd Exported/ || exit

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

rm -rf Framework || exit
mv FrameworkSym Framework || exit

echo -e "\x1B[32m--------------------------------------------------------------------------------\033[0m"
echo -e "\x1B[32mBuild Done!\033[0m"

0 comments on commit 28b57f2

Please sign in to comment.