diff --git a/CMakeLists.txt b/CMakeLists.txt index 3ae9a53..31b6929 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,49 +1,49 @@ # Minimum version of CMake required to build this project cmake_minimum_required(VERSION 3.0) # Name of the project -project(pscsproject) +project(pcscproject) -add_executable(pscsproject main.cpp functions.cpp functions.h) +add_executable(pcscproject main.cpp functions.cpp functions.h) add_subdirectory(ODElibrary) target_link_libraries(pcscproject ODElibrary) find_package (Eigen3 3.3 REQUIRED NO_MODULE) target_link_libraries (pcscproject Eigen3::Eigen) target_link_libraries (pcscproject gtest_main) # Testing include(GoogleTest) enable_testing() find_package(GTest) if (GTEST_FOUND) include_directories(${GTEST_INCLUDE_DIRS}) add_executable(testEuler tests/testEulerSolver.cpp ODElibrary) add_executable(testRK tests/testRungeKuttaSolver.cpp ODElibrary) add_executable(testsBDF tests/testBDF.cpp ODElibrary) add_executable(testAM tests/testAdamsMoulton.cpp ODElibrary) add_executable(testAB tests/testAdamBashforth.cpp ODElibrary) target_link_libraries(testEuler ${GTEST_BOTH_LIBRARIES} pthread ODElibrary) target_link_libraries(testRK ${GTEST_BOTH_LIBRARIES} pthread ODElibrary) target_link_libraries(testsBDF ${GTEST_BOTH_LIBRARIES} pthread ODElibrary) target_link_libraries(testAM ${GTEST_BOTH_LIBRARIES} pthread ODElibrary) target_link_libraries(testAB ${GTEST_BOTH_LIBRARIES} pthread ODElibrary) gtest_discover_tests(testEuler) gtest_discover_tests(testRK) gtest_discover_tests(testsBDF) gtest_discover_tests(testAM) gtest_discover_tests(testAB) endif()