compile_tests.sh

来自「c语言是面向过程的程序语言」· Shell 代码 · 共 17 行

SH
17
字号
#!/bin/shset -x# OOPC tests./compile.sh -DDEBUG_OBJ -DDEBUG_MEM example.c test_example.c -o test_example./compile.sh -DDEBUG_OBJ -DDEBUG_MEM person.c employee.c education.c manager.c test_manager.c -o test_manager./compile.sh -DDEBUG_OBJ -DDEBUG_MEM memBlock.c array.c test_array.c -o test_array -lm./compile.sh test_exception.c -o test_exception -lm./compile.sh -DDEBUG_CALL -DDEBUG_MEM -DDEBUG_THROW test_protection.c -o test_protection -lm# C++ tests./compile-cpp.sh test_example.C -o cpp-test_example./compile-cpp.sh person.C employee.C education.C manager.C test_manager.C -o cpp-test_manager

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?