2 # CMake project file for UNRES
4 cmake_minimum_required(VERSION 2.8)
6 project(unrespack C Fortran)
10 set(UNRES_VERSION ${SIMPLE_MAJOR}.${SIMPLE_MINOR}.${SIMPLE_PATCH})
12 enable_language (Fortran)
14 # make sure that the default is a RELEASE
15 if (NOT CMAKE_BUILD_TYPE)
16 set (CMAKE_BUILD_TYPE RELEASE CACHE STRING
17 "Choose the type of build, options are: None Debug Release."
19 endif (NOT CMAKE_BUILD_TYPE)
24 set(UNRES_FF "GAB" "E0LL2Y" CACHE STRING "Choose the force field, options are: GAB E0LL2Y " )
25 #message ( "Please set the Force field (UNRES_FF) to : GAB, 0ELE" )
28 add_subdirectory(source)