################################################################################ ## ## 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 CMakeLists.txt ## ## Configuration file for the c++ subfolder ## ## author Come Raczy ## ################################################################################ set(CMAKE_SKIP_BUILD_RPATH FALSE) set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) set (CASAVA_CXX_EXECUTABLE_CMAKE "${CMAKE_SOURCE_DIR}/cmake/cxxExecutable.cmake") set (CASAVA_CXX_LIBRARY_CMAKE "${CMAKE_SOURCE_DIR}/cmake/cxxLibrary.cmake") set (CASAVA_CXX_CONFIGURE_CMAKE "${CMAKE_SOURCE_DIR}/cmake/cxxConfigure.cmake") set(CASAVA_CXX_CONFIG_H_DIR ${CMAKE_CURRENT_BINARY_DIR}/common) include ("${CASAVA_CXX_CONFIGURE_CMAKE}") if (HAVE_CPPUNIT AND CASAVA_UNIT_TESTS) set (CASAVA_CPPUNIT_CMAKE "${CMAKE_SOURCE_DIR}/cmake/cppunit.cmake") add_subdirectory (unittest) endif (HAVE_CPPUNIT AND CASAVA_UNIT_TESTS) ## ## The include directories ## set (CASAVA_CXX_ALL_INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/include") ## ## Build all the libraries for the project ## add_subdirectory (lib) ## ## build all the applications for the project ## add_subdirectory (bin) ## ## build all the internal applications for the project ## add_subdirectory (libexec) ## ## build the documentation when available ## include (FindDoxygen) message (STATUS "Doxygen: ${DOXYGEN_EXECUTABLE}. Dot: ${DOXYGEN_DOT_EXECUTABLE}.") if (DOXYGEN_FOUND) set (DOXYFILE ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile) message (STATUS "Creating Doxygen config file: ${DOXYFILE}") configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${DOXYFILE} @ONLY IMMEDIATE) add_custom_target(doc ${DOXYGEN_EXECUTABLE} ${DOXYFILE}) endif (DOXYGEN_FOUND)