tCMakeLists.txt - pism - [fork] customized build of PISM, the parallel ice sheet model (tillflux branch) (HTM) git clone git://src.adamsgaard.dk/pism (DIR) Log (DIR) Files (DIR) Refs (DIR) LICENSE --- tCMakeLists.txt (690B) --- 1 find_program(CUT_EXECUTABLE cut) 2 find_program(SED_EXECUTABLE sed) 3 find_program(XARGS_EXECUTABLE xargs) 4 mark_as_advanced(CUT_EXECUTABLE SED_EXECUTABLE XARGS_EXECUTABLE) 5 6 execute_process( 7 COMMAND ${CUT_EXECUTABLE} -f1 -d, ${Pism_SOURCE_DIR}/doc/sphinx/installation/debian-packages.csv 8 COMMAND ${XARGS_EXECUTABLE} 9 COMMAND ${SED_EXECUTABLE} "s/``//g;s/libx11-dev//;s/ncview//;s/cdo//" 10 OUTPUT_VARIABLE PISM_DEBIAN_PACKAGE_LIST 11 OUTPUT_STRIP_TRAILING_WHITESPACE) 12 mark_as_advanced(PISM_DEBIAN_PACKAGE_LIST) 13 14 set(DOCKER_USERNAME "ckhrulev" CACHE STRING "Docker user name to use when building images") 15 mark_as_advanced(DOCKER_USERNAME) 16 17 add_subdirectory(ubuntu) 18 add_subdirectory(archlinux)