This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module string_mod | |
implicit none | |
private | |
public string_t | |
type :: string_t | |
private | |
character(len=:), allocatable :: chars | |
integer :: n = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required (VERSION 3.2 FATAL_ERROR) | |
# Enable CTest | |
enable_testing() | |
# This assumes that you've already cloned the pFUnit source code, built and installed it (make install) | |
# to a suitable location on your computer. Adding search paths using the PATHS argument is often necessary. | |
# See https://cmake.org/cmake/help/v3.0/command/find_package.html for more information. | |
# Note that the pFUnit package will be OS, compiler and compiler version dependent as it distributes Fortran mod-files. | |
find_package("pFUnit" REQUIRED) |