CMakeLists.txt 482 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
project(AMDiS)

if (USE_NEW_CMAKE AND ${CMAKE_VERSION} VERSION_GREATER "3.0")
    # Experimental implementation of new CMakeLists.txt
    # Can be selected by calling cmake -DUSE_NEW_CMAKE=ON .
    # Use only if you know what you are doing :-)
    include(${AMDiS_SOURCE_DIR}/cmake3/CMakeLists_3.0.txt)
else ()
    # By defualt the classical CMakeLists file ist used
    include(${AMDiS_SOURCE_DIR}/cmake/CMakeLists_2.8.txt)
endif ()