CMakeLists.txt 576 Bytes
Newer Older
Daniel Wortmann's avatar
Daniel Wortmann committed
1 2 3 4 5 6
cmake_minimum_required(VERSION 3.0)
#Some stuff might be defined in config file
if (EXISTS "${CMAKE_BINARY_DIR}/config.cmake")
   include("${CMAKE_BINARY_DIR}/config.cmake")
endif()

7 8 9
project(FLEUR LANGUAGES C Fortran)

include("cmake/CompilerConfig.txt")
10 11

include("cmake/ReportConfig.txt")
12
include("cmake/Generate_Schema.cmake")
13 14
include("cmake/Files_and_Targets.txt")

15 16
include("cmake/filespecific.cmake")

17 18 19 20 21
#install(TARGETS fleur inpgen DESTINATION bin)
install(PROGRAMS ${CMAKE_BINARY_DIR}/fleur 
        CONFIGURATIONS Debug
        DESTINATION bin
        RENAME fleur_dbg)