summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'msvc-c++23'Brad King2021-10-121-0/+1
|\ | | | | | | | | | | | | | | ef47e18ad0 MSVC: Tolerate cxx_std_23 feature on older compiler versions Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !6614
| * MSVC: Tolerate cxx_std_23 feature on older compiler versionsBrad King2021-10-071-0/+1
| | | | | | | | | | | | | | | | | | | | In commit 3aaf1d91bf (MSVC: C++20 final flag, C++23 support, 2021-05-29, v3.20.4~7^2~1) we forgot to add `cxx_std_23` to the fallback table for MSVC versions from VS 2010 through VS 2015. This allows project to at least attempt compilation with these compilers since they do not have any modes. Issue: #22729
* | Merge topic 'find-blas-lapack-cleanup'Brad King2021-10-082-30/+30
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 635f2c87f5 FindBLAS: Fix EML and ArmPL indentations 816dc1cb19 FindBLAS: Replace set(A val) with string(APPEND) a7843faa20 FindLAPACK: Replace set(A val) with string(APPEND) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6605
| * | FindBLAS: Fix EML and ArmPL indentationsIgor S. Gerasimov2021-10-071-19/+19
| | |
| * | FindBLAS: Replace set(A val) with string(APPEND)Igor S. Gerasimov2021-10-072-8/+8
| | |
| * | FindLAPACK: Replace set(A val) with string(APPEND)Igor S. Gerasimov2021-10-071-5/+5
| | |
* | | Merge topic 'revert-debian-libexec'Brad King2021-10-081-13/+2
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 6658e260d4 GNUInstallDirs: Fix misinterpretation of Debian Policy on LIBEXECDIR Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6607
| * | GNUInstallDirs: Fix misinterpretation of Debian Policy on LIBEXECDIRTimo Röhling2021-10-071-13/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit 798c1c3192 (GNUInstallDirs: Comply with Debian Policy on LIBEXECDIR, 2020-10-08, v3.19.0-rc1~11^2). The Debian Policy builds upon FHS 3.0 and permits installing to `/usr/libexec`. While Policy does grant an additional exception for applications to use a single subdirectory of `/usr/lib/<triplet>`, this is not meant to replace `/usr/libexec` as valid target. Fixes: #22731
* | | Merge topic 'math_libs_include'Brad King2021-10-071-0/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32574814c7 FindCUDAToolkit: Fix missing sibling include directory for math libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !6591
| * | | FindCUDAToolkit: Fix missing sibling include directory for math librariesSteven Hahn2021-10-051-0/+19
| | | | | | | | | | | | | | | | Fixes: #22706
* | | | Merge topic 'FindJasper-imported-target'Brad King2021-10-071-26/+69
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6e8754c625 FindJasper: Add IMPORTED target bdbce845cd FindJasper: Add JASPER_INCLUDE_DIRS result variable 7f8413c309 FindJasper: Modernize documentation layout 524205a7a5 FindJasper: Modernize code layout Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4633
| * | | | FindJasper: Add IMPORTED targetHiroshi Miura2021-10-061-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20601 Signed-off-by: Hiroshi Miura <miurahr@linux.com>
| * | | | FindJasper: Add JASPER_INCLUDE_DIRS result variableHiroshi Miura2021-10-061-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | The `JASPER_INCLUDE_DIR` cache entry is not supposed to be the public result variable.
| * | | | FindJasper: Modernize documentation layoutHiroshi Miura2021-10-061-7/+24
| | | | |
| * | | | FindJasper: Modernize code layoutHiroshi Miura2021-10-061-20/+16
| | | | |
* | | | | Merge topic 'xcode-lang-defaults'Brad King2021-10-071-3/+10
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3add62462c Xcode: Fix detection of default language standard when given -std= flags 5c4424e5b7 CMakeDetermineCompilerId: Tolerate variables named for languages Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !6598
| * | | | | Xcode: Fix detection of default language standard when given -std= flagsBrad King2021-10-061-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If one uses `CFLAGS='-std=...'` or `CXXFLAGS='-std=...'` then the given `-std=` flag(s) will always be used. That effectively changes the compiler default standard level and extension settings. Fix the Xcode generator's compiler id logic to preserve any `-std=` flag so that the proper defaults are detected. This problem was exposed by commit 4a0485be7f (cmStandardLevelResolver: Avoid unnecessary flags, fix unset level logic, 2021-05-29), which changed the logic to not pass any `-std=` flag if the standard level and extension settings requested by the project match the default (`stdIt <= defaultStdIt` became `stdIt < defaultStdIt`). The new logic assumes the detected default standard matches what will actually happen when the project is generated.
| * | | | | CMakeDetermineCompilerId: Tolerate variables named for languagesBrad King2021-10-061-1/+1
| |/ / / /
* | | | | Merge topic 'corret_nvhpc_fortran_compile_deps'Brad King2021-10-073-12/+21
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | 1a828043b7 NVHPC: only use '-MD' for the C and CXX languages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6602
| * | | | NVHPC: only use '-MD' for the C and CXX languagesRobert Maynard2021-10-063-12/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CMake shouldn't use '-MD' for nvfortran to generate dependency information. Fixes #22723
* | | | | Merge topic 'cpack-qtifw-4.1'Brad King2021-10-061-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5895f236ae CPack/IFW: Add support for QtIFW 4.1 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Konstantin Podsvirov <konstantin@podsvirov.pro> Merge-request: !6592
| * | | | | CPack/IFW: Add support for QtIFW 4.1Erlend E. Aasland2021-10-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #22722
| * | | | | Merge topic 'FortranCInterface-timestamp-check' into release-3.21Brad King2021-10-041-2/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2a00e5072d FortranCInterface: Fix regression in timestamp check Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Craig Scott <craig.scott@crascit.com> Merge-request: !6581
* | \ \ \ \ \ Merge topic 'find-blas-lapack-sizeof-integer'Brad King2021-10-062-182/+396
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 64038fd5bc Help: Add release notes for Find{BLAS,LAPACK} BLA_SIZEOF_INTEGER option 972489ae4e Find{BLAS,LAPACK}: Provide testing of BLA_SIZEOF_INTEGER 95219365ff Find{BLAS,LAPACK}: Make possible testing of ILP64 model 2cd94f3e57 Find{BLAS,LAPACK}: Specify integer type in tests 9b69307b56 Find{BLAS,LAPACK}: De-duplicate and generalize test creation logic 91fd645d46 FindLAPACK: Stop processing if LAPACK library does not have 64-bit integer API b8a3cea51f FindBLAS: Stop processing if BLAS library does not have 64-bit integer API d2f5c7856f FindLAPACK: Search 32/64-bit integer API via BLA_SIZEOF_INTEGER if possible ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6407
| * | | | | | | FindLAPACK: Stop processing if LAPACK library does not have 64-bit integer APIIgor S. Gerasimov2021-10-051-33/+51
| | | | | | | |
| * | | | | | | FindBLAS: Stop processing if BLAS library does not have 64-bit integer APIIgor S. Gerasimov2021-10-051-44/+68
| | | | | | | |
| * | | | | | | FindLAPACK: Search 32/64-bit integer API via BLA_SIZEOF_INTEGER if possibleIgor S. Gerasimov2021-10-051-4/+82
| | | | | | | |
| * | | | | | | FindBLAS: Search 32/64-bit integer API via BLA_SIZEOF_INTEGER if possibleIgor S. Gerasimov2021-10-051-8/+98
| | | | | | | |
| * | | | | | | FindBLAS: Update Fujitsu_SSL2Igor S. Gerasimov2021-10-051-21/+29
| | | | | | | |
| * | | | | | | FindBLAS: Update FlexiBLASIgor S. Gerasimov2021-09-221-1/+5
| | | | | | | |
| * | | | | | | FindBLAS: Update OpenBLASIgor S. Gerasimov2021-09-221-2/+6
| | | | | | | |
| * | | | | | | FindBLAS: Update FLAMEIgor S. Gerasimov2021-09-221-1/+5
| | | | | | | |
| * | | | | | | FindBLAS: Update Generic BLASIgor S. Gerasimov2021-09-221-1/+5
| | | | | | | |
| * | | | | | | FindBLAS: Move NVHPC from Generic BLASIgor S. Gerasimov2021-09-221-1/+20
| | | | | | | |
| * | | | | | | FindLAPACK: Update Generic LAPACKIgor S. Gerasimov2021-09-221-1/+4
| | | | | | | |
| * | | | | | | FindLAPACK: Update FlexiBLASIgor S. Gerasimov2021-09-221-1/+5
| | | | | | | |
| * | | | | | | FindLAPACK: Update OpenBLASIgor S. Gerasimov2021-09-221-1/+5
| | | | | | | |
| * | | | | | | FindLAPACK: Update NVHPCIgor S. Gerasimov2021-09-221-1/+6
| | | | | | | |
| * | | | | | | FindLAPACK: EML: LAPACK is in BLASIgor S. Gerasimov2021-09-221-18/+2
| | | | | | | |
| * | | | | | | FindLAPACK: IBMESSL: LAPACK is in BLASIgor S. Gerasimov2021-09-221-18/+2
| | | | | | | |
| * | | | | | | FindLAPACK: Fujitsu_SSL2: LAPACK is in BLASIgor S. Gerasimov2021-09-221-26/+3
| | | | | | | |
* | | | | | | | Merge topic 'fetchcontent-CMAKE-vars-passthrough'Craig Scott2021-10-062-11/+29
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1851aa49be FetchContent: Pass through networking-related CMAKE_... variables 96937438b7 Help: Clean up how TLS and NETRC variables are discussed 2a82bd85b6 Help: Add documentation for CMAKE_TLS_CAINFO Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6589
| * | | | | | | FetchContent: Pass through networking-related CMAKE_... variablesCraig Scott2021-10-051-7/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CMAKE_TLS_VERIFY, CMAKE_TLS_CAINFO, CMAKE_NETRC and CMAKE_NETRC_FILE are now passed through to the underlying ExternalProject sub-build. Previously, they were silently ignored. Fixes: #22144
| * | | | | | | Help: Add documentation for CMAKE_TLS_CAINFOCraig Scott2021-10-041-4/+4
| | | | | | | |
* | | | | | | | Merge topic 'iar-assembly-S-extension'Brad King2021-10-051-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 589c6c8e3f IAR: added .S extension for IAR-ASM.cmake Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6585
| * | | | | | | | IAR: added .S extension for IAR-ASM.cmakeFelipe Torrezan2021-10-021-1/+1
| |/ / / / / / /
* | | | | | | | Merge topic 'default_extensions'Brad King2021-10-0416-36/+116
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4a0485be7f cmStandardLevelResolver: Avoid unnecessary flags, fix unset level logic 29e2b85171 Tests: Simplify RunCMake.CompileFeatures introspection fc3a1cbdd8 CompilerID: Compiler extensions default detection 2adfd95d79 CompilerID: Rename language_dialect to language_standard 00055d7779 Help: Document CMAKE_<LANG>_STANDARD_DEFAULT a65bee4cfc Help: Document HIP standard/extensions properties and variables a40ff1bb5a Help: Make language standard/extensions variable pages less wordy 3feff8379b Help: Generic language standard and extension variables documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6177
| * | | | | | | | cmStandardLevelResolver: Avoid unnecessary flags, fix unset level logicRaul Tambre2021-09-292-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The changes are part of CMP0128. When the standard level is unset: * Flags are added if extension mode doesn't match the compiler's default. Previously logic only worked if LANG_EXTENSIONS was ON. Fixes #22224. * The full flag is used. Previously CMAKE_LANG_EXTENSION_COMPILE_OPTION was used. This was only supported for IAR. Otherwise: * Avoid adding flags if not necessary per the detected compiler defaults. * Fixed check for when the requested standard is older. It now matches the nearby comments. I reworded the fallback comment as its logic was a bit difficult to wrap my head around.
| * | | | | | | | CompilerID: Compiler extensions default detectionRaul Tambre2021-09-2814-6/+85
| | | | | | | | |
| * | | | | | | | CompilerID: Rename language_dialect to language_standardRaul Tambre2021-09-287-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Linux C++ terms dialect usually refers to having GNU extensions or not. Change the name to better reflect that this is about the standard version.