Skip to content
  • Brad King's avatar
    Intel: Do not use GNU-like flags on Windows · f9dbe22c
    Brad King authored
    Refactor options out of `Modules/Compiler/Intel-{ASM,C,CXX,Fortran}.cmake`
    into a common helper in `Modules/Compiler/Intel.cmake`.  Condition
    them to be used only on non-Windows hosts where the Intel compiler
    is GNU-like instead of MSVC-like.
    
    Previously this worked only because the options were later overridden
    by `Modules/Platform/Windows-Intel*.cmake`, but it is cleaner to not
    set the options in the first place.
    f9dbe22c