CMakeLists.txt 507 Bytes
Newer Older
1
set(CMAKE_LEGACY_CYGWIN_WIN32 0)
2 3 4
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
project(AMDiS)

5
if (USE_NEW_CMAKE AND ${CMAKE_VERSION} VERSION_GREATER "3.2")
6 7 8
    # 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 :-)
9
    include(${AMDiS_SOURCE_DIR}/cmake3/CMakeLists.txt)
10 11
else ()
    # By defualt the classical CMakeLists file ist used
12
    include(${AMDiS_SOURCE_DIR}/cmake/CMakeLists.txt)
13
endif ()