CMAKE buld system should meet everyone's requirements. Enhanced CMake Build System Commit * Supports Linux, Mac, Windows, and Intel® Xeon Phi builds * Supports building with gcc, icc, clang, and Visual Studio compilers * Supports bulding "fat" libraries on OS/X with clang * Details and documentation on how to use build system are in Build_With_CMake.txt * To use the old CMake build system (corresponds to CMakeLists.txt.old), just rename CMakeLists.txt to CMakeLists.txt.other and rename CMakeLists.txt.old to CMakeLists.txt llvm-svn: 214850
15 lines
524 B
CMake
15 lines
524 B
CMake
# This file holds GNU (gcc/g++) specific compiler dependent flags
|
|
# The flag types are:
|
|
# 1) Fortran Compiler flags
|
|
|
|
#########################################################
|
|
# Fortran Compiler flags (for creating .mod files)
|
|
function(append_fortran_compiler_specific_fort_flags input_fort_flags)
|
|
set(local_fort_flags)
|
|
if(${IA32})
|
|
append_fort_flags("-m32")
|
|
append_fort_flags("-msse2")
|
|
endif()
|
|
set(${input_fort_flags} ${${input_fort_flags}} "${local_fort_flags}" PARENT_SCOPE)
|
|
endfunction()
|