cmake_minimum_required(VERSION2.6)project(DIAGRTBFortran)option(EXAMPLES"Instal additional example files"OFF)add_executable(diagrtbdiagrtb.f)install(TARGETSdiagrtbDESTINATIONbin)install(FILESdiagrtb.READMEDESTINATIONshare/doc/diagrtb)if(EXAMPLES)install(DIRECTORY../Try_RTB2011DESTINATIONshare/diagrtb/examples)endif(EXAMPLES)