buid.sh 205 B

123456789
  1. rm -rf *
  2. echo "开始构建"
  3. g++ -O3 ../CRTP.cpp -o CRTP -std=c++20
  4. g++ -O3 ../builder.cpp -o builder -std=c++20
  5. g++ -O3 ../factory.cpp -o factory -std=c++20
  6. echo "开始运行"
  7. ./builder
  8. ./CRTP
  9. ./factory