12345678910111213141516171819202122 |
- cd ./test/
- rm -rf *
- echo "开始构建"
- g++ -O3 ../CRTP.cpp -o CRTP -std=c++20
- g++ -O3 ../builder.cpp -o builder -std=c++20
- g++ -O3 ../factory.cpp -o factory -std=c++20
- g++ -O3 ../signal.cpp -o signal -std=c++20
- g++ -O3 ../adapter.cpp -o adapter -std=c++20
- g++ -O3 ../bridge.cpp -o bridge -std=c++20
- echo "开始运行"
- echo "--builder.cpp"
- ./builder
- echo "--CRTP.cpp"
- ./CRTP
- echo "--factory.cpp"
- ./factory
- echo "--signal.cpp"
- ./signal
- echo "--adapter.cpp"
- ./adapter
- echo "--bridge.cpp"
- ./bridge
|