File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
- set (IO_READER_SOURCE pio_reader.F90 pio_reader_sub.F90 ${CMAKE_CURRENT_SOURCE_DIR} /../ncar_ccpp/phys_utils/ccpp_io_reader.F90 ${CMAKE_CURRENT_SOURCE_DIR} /../../../share/src/shr_kind_mod.F90)
1
+ set (IO_READER_SOURCE pio_reader.F90
2
+ pio_reader_sub.F90
3
+ ${CMAKE_CURRENT_SOURCE_DIR} /../ncar_ccpp/phys_utils/ccpp_io_reader.F90
4
+ ${CMAKE_CURRENT_SOURCE_DIR} /../../../share/src/shr_kind_mod.F90)
2
5
3
6
# io_reader is not integrated into the CMake build of any top level
4
7
# project yet and this CMake is for testing purposes only.
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ endif()
15
15
16
16
# Overwrite the init flags chosen by CMake
17
17
if (${CMAKE_Fortran_COMPILER_ID} MATCHES "GNU" )
18
- add_compile_options (-ffree-line-length -none -std=f2018 )
18
+ add_compile_options (-ffree-line-length -none)
19
19
endif ()
20
20
21
21
if (CAM_SIMA_ENABLE_CODE_COVERAGE)
@@ -34,15 +34,17 @@ if(CAM_SIMA_ENABLE_TESTS OR CAM_SIMA_ENABLE_CODE_COVERAGE OR CAM_SIMA_ENABLE_IO_
34
34
add_subdirectory (src/core_utils)
35
35
endif ()
36
36
if (CAM_SIMA_ENABLE_IO_TESTS)
37
- find_package (MPI REQUIRED COMPONENTS Fortran C)
38
37
list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR} /cmake" )
38
+
39
+ find_package (MPI REQUIRED COMPONENTS Fortran C)
39
40
find_package (NetCDF REQUIRED COMPONENTS Fortran C)
40
41
find_package (PIO REQUIRED COMPONENTS Fortran C)
41
42
42
43
add_subdirectory (ccpp_framework_stub)
43
44
add_subdirectory (mock_routines)
44
45
45
- add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /../../../src/physics/utils ${CMAKE_CURRENT_BINARY_DIR} /src/physics/utils)
46
+ add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /../../../src/physics/utils
47
+ ${CMAKE_CURRENT_BINARY_DIR} /src/physics/utils)
46
48
47
49
add_subdirectory (src/pio_reader)
48
50
endif ()
Original file line number Diff line number Diff line change 1
- add_library (ccpp_framework ccpp_kinds.F90)
1
+ add_library (ccpp_framework ccpp_kinds.F90)
2
+
You can’t perform that action at this time.
0 commit comments