summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* CPackIFW: Add support for Promoting UpdatesKonstantin Podsvirov2016-05-181-0/+1
| | | | | | | | Add support for this feature added by QtIFW 2.0.3: http://doc.qt.io/qtinstallerframework/ifw-updates.html Add a `cpack_ifw_update_repository` command as porcelain.
* Merge topic 'cpack-osx-optional-CoreServices'Brad King2016-03-211-1/+14
|\ | | | | | | | | d84ba668 CPack: Avoid using OS X CoreServices if compiler fails on header (#16021)
| * CPack: Avoid using OS X CoreServices if compiler fails on header (#16021)Brad King2016-03-181-1/+14
| | | | | | | | | | | | Some compilers on OS X report errors in the CoreServices framework headers. Check for support of the header ahead of time and compile the relevant code only when the header is available.
* | Merge topic 'cpack-osx-no-carbon'Brad King2016-03-181-1/+1
|\ \ | |/ | | | | | | c718070c CPack: Avoid requiring Carbon framework on OS X (#16021)
| * CPack: Avoid requiring Carbon framework on OS X (#16021)Sean McBride2016-03-171-1/+1
| | | | | | | | | | | | | | | | | | | | In commit v3.5.0-rc1~232^2 (CPackDMG: Add support for multilingual SLAs, 2015-10-19) we added use of the Carbon framework in order to get access to its APIs to convert Script Manager RegionCode values. This is not necessary. Instead we can use CoreServices. While at it, replace individual CoreFoundation includes with including the entire framework, which is the correct way.
* | Drop Visual Studio 6 generatorBrad King2016-03-091-4/+0
|/ | | | | | This generator has been deprecated since CMake 3.3. Remove it. Update documentation, modules, and tests to drop content specific to this generator.
* Add option to use a system-installed KWIMLBrad King2015-12-181-0/+1
| | | | | Do not activate it with the general use-system-libs options for now because KWIML is not commonly distributed or available.
* CPackDMG: Add support for multilingual SLAsSimon Levermann2015-11-061-0/+3
| | | | | | | | | Multiple languages for SLAs and the SLA UI can be added via the CPack variables CPACK_DMG_SLA_DIR and CPACK_DMG_SLA_LANGUAGES. For each language defined in the languages variable, CPack will search for <language>.menu.txt and <language>.license.txt in CPACK_DMG_SLA_DIR. If the sla directory variable is not defined, the old behaviour using CPACK_RESOURCE_FILE_LICENSE is retained.
* cmMakeDepend: Inline into only user.Stephen Kelly2015-10-201-1/+0
|
* cmMakeDepend: Inline into header.Stephen Kelly2015-10-201-1/+0
|
* cmFileTimeComparison: Port to OS X nanosecond times (#15769)Brad King2015-10-081-0/+1
|
* cmFileTimeComparison: Update for lack of cmsys_STAT_HAS_ST_MTIMBrad King2015-10-081-0/+12
| | | | | The KWSys Configure.hxx header no longer exposes this value. Take the value from the KWSys try compile result variable instead.
* QtAutogen: Split initializer class into separate file.Stephen Kelly2015-09-291-0/+2
|
* Windows: Fix CMAKE_HOST_SYSTEM_VERSION on Windows >= 8 (#15674)Gilles Khouzam2015-09-211-4/+8
| | | | | | | | | | According to GetVersionEx documentation: https://msdn.microsoft.com/en-us/library/windows/desktop/ms724451.aspx https://msdn.microsoft.com/en-us/library/windows/desktop/dn481241.aspx we must manifest each application to explicitly declare support for each version of Windows.
* VS: Windows Store/Phone package cert thumbprintGilles Khouzam2015-08-271-1/+2
| | | | | Add the PackageCertificateThumbprint property when there is a certificate on a WindowsStore or Phone app.
* Simplify condition for using rpcrt4 library on WindowsBrad King2015-08-271-2/+2
| | | | | Drop the CMAKE_BUILD_ON_VISUAL_STUDIO variable and hard-code the condition at its only use.
* cmLinkItem: Split to separate file.Stephen Kelly2015-08-061-0/+1
|
* cmFortranParser: Factor out of cmDependsFortranBrad King2015-07-271-0/+1
| | | | | Move the main parser class and method implementations out of cmDependsFortran.cxx and into separate source files.
* Rename Fortran parser infrastructure to drop "Depends" prefixKitware Robot2015-07-271-4/+5
| | | | | | | | | | | The parser can be re-used outside cmDependsFortran or the cmDepends class hierarchy so drop the "Depends" from its name: rename 's/DependsFortran([A-Za-z0-9_])/Fortran$1/' Source/*.* sed -i 's/DependsFortran\([A-Za-z0-9_]\)/Fortran\1/g' Source/*.* sed -i 's/FortranInternals/DependsFortranInternals/g' Source/*.* Also manually fix Source/CMakeLists.txt source file ordering.
* Add common base classes to Makefile and Ninja generatorsBrad King2015-07-091-0/+6
| | | | Provide a place to move functionality common to both.
* Merge topic 'cmake-install-components'Brad King2015-07-081-2/+10
|\ | | | | | | | | | | | | | | | | | | | | | | 9ce7a663 Utilities/Sphinx: Add CMake_OPTIONAL_COMPONENT macro d7725a17 CMake: Add cmakexbuild component as REQUIRED to Tools group for IFW installer ecca2685 CMake: optional show LGPLv2.1 license when install cmake-gui component c14f20f7 CMake: Fix Web Site shortcut in IFW installer for Windows c823f04e CMake: New option CMake_INSTALL_COMPONENTS 7383e4d7 CMake: Install COMPONENTs (sphinx-man) 2531b909 CMake: Install COMPONENTs (QtDialog) 938bbc43 CMake: Install COMPONENTs
| * CMake: New option CMake_INSTALL_COMPONENTSKonstantin Podsvirov2015-07-071-1/+2
| | | | | | | | | | By default is OFF. Now it's used with CPack IFW himself installer.
| * CMake: Install COMPONENTsKonstantin Podsvirov2015-07-071-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added components: - cmake - ctest - cpack - cmake-gui - ccmake - data - sphinx-html - sphinx-singlehtml - sphinx-qthelp Other now Unspecified.
* | bindexplib: Build source as part of CMakeLibBill Hoffman2015-07-061-0/+1
|/
* Merge topic 'extract-cmOutputConverter'Brad King2015-06-081-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 59e21ffa Port static calls from cmLocalGenerator to cmOutputConverter. 242dcc2c cmListFileBacktrace: Replace local generator with cmState::Snapshot. 1cff330b cmTarget: Port to cmOutputConverter. 2f1bd62b cmCustomCommandGenerator: Port to cmOutputConverter. 0f2a1324 cmCommandArgumentParserHelper: Port to cmOutputConverter. 4d8b79ad cmComputeLinkInformation: Port to cmOutputConverter. 8680520f cmMakefile: Make the cmState::Snapshot accessible. 6d7abb63 cmOutputConverter: Extract from cmLocalGenerator. a8244157 cmState::Snapshot: Provide accessor for the cmState. 1f4ef396 cmLocalGenerator: Remove some commented lines of code.
| * cmOutputConverter: Extract from cmLocalGenerator.Stephen Kelly2015-06-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | The Convert methods never belonged to the local generator concept, so split them out now. The cmOutputConverter is cheap to construct and destroy, so it can be instantiated where needed to perform conversions. This will allow further decoupling of cmLocalGenerator from the configure step. Inherit cmLocalGenerator from cmOutputConverter for the purpose of source compatibility.
* | cmState: Extract a cmLinkedTree container adaptor.Stephen Kelly2015-06-041-0/+1
|/ | | | | | | | This will be used to contain most of the content of the cmState in several different trees. Refer to the BuildsystemDirectory state from the SnapshotData state. Currently these trees have the same structure, but that will change when we have more snapshot types.
* Add cmXMLWriter class to consolidate XML generationDaniel Pfeifer2015-05-261-0/+2
| | | | | Explicitly track XML generation state (indentation, element closure, etc.) so that clients can avoid manually/implicitly maintaining it.
* Revert "Qbs: Add new 'extra' generator for qbs project files"Brad King2015-05-211-2/+0
| | | | | | | | | | | | | | | | | | | This reverts commit f85db2f32358e6de921aba7d1cb8ecb81da934c0. Discussion by the QtCreator community at https://bugreports.qt.io/browse/QTCREATORBUG-13695 raises concerns about this particular approach to working with CMake projects using QtCreator. Also, the functionality and design of the QBS extra generator was never discussed on the CMake mailing list or with QtCreator developers. There may be better ways to make the two tools work together. In order to avoid committing to long-term support of this generator prior to such discussion taking place, revert it from CMake for now. We may restore this or use an alternative design based on results of such discussion.
* Merge topic 'add-GreenHills-MULTI-generator'Brad King2015-04-201-0/+9
|\ | | | | | | | | | | | | 66b641f4 Help: Add notes for topic 'add-GreenHills-MULTI-generator' 48004d9d Add a 'Green Hills MULTI' generator on Windows 051d8be1 cmLocalGenerator: Constify some cmTarget and cmGeneratorTarget arguments
| * Add a 'Green Hills MULTI' generator on WindowsGeoff Viola2015-04-201-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | Green Hills MULTI is an IDE for embedded real-time systems. The IDE's product page can be found here: http://www.ghs.com/products/MULTI_IDE.html It supports cross compiling on ARM, Intel x86, and other architectures with various operating systems. The IDE exists on Linux and Windows host systems, but CMake will currently only generate the project files on Windows host systems.
* | Merge topic 'introduce-cmState'Brad King2015-04-131-0/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | f081c5bd cmState: Move CacheEntryType enum from cmCacheManager. f71fdf0e cmMakefile: Remove unused CacheManager accessor. ff7169a0 Port to cmState. a6b1ad13 Introduce cmState class.
| * | Introduce cmState class.Stephen Kelly2015-04-131-0/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At this point, it is an interface to the cache. It will be extended to be a universal interface for access to and manipulation of configuration-time data (defintions, properties on targets, directories, source files etc). This will allow porting all command implementations away from the cmMakefile and cmTarget classes, and result in something more-purely related to configuration-time processing of cmake commands. That should serve at least the following goals: * Split the CMake implementation more definitively into three stages: Configuration, computation and generation, and be able to implement each optimally for memory access patterns etc. * Make better IDE integration possible by making more configuration data available. * Make it possiblte to use a smaller library than CMakeLib.a in cpack and ctest, resulting in smaller executables. * Make it possible to run the configure step multiple times in the same CMake run (#14539). Manage its lifetime in the cmake class, and add a convenience accessor to cmMakefile.
* | Merge topic 'cmake-cleanups'Brad King2015-04-131-0/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 07d44d63 cmake: Remove confusing duplication. ea819b29 cmMakefile: Remove unused method. 6ad86c7f cmMakefile: Remove bad comment. fca2b542 cmMakefile: Internalize setting of CMakeInstance on Properties. 7bb4e3db cmMakefile: Out-of-line Home directory accessors. 6241253a cmake: Out-of-line Home and Start directory methods. 0ee3ccb3 cmake: Fix variable name bugs. 57dd094e Use vector, not list for cmCommand storage. 6deb43e6 Remove some files which do not need to be in BootstrapCommands. ecdb1b3b Add some missing includes. 04b307b9 cmake: Simplify CommandExists method. 0f1f324b cmake: Rename oddly named variables. 275185ac cmake: Constify GetCommand method. c57f086a cmake: Don't lower-case a string needlessly. 23368c9b cmake: Use make_pair instead of Foo::value_type. 14c70b8c cmake: out-of-line try compile state methods. ...
| * | Remove some files which do not need to be in BootstrapCommands.Stephen Kelly2015-04-121-0/+4
| |/
* | CTest: Fix locale used for VCS updatesNils Gladitz2015-04-131-0/+2
|/ | | | | | | | 6a661f06030b85b4484733375bbb0aa23eca7446 fixed the locale used for message output but at the same time broke the locale used for filename encodings. This commit preserves LC_CTYPE in the presence of LC_ALL.
* Qbs: Add new 'extra' generator for qbs project filesStanislav Ionascu2015-03-201-0/+2
|
* Genex: Split cmGeneratorExpressionContext into own file.Stephen Kelly2015-03-101-0/+2
|
* Genex: Split cmGeneratorExpressionNode into own file.Stephen Kelly2015-03-101-0/+2
|
* CPackWIX: Refactor start menu and desktop shortcut creation.Nils Gladitz2015-02-211-0/+1
|
* CPackWIX: Explicitly list CPack WIX headers for IDE convenience.Nils Gladitz2015-02-201-0/+10
|
* Update comment to match recent dashboard testing.Stephen Kelly2015-02-171-1/+1
|
* Merge branch 'backport-no-global-setlocale' into no-global-setlocaleBrad King2015-02-061-0/+1
|\ | | | | | | Resolve conflict in Source/CMakeLists.txt by taking both changes.
| * Add setlocale() calls around use of libarchive APIs (#14934, #15377)Brad King2015-02-061-0/+1
| | | | | | | | | | | | | | | | | | | | The libarchive APIs use nl_langinfo(CODESET) for iconv so they need the locale to be set for LC_CTYPE. However, the rest of CMake does not define any behavior for non-ASCII character classification/conversion so we do not want to setlocale() globally. Add a RAII class to save, set, and restore the locale around calls to libarchive APIs. Inspired-by: Clinton Stimpson <clinton@elemtech.com>
* | cmake: Use a default CA path when not using system curlBrad King2015-01-231-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using system curl, we trust it to be configured with desired CA certs. When using our own build of curl, we use os-configured CA certs on Windows and OS X. On other systems, try to achieve this by searching for common CA cert locations. According to a brief investigation, the curl packages on popular Linux distros are currently configured as: * Arch: /etc/ssl/certs/ca-certificates.crt * Debian with OpenSSL: /etc/ssl/certs * Debian with GNU TLS: /etc/ssl/certs/ca-certificates.crt * Debian with NSS: /etc/ssl/certs/ca-certificates.crt * Fedora: /etc/pki/tls/certs/ca-bundle.crt * Gentoo with OpenSSL: /etc/ssl/certs * Gentoo without OpenSSL: /etc/ssl/certs/ca-certificates.crt Teach CMake and CTest to look for these paths and use them as a CA path or bundle when no other os-configured or user-specified CAs are available.
* | Merge topic 'cdash_upload_file_mode'Brad King2015-01-221-0/+1
|\ \ | | | | | | | | | | | | | | | | | | f3e0b6f1 CTestCoverageCollectGCOV: Add module to run gcov 6dd980e0 ctest_submit: Make CDASH_UPLOAD mode arguments more strict 5dc33f89 ctest_submit: Add CDASH_UPLOAD mode to upload files to CDash
| * | ctest_submit: Add CDASH_UPLOAD mode to upload files to CDashBill Hoffman2015-01-201-0/+1
| | | | | | | | | | | | | | | | | | This adds support for the new cdash API where arbitrary files can be uploaded to the CDash server. This CDash API communicates via json files so the json parser jsoncpp was added to the Utilities directory.
* | | Add option to build CMake against a system jsoncppBrad King2015-01-201-1/+1
|/ / | | | | | | Create a CMAKE_USE_SYSTEM_JSONCPP option.
* | Merge topic 'cmake-labels-json'Brad King2015-01-201-1/+3
|\ \ | | | | | | | | | | | | | | | | | | 0238d0c3 cmake: Generate an internal 'Labels.json' file next to 'Labels.txt' bda4f0b6 jsoncpp: Add headers to help CMake include in-source jsoncpp headers a02fbec5 jsoncpp: Drop doxygen comments that cause Clang warnings
| * | cmake: Generate an internal 'Labels.json' file next to 'Labels.txt'Brad King2015-01-201-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | In each internal target directory we generate a "Labels.txt" file containing labels for that target and its sources, but it uses an internal format. In order to make the list of labels easier to publish, use a json format and call it "Labels.json". Since we now use jsoncpp headers, link CMakeLib to the jsoncpp library.