mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-01 03:11:08 -06:00
Ancient CMake versions required upper-case commands. Later command
names became case-insensitive. Now the preferred style is lower-case.
Run the following shell code:
cmake --help-command-list |
grep -v "cmake version" |
while read c; do
echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
done >convert.sed &&
git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
xargs -0 sed -i -f convert.sed &&
rm convert.sed
12 lines
543 B
CMake
12 lines
543 B
CMake
include(Platform/Windows-Intel)
|
|
set(CMAKE_BUILD_TYPE_INIT Debug)
|
|
set(_COMPILE_Fortran " /fpp")
|
|
set(CMAKE_Fortran_MODDIR_FLAG "-module:")
|
|
set(CMAKE_Fortran_STANDARD_LIBRARIES_INIT "user32.lib")
|
|
__windows_compiler_intel(Fortran)
|
|
set (CMAKE_Fortran_FLAGS_INIT "/W1 /nologo /fpp /libs:dll /threads")
|
|
set (CMAKE_Fortran_FLAGS_DEBUG_INIT "/debug:full /dbglibs")
|
|
set (CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "/O1 /D NDEBUG")
|
|
set (CMAKE_Fortran_FLAGS_RELEASE_INIT "/O2 /D NDEBUG")
|
|
set (CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT "/O2 /debug:full /D NDEBUG")
|