#--------------------------------------------------- # Yank # # Creates Yank executable #---------------------------------------------------- # On Linux it appears that cmake 2.4 does not work with Cuda cmake rules CMAKE_MINIMUM_REQUIRED(VERSION 2.6) # Define the project PROJECT(serialization-test) # Define include directories INCLUDE_DIRECTORIES( "$ENV{OPENMM_INSTALL_DIR}/include" ) LINK_DIRECTORIES( "$ENV{OPENMM_INSTALL_DIR}/lib" ) # Define the executables ADD_EXECUTABLE(serialization-test serialization-test.cpp amber.C amber.h parm.C parm.h strlib.C strlib.h) ADD_EXECUTABLE(read-serialized-xml read-serialized-xml.cpp) # Add link libraries TARGET_LINK_LIBRARIES(serialization-test OpenMM OpenMMSerialization) TARGET_LINK_LIBRARIES(read-serialized-xml OpenMM OpenMMSerialization)