# # CMake project file for UNRES # cmake_minimum_required(VERSION 2.8) project(unrespack C Fortran) set(UNRES_MAJOR 3) set(UNRES_MINOR 1) set(UNRES_PATCH 0) set(UNRES_VERSION ${SIMPLE_MAJOR}.${SIMPLE_MINOR}.${SIMPLE_PATCH}) enable_language (Fortran) # make sure that the default is a RELEASE if (NOT CMAKE_BUILD_TYPE) set (CMAKE_BUILD_TYPE RELEASE CACHE STRING "Choose the type of build, options are: None Debug Release." FORCE) endif (NOT CMAKE_BUILD_TYPE) # Set the force field if (NOT UNRES_FF) set(UNRES_FF "GAB" "E0LL2Y" CACHE STRING "Choose the force field, options are: GAB E0LL2Y " ) #message ( "Please set the Force field (UNRES_FF) to : GAB, 0ELE" ) endif (NOT UNRES_FF) add_subdirectory(source)