summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* CMake Nightly Date StampKitware Robot2017-03-231-1/+1
|
* Merge topic '14335-duplicate-else'Brad King2017-03-222-0/+22
|\ | | | | | | | | | | | | edac95b9 cmIfCommand: Reject duplicate else() and misplaced elseif() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !594
| * cmIfCommand: Reject duplicate else() and misplaced elseif()Gregor Jasny2017-03-222-0/+22
| | | | | | | | Closes: #14335
* | Merge topic 'ninja-fortran-depfile-fix'Brad King2017-03-221-1/+3
|\ \ | | | | | | | | | | | | | | | | | | 805706b3 Ninja: Fix Fortran `include` dependency on generated file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !601
| * | Ninja: Fix Fortran `include` dependency on generated fileBrad King2017-03-211-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Work around upstream ninja issue 1251 by converting include directories used by our Fortran dependency scanner to the same path format that we use in preprocessor `-I` flags and in the `build.ninja` manifest. Fixes: #16722
* | | Merge topic 'cuda_no_ninja_response_support'Brad King2017-03-222-9/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | feaea065 CUDA: Disable support for using response files. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !596
| * | | CUDA: Disable support for using response files.Robert Maynard2017-03-212-9/+12
| |/ /
* | | Merge topic 'module-def-and-WINDOWS_EXPORT_ALL_SYMBOLS'Brad King2017-03-2211-78/+147
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 075f6454 Support WINDOWS_EXPORT_ALL_SYMBOLS with `.def` files 21c4ec4f cmGlobalVisualStudioGenerator: Simplify __create_def command generation 24361a45 bindexplib: Add support for parsing and integrating `.def` files 845c4824 bindexplib: Add method for parsing and integrating `.def` files 4f90e793 bindexplib: Revise coding style of CMake-specific methods Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !581
| * | | Support WINDOWS_EXPORT_ALL_SYMBOLS with `.def` filesBrad King2017-03-218-57/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `WINDOWS_EXPORT_ALL_SYMBOLS` target property exports all symbols found in object files explicitly given to the linker. However, the linker may also find additional symbols in dependencies and copy them into the linked binary (e.g. from `msvcrt.lib`). Provide a way to export an explicit list of such symbols by adding a `.def` file as a source file. Fixes: #16473
| * | | cmGlobalVisualStudioGenerator: Simplify __create_def command generationBrad King2017-03-211-3/+2
| | | |
| * | | bindexplib: Add support for parsing and integrating `.def` filesBrad King2017-03-211-4/+11
| | | |
| * | | bindexplib: Add method for parsing and integrating `.def` filesBertrand Bellenot2017-03-212-1/+30
| | | |
| * | | bindexplib: Revise coding style of CMake-specific methodsBrad King2017-03-091-13/+7
| | | | | | | | | | | | | | | | | | | | | | | | We exclude this source from `clang-format` due to use of third-party code. However, we can manually format the CMake-specific part of the code using our current style.
* | | | CMake Nightly Date StampKitware Robot2017-03-221-1/+1
| | | |
* | | | Merge topic 'windows-include-order'Brad King2017-03-217-21/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4b49c9a2 fix include order of windows.h Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !584
| * | | | fix include order of windows.hDaniel Pfeifer2017-03-147-21/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Comments that indicate a special include order is necessary because GetCurrentDirectory might get redefined are outdated. Remove those outdated comments and use the normal ordering of includes.
* | | | | CMake Nightly Date StampKitware Robot2017-03-211-1/+1
| |_|_|/ |/| | |
* | | | Merge topic 'autogen_source_group'Brad King2017-03-202-6/+74
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f89678f6 Autogen: Add AUTOGEN_SOURCE_GROUP release notes 850eb734 Autogen: Add AUTOGEN_SOURCE_GROUP documentation af1354d6 Autogen: Add AUTOGEN_SOURCE_GROUP support 379cf11b Autogen: Add generator type enum Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !586
| * | | | Autogen: Add AUTOGEN_SOURCE_GROUP supportSebastian Holtermann2017-03-161-6/+67
| | | | | | | | | | | | | | | | | | | | Closes: #16501
| * | | | Autogen: Add generator type enumSebastian Holtermann2017-03-161-0/+7
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2017-03-201-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2017-03-191-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2017-03-181-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2017-03-171-1/+1
|/ / / /
* | | | CMake Nightly Date StampKitware Robot2017-03-161-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2017-03-151-1/+1
|/ / /
* | | CMake Nightly Date StampKitware Robot2017-03-141-1/+1
| | |
* | | Merge topic 'BundleUtilities-elf-rpath'Brad King2017-03-132-0/+70
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 10fcef02 BundleUtilities: Fix bundle verification on Unix by considering rpaths. ac0786cb BundleUtilities: Teach `get_item_rpaths` to parse ELF binaries a52faa1f file: Add READ_ELF command to parse ELF binaries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !551
| * | | file: Add READ_ELF command to parse ELF binariesFlorian Apolloner2017-03-102-0/+70
| | | | | | | | | | | | | | | | | | | | Leave it undocumented for now because we intend to use it internally and it cannot be made available everywhere.
* | | | Merge topic 'xcode-test-schema-generation'Brad King2017-03-131-2/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3fd9f4ab Xcode: Add test for schema generation cf13e495 Xcode: Control schema generation via variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !577
| * | | | Xcode: Control schema generation via variableGregor Jasny2017-03-121-2/+1
| | | | | | | | | | | | | | | | | | | | Issue: #15441
* | | | | Merge topic 'cuda-vs'Brad King2017-03-138-9/+678
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65481a60 CUDA: Work around VS limitation in CudaOnly.WithDefs test 8cae24a1 VS: Add more CUDA flag table entries 6ca4f222 VS: Add support for the CUDA_SEPARABLE_COMPILATION property 94255511 VS: Select CUDA code generation architectures 253594d0 VS: Select the CUDA runtime library 4def02a3 VS: Place CUDA host compiler options in proper project file fields 29f07b08 VS: Do not pass CUDA compile options to C compiler b966f489 VS: Do not use absolute paths to CUDA sources ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !566
| * | | | | VS: Add more CUDA flag table entriesBrad King2017-03-101-0/+11
| | | | | |
| * | | | | VS: Add support for the CUDA_SEPARABLE_COMPILATION propertyBrad King2017-03-101-0/+4
| | | | | |
| * | | | | VS: Select CUDA code generation architecturesBrad King2017-03-104-0/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Parse the `-gencode=`, `-arch`, and `-code` flags and generate a `CodeGeneration` field in the project file.
| * | | | | VS: Select the CUDA runtime libraryBrad King2017-03-104-2/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Parse the `-cudart=` option and add a corresponding `CudaRuntime` field to the generated project file. Also add a matching `.lib` to the list of libraries linked.
| * | | | | VS: Place CUDA host compiler options in proper project file fieldsBrad King2017-03-103-2/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CUDA Toolkit's VS integration provides abstractions for host compiler options for `nvcc` to pass through `-Xcompiler` to the host MSVC. Populate our secondary flag table and use it to remove flags from the `AdditionalCompilerOptions` in favor of their abstractions. Unfortunately a bug in the CUDA 8.0 VS integration prevents us from passing anything in `AdditionalCompilerOptions` reliably. After taking out the flags that have dedicated abstractions, drop the rest.
| * | | | | VS: Do not pass CUDA compile options to C compilerBrad King2017-03-101-2/+4
| | | | | |
| * | | | | VS: Do not use absolute paths to CUDA sourcesBrad King2017-03-101-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CUDA Toolkit's VS integration does not properly compute the intermediate files directory location when the path to the source file is absolute.
| * | | | | VS: Add basic infrastructure for CUDA generationBrad King2017-03-104-0/+112
| | | | | | | | | | | | | | | | | | | | | | | | Generate the `CudaCompile` elements in `.vcxproj` files.
| * | | | | VS: Add placeholder CUDA flag tablesBrad King2017-03-104-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CUDA Toolkit's VS integration defines abstractions for both options to `nvcc` and options to pass through `-Xcompiler` to the host MSVC. We need a separate flag table to parse each set of flags into the corresponding abstractions. Add empty placeholders for these tables.
| * | | | | VS: Record in global generator whether CUDA is enabledBrad King2017-03-102-0/+8
| | | | | |
| * | | | | VS: Add method to take a value out of the option parser flag mapBrad King2017-03-102-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | Remove a flag from the map and return its value.
| * | | | | VS: Add method to re-parse specific option parser fieldsBrad King2017-03-102-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow a client to parse flags, replace the flag tables, and then re-parse a field in which flags for a secondary tool were collected.
| * | | | | VS: Add method to clear flag tables of option parserBrad King2017-03-102-0/+10
| | | | | |
| * | | | | VS: Select highest available CUDA toolset by defaultBrad King2017-03-101-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If `CMAKE_GENERATOR_TOOLSET` does not have a `cuda=...` field then find available CUDA toolsets and choose the highest version.
| * | | | | VS: Provide an option to specify CUDA toolset versionBrad King2017-03-102-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The NVIDIA CUDA Toolkit provides MSBuild toolset files for integration with Visual Studio. Multiple versions may be installed so we need a way to tell our VS generators which CUDA toolset to use. Extend the `CMAKE_GENERATOR_TOOLSET` specification to provide a `cuda=...` field specifying the version number.
| * | | | | VS: Find the MSBuild value for VCTargetsPathBrad King2017-03-102-0/+215
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | Run MSBuild on a simple `.vcxproj` file to extract the location of the toolset definitions. This will later be useful for looking at available BuildCustomizations.
* | | | | Merge topic 'refactor-module-def'Brad King2017-03-1314-181/+165
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f36eaf6a Refactor WINDOWS_EXPORT_ALL_SYMBOLS implementation 25d261ef Refactor module definition file selection 1e0a9ac4 Refactor module definition source enumeration Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !570
| * | | | Refactor WINDOWS_EXPORT_ALL_SYMBOLS implementationBrad King2017-03-0911-137/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use `cmGeneratorTarget::ModuleDefinitionInfo` to combine the implementation of `WINDOWS_EXPORT_ALL_SYMBOLS` with that of using a `.def` file as a source. Only one of these could be used within a single target before anyway.