Skip to content

Commit

Permalink
compilation: set default CMAKE_BUILD_TYPE=Release
Browse files Browse the repository at this point in the history
  • Loading branch information
fjansson committed Dec 2, 2024
1 parent ab6d1ba commit add8a6e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ cmake_minimum_required( VERSION 3.17 FATAL_ERROR )
list( APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/external/ecbuild/cmake" )
find_package( ecbuild REQUIRED )

### Set default CMAKE build type: Release
if(NOT CMAKE_BUILD_TYPE)
set (CMAKE_BUILD_TYPE RELEASE CACHE STRING
"Choose the type of build, options are: None Debug Release."
FORCE)
endif()

project( DALES VERSION 5.0.0 LANGUAGES Fortran )

# Options
Expand Down

0 comments on commit add8a6e

Please sign in to comment.