Loading CMakeLists.txt +21 −29 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ # Specify the required version of CMake. # cmake 3.10 required for ctest/gtest integration cmake_minimum_required(VERSION 3.10) project(ale VERSION 0.3.0 DESCRIPTION "Abstraction Library for Ephemerides ") project(ale VERSION 0.5.0 DESCRIPTION "Abstraction Library for Ephemerides ") # include what we need include(GNUInstallDirs) Loading Loading @@ -48,14 +48,6 @@ if(BUILD_TESTS) include(CTest) find_package (Threads) target_link_libraries(ale PRIVATE GSL::gsl GSL::gslcblas Python::Python PUBLIC gtest ${CMAKE_THREAD_LIBS_INIT}) enable_testing() add_subdirectory(tests/ctests) Loading tests/ctests/CMakeLists.txt +7 −7 Original line number Diff line number Diff line Loading @@ -6,12 +6,12 @@ file(GLOB test_source "${CMAKE_SOURCE_DIR}/tests/ctests/*.cpp") # setup test executable add_executable(runAleTests ${test_source}) target_link_libraries(runAleTests PRIVATE ale GSL::gsl GSL::gslcblas Eigen3::Eigen ${GTEST_LIBRARIES} ${GTEST_MAIN_LIBRARIES} pthread) gtest Threads::Threads) gtest_discover_tests(runAleTests WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/tests/ctests) Loading
CMakeLists.txt +21 −29 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ # Specify the required version of CMake. # cmake 3.10 required for ctest/gtest integration cmake_minimum_required(VERSION 3.10) project(ale VERSION 0.3.0 DESCRIPTION "Abstraction Library for Ephemerides ") project(ale VERSION 0.5.0 DESCRIPTION "Abstraction Library for Ephemerides ") # include what we need include(GNUInstallDirs) Loading Loading @@ -48,14 +48,6 @@ if(BUILD_TESTS) include(CTest) find_package (Threads) target_link_libraries(ale PRIVATE GSL::gsl GSL::gslcblas Python::Python PUBLIC gtest ${CMAKE_THREAD_LIBS_INIT}) enable_testing() add_subdirectory(tests/ctests) Loading
tests/ctests/CMakeLists.txt +7 −7 Original line number Diff line number Diff line Loading @@ -6,12 +6,12 @@ file(GLOB test_source "${CMAKE_SOURCE_DIR}/tests/ctests/*.cpp") # setup test executable add_executable(runAleTests ${test_source}) target_link_libraries(runAleTests PRIVATE ale GSL::gsl GSL::gslcblas Eigen3::Eigen ${GTEST_LIBRARIES} ${GTEST_MAIN_LIBRARIES} pthread) gtest Threads::Threads) gtest_discover_tests(runAleTests WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/tests/ctests)