此为离散数学二实验代码
git clone https://github.com/00nico00/AlgebraicSystem.git
接着删除 CMakeLists.txt
中的:
set(TEST-SOURCES
test/main.cpp
)
add_executable(Test ${HEADERS} ${TEST-SOURCES})
find_package(GTest CONFIG REQUIRED)
target_link_libraries(Test PRIVATE GTest::gmock GTest::gtest GTest::gmock_main GTest::gtest_main)
使用对于 IDE (CLion 或 Visual Studio)打开编译即可
mkdir build
cd build
cmake ..
cmake --build build
./AlgebraicSystem.exe