summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'osx-framework-search-flag'Brad King2013-10-154-13/+37
|\ | | | | | | | | 2e13c36 OS X: Encode -F framework search flag in per-language platform variable
| * OS X: Encode -F framework search flag in per-language platform variableBrad King2013-10-104-13/+37
| | | | | | | | | | | | | | | | | | Compilers for languages other than C and C++ on OS X may not understand the -F framework search flag. Create a new platform information variable CMAKE_<LANG>_FRAMEWORK_SEARCH_FLAG to hold the flag, and set it for C and CXX lanugages in the Platform/Darwin module. Reported-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | CMake Nightly Date StampKitware Robot2013-10-151-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-10-141-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-10-131-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-10-121-1/+1
| |
* | CMake Nightly Date StampKitware Robot2013-10-111-1/+1
|/
* CMake Nightly Date StampKitware Robot2013-10-101-1/+1
|
* Merge topic 'osx-cmake-app-info-plist'Brad King2013-10-092-1/+38
|\ | | | | | | | | dcf1b64 OS X: Set CMake.app bundle Info.plist fields (#11694)
| * OS X: Set CMake.app bundle Info.plist fields (#11694)Brad King2013-10-082-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the Apple Info.plist reference documentation: Core Foundation Keys https://developer.apple.com/library/mac/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html Launch Services Keys https://developer.apple.com/library/mac/documentation/general/Reference/InfoPlistKeyReference/Articles/LaunchServicesKeys.html Cocoa Keys https://developer.apple.com/library/mac/documentation/general/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html modify the Info.plist we create for cmake-gui to add/set fields CFBundleShortVersionString = The release-version-number string LSApplicationCategoryType = UTI that categorizes the app for the App Store NSHumanReadableCopyright = Specifies the copyright notice and drop fields CFBundleGetInfoString CFBundleLongVersionString LSRequiresCarbon Also prepare to set CFBundleVersion = The build-version-number string but leave it commented out as TBD (To Be Determined) for now. The version fields must have form <major>.<minor>.<patch> with integer components. While at it, rename the bundle to end in ".<patch>" instead of "-<patch>" so that it is consistent with the version number and does not look like a packaging increment suffix.
* | Merge topic 'deprecation-message'Brad King2013-10-094-4/+34
|\ \ | | | | | | | | | | | | | | | | | | f973737 GenerateExportHeader: Port to use message(DEPRECATION) f69606d Qt4Macros: Port to use message(DEPRECATION) 509c142 message: Add a DEPRECATION mode
| * | message: Add a DEPRECATION modeStephen Kelly2013-10-084-4/+34
| | | | | | | | | | | | | | | | | | By default, the message is not issued. If CMAKE_ERROR_DEPRECATED is on, the message is fatal. If CMAKE_WARN_DEPRECATED is on, the message is a warning.
* | | Merge topic 'haiku-updates'Brad King2013-10-095-28/+33
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 54ef2be Haiku: Include files cleanup in cmCTest 38d5555 Haiku: Remove outdated preprocessor checks 1dc61f8 Haiku: Remove use of B_COMMON_DIRECTORY 7ebc1cb Haiku: Several fixes to platform module
| * | | Haiku: Include files cleanup in cmCTestAdrien Destugues2013-10-081-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | * No need to use a different path from the BeOS one, which still works. Applied-by: Rolf Eike Beer <eike@sf-mail.de>
| * | | Haiku: Remove use of B_COMMON_DIRECTORYAdrien Destugues2013-10-084-23/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The common directory was removed in Haiku. Applications are now installed in the system directory. Applied-by: Rolf Eike Beer <eike@sf-mail.de>
* | | | Merge topic 'update-kwsys'Brad King2013-10-093-13/+5
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | f59693b Merge branch 'upstream-kwsys' into update-kwsys 1a39f85 KWSys 2013-10-08 (96b2f6f4)
| * | | Merge branch 'upstream-kwsys' into update-kwsysBrad King2013-10-083-13/+5
| | | |
* | | | Merge topic 'unset-PARENT_SCOPE'Brad King2013-10-092-2/+11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 261c248 unset: Add PARENT_SCOPE option
| * | | | unset: Add PARENT_SCOPE optionBrad King2013-10-082-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an unset() command option to remove a variable from the calling scope, just like the set() command's PARENT_SCOPE option. Teach the Unset test to cover such cases.
* | | | | Merge topic 'apple-clang-id'Brad King2013-10-096-0/+65
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1763c31 Set policy CMP0025 to NEW while building CMake itself aa53ee5 Add policy CMP0025 for Apple Clang compiler id compatibility ab65862 Clang: Add separate "AppleClang" compiler id
| * | | | | Set policy CMP0025 to NEW while building CMake itselfBrad King2013-10-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CMake is aware of the policy's NEW behavior and the AppleClang compiler id. Set the policy to NEW explicitly to avoid the warning and get the NEW behavior. Also teach the RunCMake test infrastructure to build tests with -DCMAKE_POLICY_DEFAULT_CMP0025=NEW to avoid the policy warning in test output that must match specific regular expressions.
| * | | | | Add policy CMP0025 for Apple Clang compiler id compatibilityBrad King2013-10-084-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The parent commit introduced a separate "AppleClang" compiler id for Apple's Clang distribution. Add a policy in order to support projects that expect this compiler's id to be just "Clang". When the policy is OLD or not set, map AppleClang back to Clang. Continue to use the AppleClang id internally while enabling the language, but set the CMAKE_<LANG>_COMPILER_ID after project() or enable_language() to the compatible value for use by project code.
| * | | | | Clang: Add separate "AppleClang" compiler idBrad King2013-10-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apple distributes their own Clang build with their own version numbers that differ from upstream Clang. Use the __apple_build_version__ symbol to identify the Apple Clang compiler and report the Apple Build Version as the fourth version component in CMAKE_<LANG>_COMPILER_VERSION. Add Compiler/AppleClang-<lang> and Platform/Darwin-AppleClang-<lang> modules that simply include the upstream equivalents. Fix comparisons of CMAKE_<LANG>_COMPILER_ID to Clang in CMake's own source and tests to account for AppleClang.
* | | | | | CMake Nightly Date StampKitware Robot2013-10-091-1/+1
| |_|_|/ / |/| | | |
* | | | | Merge topic 'export-policy'Brad King2013-10-085-1/+74
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | 904ff9f export: Add policy CMP0024 to disallow include() of export files
| * | | | export: Add policy CMP0024 to disallow include() of export filesStephen Kelly2013-10-075-1/+74
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, export() is executed at configure-time. One problem with this is that certain exported properties like the link interface may not be complete at the point the export() is encountered leading to an incorrect or incomplete exported representation. Additionally, the generated IMPORTED_LOCATION property may even be incorrect if commands following the export() have an effect on it. Another problem is that it requires the C++ implementation of cmake to be capable of computing the exported information at configure time. This is a limitation on the cleanup and maintenance of the code. At some point in the future, this limitation will be dropped and more implementation will be moved from cmTarget to cmGeneratorTarget.
* | | | Merge topic 'clang-cl-compiler'Brad King2013-10-081-0/+22
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3d8356d Clang: Support Windows variants for GNU and MSVC (#13035, #14458) 51ab85c CMakeDetermineCompilerId: Add notion of "simulated" id/version be10826 CMakeDetermineCompilerId: Fix local var init
| * | | | CMakeDetermineCompilerId: Add notion of "simulated" id/versionBrad King2013-10-041-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some compilers try to simulate other compilers as a drop-in replacement supporting all the same command-line options and predefined preprocessor macros. In such cases it will be useful to have CMake load the compiler information files for the simulated compiler instead of duplicating the information. Teach CMakeDetermineCompilerId to extract the simulated compiler id and version when the compiler id detection provides it.
* | | | | Merge topic 'INTERFACE_LIBRARY-target-type'Brad King2013-10-0830-64/+323
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | ce0c303 install: Teach EXPORT option to handle INTERFACE_LIBRARY targets 435c912 export: Add support for INTERFACE_LIBRARY targets fe73226 Add the INTERFACE_LIBRARY target type.
| * | | | install: Teach EXPORT option to handle INTERFACE_LIBRARY targetsStephen Kelly2013-10-082-2/+25
| | | | |
| * | | | export: Add support for INTERFACE_LIBRARY targetsStephen Kelly2013-10-086-14/+43
| | | | |
| * | | | Add the INTERFACE_LIBRARY target type.Stephen Kelly2013-10-0724-48/+255
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This target type only contains INTERFACE_* properties, so it can be used as a structural node. The target-specific commands enforce that they may only be used with the INTERFACE keyword when used with INTERFACE_LIBRARY targets. The old-style target properties matching LINK_INTERFACE_LIBRARIES_<CONFIG> are always ignored for this target type. The name of the INTERFACE_LIBRARY must match a validity generator expression. The validity is similar to that of an ALIAS target, but with the additional restriction that it may not contain double colons. Double colons will carry the meaning of IMPORTED or ALIAS targets in CMake 2.8.13. An ALIAS target may be created for an INTERFACE library. At this point it can not be exported and does not appear in the buildsystem and project files are not created for them. That may be added as a feature in a later commit. The generators need some changes to handle the INTERFACE_LIBRARY targets returned by cmComputeLinkInterface::GetItems. The Ninja generator does not use that API, so it doesn't require changes related to that.
* | | | Merge topic 'Add-coverage.py-Coverage'Brad King2013-10-085-0/+200
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | d0ec3a0 Adding support for the Python coverage.py tool.
| * | | | Adding support for the Python coverage.py tool.Patrick Reynolds2013-10-085-0/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This assumes that coverage.py has been run in such a way to produce its standard XML output. This uses the Cobertura schema and should be somewhat generalizable.
* | | | | Merge topic 'ctest_rerun_failed'Brad King2013-10-084-2/+162
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | eb2decc ctest: Add --rerun-failed option
| * | | | | ctest: Add --rerun-failed optionZack Galbreath2013-10-084-2/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new command line argument to ctest. This allows users to rerun tests that failed during the previous call to ctest. This is accomplished by analyzing the most recently modified file named "^LastTestsFailed*" in the Testing/Temporary subdirectory of the project's binary directory.
* | | | | | Merge topic 'clang-warnings'Brad King2013-10-0811-28/+23
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | af0051f curl, bzip2: Suppress warnings by setting initial value cb4ec60 cmDocumentation: Fix a few doxygen comment errors d915819 cm*Lexer: Populate empty doxygen @param comment 97124f9 cmTarget: Properly escape @ char in doxygen comments 8e96353 Fix warnings about \brief usage d993032 cmGraphVizWriter: Add extra space in comment to suppress warning 6cea3ee cmNewLineStyle: Remove useless semi-colon 7e7a1c0 curl: Fix typo in header include guard
| * | | | | | cmDocumentation: Fix a few doxygen comment errorsSean McBride2013-10-081-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Warned by clang -Wdocumentation
| * | | | | | cm*Lexer: Populate empty doxygen @param commentSean McBride2013-10-084-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And in one case fixed wrong param name. Warned by clang -Wdocumentation.
| * | | | | | cmTarget: Properly escape @ char in doxygen commentsSean McBride2013-10-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Found by clang's -Wdocumentation.
| * | | | | | Fix warnings about \brief usageSean McBride2013-10-083-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A doxygen \brief is ended with a newline, so remove a newline right after \brief to fix clang -Wdocumentation warning.
| * | | | | | cmGraphVizWriter: Add extra space in comment to suppress warningSean McBride2013-10-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Clang's -Wdocumentation thought it was malformed doxygen.
| * | | | | | cmNewLineStyle: Remove useless semi-colonSean McBride2013-10-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Warned by clang.
* | | | | | | CMake Nightly Date StampKitware Robot2013-10-081-1/+1
| |_|_|_|_|/ |/| | | | |
* | | | | | Merge topic 'split-cmake-E'Brad King2013-10-076-1385/+1431
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | c04995b cmake: Split -E command implementation into separate source file
| * | | | | | cmake: Split -E command implementation into separate source fileBrad King2013-10-036-1385/+1431
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the cmake::ExecuteCMakeCommand static method and all the static methods it calls out of the 'cmake' class to a separate 'cmcmd' class. Build the latter as part of the main cmake executable with cmakemain.cxx and not in CMakeLib. Drop unused header includes from "cmake.cxx". By moving this implementation out of cmake.cxx we avoid carrying it around in all the executables that use class 'cmake'. It is needed only for the main "cmake -E" functionality.
* | | | | | | Merge topic 'IMPORTED-target-SYSTEM-includes'Brad King2013-10-072-1/+39
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a63fcbc Always consider includes from IMPORTED targets to be SYSTEM.
| * | | | | | | Always consider includes from IMPORTED targets to be SYSTEM.Stephen Kelly2013-09-242-1/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce a target property to control this behavior variable to set the default value for the target property. This does not affect try_compile runs.
* | | | | | | | Merge topic 'private-link-depends-are-package-private'Brad King2013-10-071-1/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0ad2a1c Export: Never treat private link libraries as public package dependencies.
| * | | | | | | | Export: Never treat private link libraries as public package dependencies.Stephen Kelly2013-09-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Multiple libraries in a single buildsystem can be exported to multiple export-sets. If a library from one export set depends on a library from another export set, the export logic generates a check in the targets file to verify that the target in the other export set is found. That check is executed at downstream-find_package-time. However, a target may depend privately on a target in another export set. In that case, the depend used to also be listed in the required targets in the targets file. Change the export logic to ignore the private link entries instead.