Skip to content

Commit 2c0f9a9

Browse files
committed
v1.2.0
1 parent 552826b commit 2c0f9a9

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ cmake_minimum_required(VERSION 3.15) # implicit CMP0094
22
if(NOT CMAKE_BUILD_TYPE)
33
set(CMAKE_BUILD_TYPE Release CACHE STRING "Debug or Release")
44
endif()
5-
project(Fortran2018Examples LANGUAGES C Fortran)
5+
project(Fortran2018Examples
6+
LANGUAGES C Fortran
7+
DESCRIPTION "Example of using modern Fortran syntax"
8+
VERSION 1.2.0)
69
enable_testing()
710

811
set(CTEST_TEST_TIMEOUT 10) # default timeout [seconds]

cmake/compilers.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if(CMAKE_Fortran_COMPILER_ID STREQUAL Intel)
1313
string(APPEND CMAKE_Fortran_FLAGS_DEBUG " -debug extended -check all")
1414
endif()
1515
elseif(CMAKE_Fortran_COMPILER_ID STREQUAL GNU)
16-
add_compile_options(-march=native -Wall -Wextra)
16+
add_compile_options(-mtune=native -Wall -Wextra)
1717
if(CMAKE_Fortran_COMPILER_VERSION VERSION_GREATER_EQUAL 8)
1818
string(APPEND CMAKE_Fortran_FLAGS " -std=f2018")
1919
endif()

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
project('Fortran2018examples', 'fortran', 'c',
2-
version : '1.0.0',
2+
version : '1.2.0',
33
meson_version: '>= 0.52.0',
44
default_options : ['default_library=static', 'buildtype=release', 'warning_level=3', 'cpp_std=c++17'])
55

0 commit comments

Comments
 (0)