SET(CMAKE_Fortran_COMPILER_SUPPORTS_F900) ENDIF(CMAKE_Fortran_COMPILER_SUPPORTS_F90) UNSET(CMAKE_Fortran_COMPILER_SUPPORTS_F90CACHE) ENDIF(NOTDEFINEDCMAKE_Fortran_COMPILER_SUPPORTS_F90) CONFIGURE_FILE( ${CMAKE_ROOT}/Modules/CMakeFortranCompiler.cmake.in ...
SET(CMAKE_Fortran_COMPILER_ARG1 "${CMAKE_Fortran_FLAGS_ENV_INIT}" CACHE STRING "First argument to Fortran compiler") ENDIF(CMAKE_Fortran_FLAGS_ENV_INIT) IF(EXISTS ${CMAKE_Fortran_COMPILER_INIT}) ELSE(EXISTS ${CMAKE_Fortran_COMPILER_INIT}) MESSAGE(FATAL_ERROR "Could not find compiler set...
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...
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> [CMake] CMa...
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...
This seems to set up all the correct libraries et cetera for my project. When I use cmake (2.8.10.2) I can not seem to figure out how to have it generate the Visual Studio project file with the same defaults. And I can not seem to see how to change the cmake generated Visual ...
SET(CMAKE_Fortran_COMPILER_ABI "ELF") IF(CMAKE_Fortran_SIZEOF_DATA_PTR AND NOT CMAKE_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}") ENDIF(CMAKE...
set(CMAKE_Fortran_COMPILER_ARG1 "${CMAKE_Fortran_FLAGS_ENV_INIT}" CACHE STRING "Arguments to Fortran compiler") endif() if(EXISTS ${CMAKE_Fortran_COMPILER_INIT}) else() message(FATAL_ERROR "Could not find compiler set in environment variable FC:\n$ENV{FC}.") endif() e...
(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 ...
(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 p...