Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/UCAR/ioda
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Todling committed Nov 16, 2017
2 parents cc2c6e2 + 05e492a commit 081820f
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,28 +1,37 @@
# (C) Copyright 2017 UCAR.
#
# This software is licensed under the terms of the Apache Licence Version 2.0
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.

################################################################################
# IODA
################################################################################

cmake_minimum_required( VERSION 2.8.4 FATAL_ERROR )
cmake_minimum_required( VERSION 3.3.2 FATAL_ERROR )

project( ioda C CXX Fortran )

set( CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH} )
set( CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake;${CMAKE_MODULE_PATH} )

set( ECBUILD_DEFAULT_BUILD_TYPE Release )
set( ENABLE_OS_TESTS OFF CACHE BOOL "Disable OS tests" FORCE )
set( ENABLE_LARGE_FILE_SUPPORT OFF CACHE BOOL "Disable testing of large file support" FORCE )
set( ENABLE_MPI ON CACHE BOOL "Compile with MPI" )

include( ecbuild_system NO_POLICY_SCOPE )

ecbuild_requires_macro_version( 2.5 )

################################################################################
# IODA project
# Project
################################################################################

ecbuild_declare_project()

ecbuild_enable_fortran( REQUIRED )
ecbuild_add_cxx11_flags()

set( UFO_LINKER_LANGUAGE Fortran )

################################################################################
# Dependencies
Expand Down Expand Up @@ -56,8 +65,6 @@ endforeach()
# Sources
################################################################################

set( IODA_LINKER_LANGUAGE Fortran )

include( ioda_compiler_flags )
include_directories( ${IODA_INCLUDE_DIRS} ${IODA_EXTRA_INCLUDE_DIRS} )
add_subdirectory( src )
Expand Down
Empty file modified cmake/compiler_flags_Cray_Fortran.cmake
100755 → 100644
Empty file.
Empty file modified cmake/compiler_flags_GNU_Fortran.cmake
100755 → 100644
Empty file.
Empty file modified cmake/compiler_flags_Intel_Fortran.cmake
100755 → 100644
Empty file.
Empty file modified cmake/compiler_flags_XL_Fortran.cmake
100755 → 100644
Empty file.
Empty file modified cmake/ioda_compiler_flags.cmake
100755 → 100644
Empty file.

0 comments on commit 081820f

Please sign in to comment.