SET(CMAKE_Fortran_COMPILER"${CMAKE_Fortran_COMPILER_INIT}"CACHEFILEPATH"Fortran compiler"FORCE) ENDIF(CMAKE_Fortran_COMPILER_INITANDNOTCMAKE_Fortran_COMPILER) ELSE(NOTCMAKE_Fortran_COMPILER) #weonlygethereifCMAKE_Fortran_COMPILERwasspecifiedusing-Dorapre-madeCMakeCache.txt ...
IF(CMAKE_Fortran_SIZEOF_DATA_PTRANDNOTCMAKE_SIZEOF_VOID_P) SET(CMAKE_SIZEOF_VOID_P"${CMAKE_Fortran_SIZEOF_DATA_PTR}") ENDIF() IF(CMAKE_Fortran_COMPILER_ABI) SET(CMAKE_INTERNAL_PLATFORM_ABI"${CMAKE_Fortran_COMPILER_ABI}")
set(CMAKE_Fortran_COMPILER_WORKS ${CMAKE_Fortran_COMPILER_WORKS}) unset(CMAKE_Fortran_COMPILER_WORKS CACHE) set(FORTRAN_TEST_WAS_RUN 1) endif() if(NOT CMAKE_Fortran_COMPILER_WORKS) PrintTestCompilerResult(CHECK_FAIL "broken") file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIR...
(NOT CMAKE_COMPILER_RETURN) if(CMAKE_COMPILER_OUTPUT MATCHES "THIS_IS_MINGW") set(CMAKE_Fortran_PLATFORM_ID "MinGW") endif() if(CMAKE_COMPILER_OUTPUT MATCHES "THIS_IS_CYGWIN") set(CMAKE_Fortran_PLATFORM_ID "Cygwin") endif() endif() endif() # Set old compiler and ...
1> [CMake] 1> [CMake] -- Detecting Fortran compiler ABI info 1> [CMake] CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. 1> [CMake] Missing variable is: 1> [CMake] CMAKE_Fortran_PREPROCESS_SOURCE 1> [...
1> [CMake] 1> [CMake] -- Detecting Fortran compiler ABI info 1> [CMake] CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. 1> [CMake] Missing variable is: 1> [CMake] CMAKE_Fortran_PREPROCESS_SOURCE 1> [...
The CMake build files currently set options using the add_compile_options function, which adds the respective argument independently from the actual build configuration (we call it profile in fpm). For context: The CMake build configurat...
(NOT CMAKE_COMPILER_RETURN) if(CMAKE_COMPILER_OUTPUT MATCHES "THIS_IS_MINGW") set(CMAKE_Fortran_PLATFORM_ID "MinGW") endif() if(CMAKE_COMPILER_OUTPUT MATCHES "THIS_IS_CYGWIN") set(CMAKE_Fortran_PLATFORM_ID "Cygwin") endif() endif() endif() # Set old compiler and...
1> [CMake] 1> [CMake] -- Detecting Fortran compiler ABI info 1> [CMake] CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. 1> [CMake] Missing variable is: 1> [CMake] CMAKE_Fortran_PREPROCESS_SOURCE 1> [...
1> [CMake] 1> [CMake] -- Detecting Fortran compiler ABI info 1> [CMake] CMake Error: Error required internal CMake variable not set, cmake may not be built correctly. 1> [CMake] Missing variable is: 1> [CMake] CMAKE_Fortran_PREPROCESS_SOURCE 1> [...