Skip to content

Commit

Permalink
use cmake 3
Browse files Browse the repository at this point in the history
your cmake_minimum is 3.10 so you can use modern cmake code
good description https://habr.com/ru/articles/527228/comments/#comment_22292568
  • Loading branch information
AndreiCherniaev committed Feb 11, 2024
1 parent 9bf1493 commit da01c96
Showing 1 changed file with 13 additions and 18 deletions.
31 changes: 13 additions & 18 deletions build_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,17 @@ if [ "$EUID" -ne 0 ]
exit
fi
cd IMSProg_programmer
rm -rf build
mkdir build
cd build
cmake ..
make -j4
sudo make install
cd ..
rm -rf build
cd ..
rm -rf build/
mkdir build/
cmake -S . -B build/
cmake --build build/ --parallel
sudo cmake --install build/
rm -rf build/
cd .. #IMSProg
cd IMSProg_editor
rm -rf build
mkdir build
cd build
cmake ..
make -j4
sudo make install
cd ..
rm -rf build
cd ..
rm -rf build/
mkdir build/
cmake -S . -B build/
cmake --build build/ --parallel
sudo cmake --install build/
rm -rf build/

0 comments on commit da01c96

Please sign in to comment.