#--------------------------------------------------- # Force comparison test #---------------------------------------------------- # 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(argon) # Define include directories INCLUDE_DIRECTORIES( "$ENV{OPENMM_INSTALL_DIR}/include" ) LINK_DIRECTORIES( "$ENV{OPENMM_INSTALL_DIR}/lib" ) # BOOST INCLUDE_DIRECTORIES(BEFORE /opt/local/include) FIND_LIBRARY(BOOST_LIBRARY boost_serialization-mt PATH /opt/local/lib) # Define the executables ADD_EXECUTABLE(boost-serialization-test boost-serialization-test.cpp) # Add link libraries TARGET_LINK_LIBRARIES(boost-serialization-test OpenMM ${BOOST_LIBRARY}) # Define the executables ADD_EXECUTABLE(amber-serialization-test amber-serialization-test.cpp amber.C amber.h parm.C parm.h strlib.C strlib.h) # Add link libraries TARGET_LINK_LIBRARIES(amber-serialization-test OpenMM ${BOOST_LIBRARY})