summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'BundleUtilities-elf-rpath'Brad King2017-03-134-0/+6
|\ | | | | | | | | | | | | | | | | 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-104-0/+6
| | | | | | | | | | 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-132-0/+21
|\ \ | | | | | | | | | | | | | | | | | | | | | 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: Add test for schema generationGregor Jasny2017-03-122-0/+21
| | | | | | | | | | | | Closes: #15441
* | | Merge topic 'cuda-vs'Brad King2017-03-135-0/+14
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Provide an option to specify CUDA toolset versionBrad King2017-03-105-0/+14
| |/ | | | | | | | | | | | | | | 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.
* | Merge topic 'master'Brad King2017-03-097-5/+20
|\ \ | |/ |/| | | | | | | | | | | | | | | d9bdcf34 Tests: Add x32 tests to test suite 5b6d354f Help: Add notes for topic 'x32-abi' bed9c73d Modules: Add x32-abi support to hard-coded paths 462cf254 Add support for x32-abi Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !532
| * Tests: Add x32 tests to test suiteSteven Newbury2017-03-087-5/+20
| |
* | Merge topic 'implicit-dir-symlinks'Brad King2017-03-039-0/+74
|\ \ | |/ |/| | | | | | | | | | | 69528fe6 Tests: Add case for RPATH exclusion of symlinks to implicit directories f3102ca8 Merge branch 'backport-implicit-dir-symlinks' into implicit-dir-symlinks c3fb650c cmOrderDirectories: Consider symlinks when checking implicit directories b1a37362 cmOrderDirectories: Factor out implicit directory check
| * Tests: Add case for RPATH exclusion of symlinks to implicit directoriesBrad King2017-03-029-0/+74
| | | | | | | | Issue: #16682
* | Merge topic 'csproj_add_free_source_tags'Brad King2017-03-024-0/+38
|\ \ | | | | | | | | | | | | | | | | | | 506207f9 VS: add test for VS_CSHARP_* source file property a202749c VS: add CSharpUtilities module 9588d0a2 VS: add VS_CSHARP_<tagname> sourcefile property
| * | VS: add test for VS_CSHARP_* source file propertyMichael Stürmer2017-03-014-0/+38
| |/
* | Merge topic 'FindPkgConfig-version-ops'Brad King2017-03-012-16/+27
|\ \ | | | | | | | | | | | | 8d71fa92 FindPkgConfig: use new version checking "library >= version" syntax
| * | FindPkgConfig: use new version checking "library >= version" syntaxGautier Pelloux-Prayer2017-02-282-16/+27
| | | | | | | | | | | | Instead of the deprecated --atleast-version one.
* | | Merge topic 'export-executable-symbols'Brad King2017-03-013-0/+22
|\ \ \ | | | | | | | | | | | | | | | | 85e08370 bindexplib: Always export executable symbols, even they are also readable
| * | | bindexplib: Always export executable symbols, even they are also readableZsolt Parragi2017-02-283-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously bindexplib discarded read-only non-function symbols even in executable/code sections, but in some specific cases they could still mark functions. An example is provided by nop.asm in the AuoExportDll test, which exports a function only marked by a label. This symbol can be used from C/C++ code, but without this change it would result in an unresolved external symbol when built as a DLL on Windows.
* | | | Merge topic 'find-libarch-not-symlink'Brad King2017-03-013-0/+29
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | 6f5aede7 find_library: Skip 'lib => lib<arch>' searches if one symlinks the other e67963ed cmFindLibraryCommand: Refactor AddArchitecturePath logic
| * | | find_library: Skip 'lib => lib<arch>' searches if one symlinks the otherBrad King2017-02-283-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `FIND_LIBRARY_USE_LIB<arch>_PATHS` global properties ask `find_library` to look in `lib<arch>` directories automatically before corresponding `lib` directories. However, if `lib<arch>` is just a symlink to `lib` (or vice-versa) then we should skip adding the `lib<arch>` path. Such symlinks typically only exist to satisfy software that expects the `lib<arch>` path to be available. Fixes: #16687
| * | | Android: Add CMAKE_<LANG>_ANDROID_TOOLCHAIN_MACHINEBrad King2016-11-181-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Expose the binutils' machine name (typically used as a prefix on the tool names) publicly. This is expected to match the `gcc -dumpmachine` value. Suggested-by: Ruslan Baratov <ruslan_baratov@yahoo.com>
| * | | Android: Add CMAKE_ANDROID_NDK_TOOLCHAIN_HOST_TAG variableBrad King2016-11-181-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The NDK provides prebuilt toolchain files in directories named for the host architecture. The NDK build system calls this `HOST_TAG`. Expose the value publicly for use by clients that need to pass it to external tools. Suggested-by: Ruslan Baratov <ruslan_baratov@yahoo.com>
| * | | Android: Always set CMAKE_ANDROID_NDK_TOOLCHAIN_VERSIONBrad King2016-11-181-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When this variable is not set by the user or toolchain file, set it to the default selected. This will be useful for client code that needs to pass the value to an external tool that needs to find the same toolchain in the NDK. Leave it empty for a standalone toolchain. Suggested-by: Ruslan Baratov <ruslan_baratov@yahoo.com>
| * | | Merge branch 'backport-ninja-subdir-binary-dir' into releaseBrad King2016-10-246-0/+19
| |\ \ \
| | * | | Ninja: Use binary dir for `$subdir/all` targetsAlexis Murzeau2016-10-246-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The targets added by commit v3.6.0-rc1~240^2~2 (Ninja: Add `$subdir/all` targets, 2016-03-11) use as `$subdir` the relative path from the top of the source tree to the current source directory. This is not correct when using `add_subdirectory(test test_bin)`. Instead we need to use the relative path from the top of the binary tree to the current binary directory as was done for related targets by commit v3.7.0-rc1~268^2 (Ninja: Add `$subdir/{test,install,package}` targets, 2016-08-05).
* | | | | Merge topic '16607-error-out-on-non-seekable-input-files'Brad King2017-02-284-1/+17
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | ded616bd cmListFileLexer: bail out on seek-errors
| * | | | cmListFileLexer: bail out on seek-errorsGregor Jasny2017-02-274-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we are given a FIFO, for example, we cannot seek back after trying to read a Byte-Order-Mark. Closes: #16607
* | | | | Merge topic 'test-objlib-deps-cleanup'Brad King2017-02-2710-36/+38
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b35a949b Tests: Change RunCMake.ObjectLibrary dependencies case to C 01347954 Tests: Fix RunCMake.ObjectLibrary dependency delay
| * | | | | Tests: Change RunCMake.ObjectLibrary dependencies case to CBrad King2017-02-2610-31/+27
| | | | | |
| * | | | | Tests: Fix RunCMake.ObjectLibrary dependency delayBrad King2017-02-261-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sleep before the second copy to avoid the need for a touch. Sleep for longer on generators whose build tools have low resolution timestamps.
* | | | | | Merge topic '16615-xcode-object-libraries-depends'Brad King2017-02-246-0/+52
|\ \ \ \ \ \ | |/ / / / / | | / / / / | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | 624021a0 Add test for object library dependencies 5da9266a Xcode: Always track object library dependencies via hacky Makefile e80ac953 Xcode: Record dependency information also for object libraries 9293e57d Xcode: Collect dummy rules during iteration and emit afterwards 33a1d727 Makefile: Allow adding post-build rules to object libraries
| * | | | Add test for object library dependenciesGregor Jasny2017-02-226-0/+52
| | | | | | | | | | | | | | | | | | | | Issue: #16615
* | | | | Merge topic 'clang-format-attrs'Brad King2017-02-232-0/+4
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | d5f39a56 clang-format.bash: Use Git attributes to mark files for formatting f6986ee4 Define a custom Git attribute to mark sources using our C style 2256c3a7 Define a custom Git attribute to mark source files as generated
| * | | | clang-format.bash: Use Git attributes to mark files for formattingBrad King2017-02-222-0/+4
| | |_|/ | |/| |
* | | | Merge topic 'install_name_policy'Brad King2017-02-1713-0/+59
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1ba91291 Add policy CMP0068 separate install_name and RPATH settings on macOS f7b9bf41 Apple: Add BUILD_WITH_INSTALL_NAME_DIR target property 4bff2d14 Apple: Refactor support for using INSTALL_NAME_DIR. 624fb9d7 Help: Format BUILD_WITH_INSTALL_RPATH documentation
| * | | | Add policy CMP0068 separate install_name and RPATH settings on macOSClinton Stimpson2017-02-1413-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUILD_WITH_INSTALL_RPATH, SKIP_BUILD_RPATH, CMAKE_SKIP_RPATH and CMAKE_SKIP_INSTALL_RPATH no longer any effect on the install name of a target on macOS. Fixes: #16589
* | | | | VS: Refactor generator toolset parsingBrad King2017-02-158-2/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We parse `CMAKE_GENERATOR_TOOLSET` values of the forms: * `toolset` * `toolset,host=x64` * `host=x64` Generalize the parsing to support the forms: * `toolset` * `toolset[,key=value]*` * `key=value[,key=value]*` Disallow duplicate keys. Require all but the first field to be of `key=value` form.
* | | | | Tests: Split out RunCMake.GeneratorToolset Xcode checksBrad King2017-02-154-1/+18
| | | | | | | | | | | | | | | | | | | | This will allow the behavior of VS and Xcode generators to differ.
* | | | | Tests: Fix `file://` URLs given to curlBrad King2017-02-103-3/+12
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Since upstream curl commit curl-7_52_0~131 (URL-parser: for file://[host]/ URLs, the [host] must be localhost, 2016-11-11) we can no longer use URLs of the form `file://c:/...` on Windows. These worked only accidentally before. Use `file:///c:/...` instead.
* | | | FeatureSummary: Add FeatureSummary_<TYPE>_DESCRIPTION global propertiesDaniele E. Domenichelli2017-02-063-0/+250
| | | | | | | | | | | | | | | | | | | | | | | | The global property FeatureSummary_<TYPE>_DESCRIPTION can be defined for each type to replace the type name with the specified string whenever the package type is used in an output string.
* | | | FeatureSummary: Add DEFAULT_DESCRIPTION option to feature_summaryDaniele E. Domenichelli2017-02-063-0/+129
|/ / / | | | | | | | | | | | | If enabled and only one package type is selected, it will print the default title for the selected package type.
* | | AndroidTestUtilities: do not require ExternalData unconditionallyZack Galbreath2017-02-043-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Attempting to use AndroidTestUtilities to simply install some local files on device can result in the following error: Neither ExternalData_URL_TEMPLATES nor ExternalData_OBJECT_STORES is set We no longer require these ExternalData-specific variables to be set if no such remote data files are requested. Fixes: #16529
* | | Merge topic '16432-static-frameworks'Brad King2017-01-317-48/+85
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 071f8e78 Apple: Add support for static frameworks d525754e Xcode: Refactor RunCMake.Framework test to prepare for static frameworks 45405f00 Xcode: Ignore Xcode project warning until issue is fixed 50e1c105 Makefile: For static libraries remove only the "real" lib before creating 8643ca75 Makefile: Re-order list of files to clean
| * | | Apple: Add support for static frameworksGregor Jasny2017-01-315-18/+70
| | | | | | | | | | | | | | | | Closes: #16432
| * | | Xcode: Refactor RunCMake.Framework test to prepare for static frameworksGregor Jasny2017-01-262-33/+18
| | | |
| * | | Xcode: Ignore Xcode project warning until issue is fixedGregor Jasny2017-01-261-1/+1
| | | | | | | | | | | | | | | | Issue: #15272
* | | | Merge topic 'FeatureSummary_enhancement'Brad King2017-01-3042-8/+518
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 560574b0 FeatureSummary: Update release notes 3cfde818 FeatureSummary: Refactor to use global properties for package types f0165eb6 FeatureSummary: Allow lists of dependencies in ADD_FEATURE_INFO 9da7bf08 FeatureSummary: Add QUIET_ON_EMPTY option to feature_summary 4cf4aceb FeatureSummary: Add unit tests 614a97a5 FeatureSummary: Do not force OPTIONAL type in SET_PACKAGE_PROPERTIES 65a0bfd8 FeatureSummary: Add deprecation warnings to deprecated commands 4da3cae9 FeatureSummary: Clean printed output
| * | | | FeatureSummary: Refactor to use global properties for package typesDaniele E. Domenichelli2017-01-2618-0/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These new global properties were added: * FeatureSummary_PKG_TYPES: Package types accepted by FeatureSummary (default REQUIRED RECOMMENDED OPTIONAL RUNTIME). * FeatureSummary_REQUIRED_PKG_TYPES: Package types that will cause FeatureSummary to abort when called with FATAL_ON_MISSING_REQUIRED_PACKAGES and a package in these categories is missing (default REQUIRED). * FeatureSummary_DEFAULT_PKG_TYPE: Default package type assigned when not explicitly assigned by the user (default OPTIONAL). This allows to add and remove new package types that can be printed selectively using the "WHAT" argument.
| * | | | FeatureSummary: Allow lists of dependencies in ADD_FEATURE_INFODaniele E. Domenichelli2017-01-263-0/+23
| | | | |
| * | | | FeatureSummary: Add QUIET_ON_EMPTY option to feature_summaryDaniele E. Domenichelli2017-01-263-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | This option suppresses the output when the list of packages that belong to the selected category is empty.
| * | | | FeatureSummary: Add unit testsDaniele E. Domenichelli2017-01-2616-0/+259
| | | | |
| * | | | FeatureSummary: Clean printed outputDaniele E. Domenichelli2017-01-265-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove space before commas * Do not add an empty line before the first type of packages Also fix a typo in unit test.