# Ensure that "make tests" builds all nblib tests so the top-level
# "make check" will work.
if (BUILD_TESTING)
- add_dependencies(tests nblib-tests)
+ add_dependencies(tests nblib-tests)
- # this allows all nblib tests to be run with "make check-nblib"
- add_custom_target(check-nblib
- COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -R NbLib
- COMMENT "Running nblib tests"
- USES_TERMINAL VERBATIM)
- add_dependencies(check-nblib nblib-tests)
+ # this allows all nblib tests to be run with "make check-nblib"
+ add_custom_target(check-nblib
+ COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -R NbLib
+ COMMENT "Running nblib tests"
+ USES_TERMINAL VERBATIM)
+ add_dependencies(check-nblib nblib-tests)
endif()
set(NBLIB_MAJOR 0)
target_sources(nblib
PRIVATE
box.cpp
- gmxcalculator.cpp
- gmxsetup.cpp
+ gmxcalculatorcpu.cpp
integrator.cpp
interactions.cpp
molecules.cpp
basicdefinitions.h
box.h
exception.h
- gmxcalculator.h
+ gmxcalculatorcpu.h
integrator.h
interactions.h
molecules.h