Introduce nblib nonbonded force calculator impl class
[alexxy/gromacs.git] / api / nblib / CMakeLists.txt
index 31eca82e77a6ffb630b1c8f03cc5927e18f673fd..3619ddb510ee0e76199e1c22114e478be637308a 100644 (file)
@@ -52,14 +52,14 @@ add_custom_target(nblib-tests
 # 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)
@@ -89,8 +89,7 @@ endif()
 target_sources(nblib
         PRIVATE
         box.cpp
-        gmxcalculator.cpp
-        gmxsetup.cpp
+        gmxcalculatorcpu.cpp
         integrator.cpp
         interactions.cpp
         molecules.cpp
@@ -131,7 +130,7 @@ if(GMX_INSTALL_NBLIB_API)
             basicdefinitions.h
             box.h
             exception.h
-            gmxcalculator.h
+            gmxcalculatorcpu.h
             integrator.h
             interactions.h
             molecules.h