summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'vs-hlsl-object-name'Brad King2018-04-254-0/+21
|\ | | | | | | | | | | | | 8d1ccbc693 VS: Add VS_SHADER_OBJECT_FILE_NAME source file property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1997
| * VS: Add VS_SHADER_OBJECT_FILE_NAME source file propertyJeremiah van Oosten2018-04-244-0/+21
| |
* | Merge topic 'testbigendian-cache-check-fix'Brad King2018-04-251-2/+2
|\ \ | | | | | | | | | | | | | | | | | | 7b1c5f9f05 TestBigEndian: Include CheckTypeSize outside macro Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1999
| * | TestBigEndian: Include CheckTypeSize outside macroCristian Adam2018-04-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using https://github.com/cristianadam/cmake-checks-cache I have noticed that CheckTypeSize would in certain cases have an empty `__check_type_size_dir` variable. The errors would point to `TestBigEndian`. By moving `include(CheckTypeSize)` outside the macro, the errors go away. Including dependencies of a module when the module is first included is simpler and cleaner anyway.
* | | Merge topic 'file_install_always_out_of_date_fix'Brad King2018-04-251-0/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 6dcd1bfa39 file(INSTALL): Preserve file time when writing NTFS alternate stream Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1992
| * | | file(INSTALL): Preserve file time when writing NTFS alternate streamYves Frederix2018-04-231-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When cross-compiling on a Windows host, we use a `:cmake_mode_t` NTFS alternate stream to store the file mode for use during packaging. Writing to this stream changes the file modification time, so save and restore the original modification time since we are not modifying the real file content. Fixes: #17922
* | | | Merge topic 'cuda-no-cache-host-compiler'Brad King2018-04-251-1/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bff4651f2e CUDA: Do not create CMAKE_CUDA_HOST_COMPILER cache entry Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2003
| * | | | CUDA: Do not create CMAKE_CUDA_HOST_COMPILER cache entryBrad King2018-04-241-1/+0
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Users can create it through an explicit command-line option if desired. Initializing the variable as an empty cache entry can wipe out a normal variable of the same name that may have been set by a toolchain file. Since commit v3.8.0-rc1~261^2~11 (CUDA: Use the host compiler for linking CUDA executables and shared libs, 2016-09-19) we save the value of `CMAKE_CUDA_HOST_COMPILER` persistently in the compiler information file as a normal variable. Fixes: #17935
* | | | CMake Nightly Date StampKitware Robot2018-04-251-1/+1
| | | |
* | | | Merge topic 'doc-tidy-example'Brad King2018-04-241-2/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ae09bc774b Help: Add example to CMAKE_<LANG>_CLANG_TIDY Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2002
| * | | | Help: Add example to CMAKE_<LANG>_CLANG_TIDYBrad King2018-04-241-2/+9
| |/ / / | | | | | | | | | | | | Fixes: #16869
* | | | Merge topic 'Genex-TARGET_GENEX_PROPERTY'Brad King2018-04-2431-1/+390
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4d15046edd Genex: Add $<TARGET_GENEX_EVAL:...> and $<GENEX_EVAL:...> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1984
| * | | | Genex: Add $<TARGET_GENEX_EVAL:...> and $<GENEX_EVAL:...>Marc Chevrier2018-04-2331-1/+390
| | |_|/ | |/| | | | | | | | | | Fixes: #17884
* | | | Merge topic 'reorder-sys-includes'Brad King2018-04-247-1/+40
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 76ad2ecb50 Order SYSTEM include directories after non-system directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1968
| * | | | Order SYSTEM include directories after non-system directoriesEphi Sinowitz2018-04-237-1/+40
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | An effect of the `-isystem` flag is to search the directory after those specified via `-I` flags. Make behavior more consistent on compilers that do not have any `-isystem` flag by explicitly moving system include directories to the end.
* | | | Merge topic 'FindPython-stabilization'Brad King2018-04-241-5/+74
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d02a9bacf6 FindPython: ensure correct architecture (i.e. 32/64bit) is used Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1991
| * | | | FindPython: ensure correct architecture (i.e. 32/64bit) is usedMarc Chevrier2018-04-201-5/+74
| |/ / /
* | | | Merge topic 'CUDA7'Brad King2018-04-242-3/+21
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1fb2812d5b CUDA: Add compiler detection for CUDA < 7.5 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1993
| * | | | CUDA: Add compiler detection for CUDA < 7.5Henry Schreiner2018-04-232-3/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the CUDA version macros are not defined, run `nvcc --version` and extract the version from its output. Fixes: #17920
* | | | | Merge topic 'cpack-doc-defaults'Brad King2018-04-241-1/+13
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 30c8c9f55d CPack: Add CPACK_PACKAGE_HOMEPAGE_URL setting c9fa8f9442 CPack: Fix documented CPACK_PACKAGE_DESCRIPTION_SUMMARY default Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1998
| * | | | | CPack: Add CPACK_PACKAGE_HOMEPAGE_URL settingAlex Turbov2018-04-231-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | Initialize it from `CMAKE_PROJECT_HOMEPAGE_URL`.
| * | | | | CPack: Fix documented CPACK_PACKAGE_DESCRIPTION_SUMMARY defaultAlex Turbov2018-04-231-1/+1
| | | | | |
* | | | | | Merge topic 'FindMatlab/mcr-compatibility'Brad King2018-04-2410-280/+523
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 59fb9e89b2 FindMatlab: Matlab Runtime Compiler support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1970
| * | | | | FindMatlab: Matlab Runtime Compiler supportRaffi Enficiaud2018-04-2310-280/+523
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Determining automatically the MCR version on OSX and Windows * Distinguishing between MCR and Matlab * Specific tests for the MCR * mexext on windows does not work properly: the mexext is hardcoded * Doc updates for the MCR Fixes: #16487
* | | | | | CMake Nightly Date StampKitware Robot2018-04-241-1/+1
| |/ / / / |/| | | |
* | | | | Merge topic 'fortran-submodule-depends'Brad King2018-04-2315-90/+207
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b1f95e5b14 Fortran: Extend submodule test with great-grandchild 402735314e Fortran: Add support for submodule dependencies 62538b2c4c Fortran: Refactor to treat .mod extension as part of module name Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Izaak Beekman <contact@izaakbeekman.com> Merge-request: !1989
| * | | | | Fortran: Extend submodule test with great-grandchildBrad King2018-04-205-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Name the module using CamelCase to test lower-case file name conversion. Also add coverage of existing "sibling" module.
| * | | | | Fortran: Add support for submodule dependenciesBrad King2018-04-2012-64/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.7.0-rc1~73^2~1 (Fortran: Add support for submodule syntax in dependency scanning, 2016-09-05) we support parsing Fortran sources that use submodule syntax, but it left addition of `.smod` dependencies to future work. Add it now. The syntax submodule (module_name) submodule_name means the current source requires `module_name.mod` and provides `module_name@submodule_name.smod`. The syntax submodule (module_name:submodule_name) nested_submodule_name means the current source requires `module_name@submodule_name.smod` provides `module_name@nested_submodule_name.smod`. Fixes: #17017
| * | | | | Fortran: Refactor to treat .mod extension as part of module nameBrad King2018-04-204-28/+60
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | When tracking module names internally, include the `.mod` extension. This will later be useful to distinguish them from `.smod` extensions for submodules.
* | | | | Merge topic 'grammar_typo_fixes'Brad King2018-04-237-11/+11
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8e841a473f Cleanup: Fix typos and grammar in docs and code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1996
| * | | | | Cleanup: Fix typos and grammar in docs and codeCraig Scott2018-04-227-11/+11
| |/ / / / | | | | | | | | | | No functional changes, just docs, comments and error messages.
* | | | | Merge topic 'productbuild_missing_var_docs'Brad King2018-04-231-0/+16
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8e41d44b38 Help: Document missing variables for productbuild CPack generator Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Clinton Stimpson <clinton@elemtech.com> Merge-request: !1995
| * | | | Help: Document missing variables for productbuild CPack generatorCraig Scott2018-04-211-0/+16
| |/ / / | | | | | | | | | | | | Missing variables were CPACK_PREFLIGHT_<COMP>_SCRIPT and CPACK_POSTFLIGHT_<COMP>_SCRIPT.
* | | | Merge topic 'cuda-arch-repair'Brad King2018-04-231-13/+45
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 61b222f3ae CUDA/select_compute_arch: Fix detection on old CUDA with new card/driver Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1987
| * | | | CUDA/select_compute_arch: Fix detection on old CUDA with new card/driverHenry Schreiner2018-04-201-13/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix version comparisons to handle patch components. List and check known archs for each version of CUDA so mismatching versions are not suggested. Fixes: #17921
* | | | | Merge topic 'doc-help-spelling'Brad King2018-04-239-17/+17
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 20d90a9482 Help: Some spelling corrections for commands. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1994
| * | | | | Help: Some spelling corrections for commands.Yee Fan2018-04-209-17/+17
| | |/ / / | |/| | |
* | | | | Merge topic 'cmake-install-doc'Brad King2018-04-236-17/+53
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a4f71b4ba8 Help: Document existence of cmake_install.cmake fcf64866da Help: move DESTDIR into a separate page Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1979
| * | | | | Help: Document existence of cmake_install.cmakeKyle Edwards2018-04-202-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This file, which is currently undocumented, is useful for external packaging programs that wish to install only a single component at a time. This change adds documentation for the file.
| * | | | | Help: move DESTDIR into a separate pageKyle Edwards2018-04-204-17/+23
| |/ / / /
* | | | | Merge topic 'add_compile_definitions'Brad King2018-04-2317-7/+139
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cb83314e65 add_compile_definitions: add new command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1988
| * | | | | add_compile_definitions: add new commandMarc Chevrier2018-04-2017-7/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This command manages preprocessor definitions at directory level and supports generator expressions. Fixes: #15374
* | | | | | Merge topic 'doc-CMP0060'Brad King2018-04-231-6/+9
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | d512825b64 Help: Mention CMP0060 in CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1990
| * | | | | Help: Mention CMP0060 in CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIESBrad King2018-04-201-6/+9
| | |/ / / | |/| | | | | | | | | | | | | | | | | | Behavior described for this variable is actually dependent on the `CMP0060` policy setting. Update the documentation accordingly.
* | | | | CMake Nightly Date StampKitware Robot2018-04-231-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2018-04-221-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2018-04-211-1/+1
|/ / / /
* | | | Merge topic 'vs-sdk-dirs'Brad King2018-04-2013-0/+200
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6ec3e880e7 VS: Add variables to set SDK directories in vcxproj files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1965
| * | | | VS: Add variables to set SDK directories in vcxproj filesBastien Schatt2018-04-1913-0/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create `CMAKE_VS_SDK_*_DIRECTORIES` variables to tell the VS generator how to populate fields in `.vcxproj` files that specify SDK directories. Fixes: #17908
* | | | | Merge topic 'ninja-simplify-paths'Brad King2018-04-203-34/+10
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5650ba1d6a Ninja: Drop unnecessary ident encoding logic for paths Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1983