################################################################################ ## ## Copyright (c) 2007-2009 Illumina, Inc. ## ## This software is covered by the "Illumina Genome Analyzer Software ## License Agreement" and the "Illumina Source Code License Agreement", ## and certain third party copyright/licenses, and any user of this ## source file is bound by the terms therein (see accompanying files ## Illumina_Genome_Analyzer_Software_License_Agreement.pdf and ## Illumina_Source_Code_License_Agreement.pdf and third party ## copyright/license notices). ## ## This file is part of the Consensus Assessment of Sequence And VAriation ## (CASAVA) software package. ## ## file cppunit.cmake ## ## Configuration file for the cppunit subfolders ## ## author Roman Petrovski ## ################################################################################ foreach (CASAVA_DEST_DIR ${CASAVA_DEST_DIRS}) message (STATUS "Testing access to ${CASAVA_DEST_DIR}...") execute_process(COMMAND "${CMAKE_COMMAND}" "-E" "make_directory" "${CASAVA_DEST_DIR}/test" RESULT_VARIABLE TMP_RESULT ) if (TMP_RESULT) message (STATUS "ERROR: Directory is not writeable: ${CASAVA_DEST_DIR}") message (STATUS "If you don't have administrator access to the " "target installation location, please use --prefix " "command-line option when configuring CASAVA. " "Please use configure --help for all installer " "command-line options details.") message (FATAL_ERROR "ERROR: CASAVA installation cannot continue") else (TMP_RESULT) # execute_process(COMMAND "${CMAKE_COMMAND}" "-E" "remove_directory" "${CASAVA_DEST_DIR}/test" ) message (STATUS "Directory is writeable: ${CASAVA_DEST_DIR}") endif (TMP_RESULT) endforeach (CASAVA_DEST_DIR ${CASAVA_DEST_DIRS})