Skip to content
Snippets Groups Projects
Configure.h.in 730 B
Newer Older
  • Learn to ignore specific revisions
  • Lars Bilke's avatar
    Lars Bilke committed
     * Copyright (c) 2012, OpenGeoSys Community (http://www.opengeosys.net)
     *            Distributed under a Modified BSD License.
     *              See accompanying file LICENSE.txt or
     *              http://www.opengeosys.net/LICENSE.txt
     *
     *
    
     * \file Configure.h.in
     *
     * #defines which gets set through CMake
     */
    
     #ifndef CONFIGURE_H
     #define CONFIGURE_H
    
    #define OGS_QT_VERSION ${QT_VERSION_MAJOR}${QT_VERSION_MINOR}
    
    #define SOURCEPATH "${CMAKE_SOURCE_DIR}"
    
    
    #cmakedefine OGS_VERSION "${OGS_VERSION}"
    #cmakedefine OGS_DATE "${OGS_DATE}"
    
    // for tests
    #cmakedefine OGS_EXECUTABLE "${OGS_EXECUTABLE}"
    #define PUT_TMP_DIR_IN "${PROJECT_BINARY_DIR}/tests/"
    
    #cmakedefine PROCESSOR_COUNT ${PROCESSOR_COUNT}
    
    #endif // CONFIGURE_H