summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
Commit message (Collapse)AuthorAgeFilesLines
* CPack/RPM tests: handle build-id linksDomen Vrankar2017-03-272-1/+7
| | | | | | | | | Build id links generation was introduced in rpm 4.13.0.1 so files related to them should be ignored as they are not relevant for the tests. Fixes #16710
* Merge branch 'implicit-dir-symlinks' into releaseBrad King2017-03-029-0/+74
|\
| * Tests: Add case for RPATH exclusion of symlinks to implicit directoriesBrad King2017-03-029-0/+74
| | | | | | | | Issue: #16682
* | Merge branch 'csproj_add_free_source_tags' into releaseBrad King2017-03-024-0/+38
|\ \
| * | VS: add test for VS_CSHARP_* source file propertyMichael Stürmer2017-03-014-0/+38
| |/
* | Merge branch 'find-libarch-not-symlink' into releaseBrad King2017-02-283-0/+29
|\ \
| * | 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).
* | | | clang-format.bash: Use Git attributes to mark files for formattingBrad King2017-02-222-0/+4
| |_|/ |/| |
* | | 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.
* | | | | string: Teach TIMESTAMP to treat %% as %Bernhard M. Wiedemann2017-01-272-2/+2
| | | | | | | | | | | | | | | | | | | | This encoding is documented by `strptime`.
* | | | | Merge topic 'genex-if'Brad King2017-01-274-0/+22
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 895f7f16 Genex: Add `IF` generator expression
| * | | | | Genex: Add `IF` generator expressionColby Pike2017-01-264-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows a single condition to be used to choose between two alternatives. Without this the condition must be duplicated with one surrounded by `NOT`. Closes: #15585
* | | | | | Merge topic 'topic-reproducible-build'Brad King2017-01-2713-0/+25
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | 243aed52 cmTimestamp: Support SOURCE_DATE_EPOCH to override current time
| * | | | | cmTimestamp: Support SOURCE_DATE_EPOCH to override current timeBernhard M. Wiedemann2017-01-2613-0/+25
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | See https://reproducible-builds.org/ for why this is good and https://reproducible-builds.org/specs/source-date-epoch/ for the definition of this variable.
* | | | | Merge topic 'FindGTK2_RunTwice'Brad King2017-01-264-0/+32
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4bc2c16b FindGTK2: Add unit test to check variables when run twice 9702b3ee FindGTK2: Fix GTK2_LIBRARIES and GTK2_TARGETS when called twice
| * | | | | FindGTK2: Add unit test to check variables when run twiceDaniele E. Domenichelli2017-01-254-0/+32
| |/ / / /
* | | | | Merge topic 'sanitizer-options'Brad King2017-01-257-12/+12
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e116f2a5 ctest_memcheck: Fix sanitizers when MemoryCheckSanitizerOptions is empty 522e1588 Tests: Use CTEST_MEMORYCHECK_SANITIZER_OPTIONS where appropriate
| * | | | | ctest_memcheck: Fix sanitizers when MemoryCheckSanitizerOptions is emptyJamie Snape2017-01-236-10/+10
| | | | | |
| * | | | | Tests: Use CTEST_MEMORYCHECK_SANITIZER_OPTIONS where appropriateJamie Snape2017-01-231-2/+2
| | |/ / / | |/| | | | | | | | | | | | | | | | | | Previously the ThreadSanitizer and MemorySanitizer tests erroneously used `CTEST_MEMORYCHECK_COMMAND_OPTIONS`.
* | | | | Merge topic 'lang_lint'Brad King2017-01-2527-1/+97
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | 0618ddf6 Add properties to run the cpplint style checker with the compiler
| * | | | Add properties to run the cpplint style checker with the compilerJamie Snape2017-01-2327-1/+97
| |/ / / | | | | | | | | | | | | | | | | | | | | Create a `<LANG>_CPPLINT` target property (initialized by a `CMAKE_<LANG>_CPPLINT` variable) to specify a `cpplint` style checker command line to be run along with the compiler.
* | | | Merge topic 'cpack-stgz-minimal-test'Brad King2017-01-245-2/+78
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 624709c8 CPack/STGZ: minimalistic packages test 1c93eb68 CPack/STGZ prefer pax for extraction
| * | | | CPack/STGZ: minimalistic packages testDomen Vrankar2017-01-225-2/+78
| | | | |
* | | | | Merge topic '16253-xcode-effective-platform-name'Brad King2017-01-242-0/+35
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | 10c9c73d Xcode: Control emission of EFFECTIVE_PLATFORM_NAME
| * | | | Xcode: Control emission of EFFECTIVE_PLATFORM_NAMEGregor Jasny2017-01-202-0/+35
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building with multiple SDKs within one project Xcode requires the usage of ${EFFECTIVE_PLATFORM_NAME} to put temporary and build outout into separate directories. For example an iOS device and simulator build use two different SDKs (iphoneos and iphonesimulator). In the past cmake tries to detect embedded toolchains that could possibly use simulators and emitted EFFECTIVE_PLATFORM_NAME (EPN) at the proper locations. In #16253 Mark noticed that if he uses macosx and iphoneos in combination the necessary EPN is not emitted. This is because CMake by default assumes macosx SDK which does not trigger EPN emission. The fist naive approach - enabling EPN unconditionally revealed that then the EPN leaks into generator expressions like $<TARGET_FILE:xxx> which might be a regression and thus is unacceptable. The next approach was to add an CMake property to enable EPN emission unconditionally. This solved the reported problem. But the EPN leakage also happened for the embedded toolchains already without anyone noticing. So the control property was turned into a tri-state one: * No definition: EPN is activated for embedded toolchains like before * ON: EPN is always emitted * OFF: EPN is never emitted That approach gives the user the chance to disable EPN for embedded toolchains and restores generator expression functionality for those. Closes: #16253
* | | | Merge topic '16165-manually-added-dependencies'Brad King2017-01-208-0/+35
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | d9f836e9 Add a getter for manually added target dependencies
| * | | | Add a getter for manually added target dependenciesGregor Jasny2017-01-168-0/+35
| | | | | | | | | | | | | | | | | | | | Closes: #16165
* | | | | Merge topic 'cdash_upload_retry'Brad King2017-01-208-6/+8
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | 05ed82b1 ctest_submit: Update documentation for CDash upload retries 0ce7643a ctest_submit: improve handling of QUIET option 5614a5cd ctest_submit: Allow RETRY_COUNT for CDASH_UPLOAD
| * | | | ctest_submit: Allow RETRY_COUNT for CDASH_UPLOADZack Galbreath2017-01-208-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach the CDASH_UPLOAD signature of ctest_submit() to honor the RETRY_COUNT and RETRY_DELAY options. Also teach HttpRequest() to honor the default 120 second timeout for curl connections.
* | | | | Merge topic 'fixtureUnusedOrdering'Brad King2017-01-173-0/+16
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 298b5b31 CTest: Ensure setup/cleanup ordering even when fixture not required
| * | | | | CTest: Ensure setup/cleanup ordering even when fixture not requiredCraig Scott2017-01-163-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | Closes: #16558
* | | | | | Merge topic 'file-GLOB-empty-no-crash'Brad King2017-01-172-0/+2
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | 2bba0bfc file: Fix crash on GLOB with no expressions after LIST_DIRECTORIES
| * | | | | file: Fix crash on GLOB with no expressions after LIST_DIRECTORIESBrad King2017-01-162-0/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.3.0-rc1~318^2~1 (file: Teach GLOB to list directories optionally, 2015-03-17) using `LIST_DIRECTORIES` followed by no expression causes a crash. Fix the logic to avoid the crash. Fixes: #16565
* | | | | Merge topic 'csharp_simple'Brad King2017-01-161-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 397b8546 VS: added documentation for C# support a7dd8e66 VS: added support for C# (for Visual Studio 2010, 2012, 2013, 2015) 6fda6005 VS: renamed target property VS_USER_PROPS_CXX to VS_USER_PROPS
| * | | | | VS: renamed target property VS_USER_PROPS_CXX to VS_USER_PROPSMichael Stürmer2017-01-131-1/+1
| |/ / / /