summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'try_compile-lang-std'Brad King2016-12-0726-8/+523
|\ | | | | | | | | | | | | f72ba42b try_compile: Add policy CMP0067 to honor language standards 45aa03b9 try_compile: Add options to specify language standards 3bb2051e try_compile: Stop processing when test build system fails to generate
| * try_compile: Add policy CMP0067 to honor language standardsBrad King2016-12-0613-1/+239
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Projects use `try_compile` to check if they will be able to compile some particular source code. When a language standard variable like `CMAKE_CXX_STANDARD` is set, then the project intends to compile source code using a compiler mode for that standard. Therefore it makes sense for `try_compile` to use that standard in the test project too. Unfortunately this was not done when support for the `CMAKE_CXX_STANDARD` variable was first implemented. Add a policy to introduce the improved behavior in a compatible way. Closes: #16456
| * try_compile: Add options to specify language standardsBrad King2016-12-0618-1/+274
| | | | | | | | | | | | | | | | | | Give `try_compile` callers a way to control the `CXX_STANDARD`, `CXX_STANDARD_REQUIRED`, and `CXX_EXTENSIONS` properties of the generated test target (or the `C` equivalents) in order to compile a test source for a particular language standard. Issue: #16456
| * try_compile: Stop processing when test build system fails to generateBrad King2016-12-061-6/+10
| | | | | | | | | | | | Failing to generate the build system of the test project is a failure to compute the result of the test compilation, and so must be treated as any other CMake Error and stop processing.
* | Merge topic 'QtAutogen_Contain'Brad King2016-12-0731-697/+824
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c8a4147a QtAutogen: Release notes for the Contain branch e1f571a9 QtAutogen: CMake-Qt documentation update e324d704 QtAutogen: AUTOMOC documentation update c2211703 QtAutogen: Tests: Don't use std::auto_ptr 2da0875f QtAutogen: Tests: Update ui_ include lookup directory 5961db41 QtAutogen: Tests: Increase minimum required CMake version 6d0a8af3 QtAutogen: Tests: Don't use std::auto_ptr 67310252 QtAutogen: Tests: Don't include CMAKE_CURRENT_BINARY_DIR 43d77e1d QtAutogen: Don't use std::i/ofstream::is_open() 98665c35 QtAutogen: Rename and sort variables df74f3ff QtAutogen: Generate rcc output file names in one place only bafbeaf1 QtAutogen: Add rcc output files to autogen target byproducts 8f437f3c QtAutogen: Add moc compilation file to autogen target byproducts 360c3427 QtAutogen: Reconfigure when .qrc file changes b5409d04 QtAutogen: Rename autogen target to *_autogen from *_automoc d9996aab QtAutogen: Inline single use variable definitions ...
| * | QtAutogen: Release notes for the Contain branchSebastian Holtermann2016-12-071-0/+10
| | |
| * | QtAutogen: CMake-Qt documentation updateSebastian Holtermann2016-12-071-9/+14
| | |
| * | QtAutogen: AUTOMOC documentation updateSebastian Holtermann2016-12-071-5/+6
| | |
| * | QtAutogen: Tests: Don't use std::auto_ptrSebastian Holtermann2016-12-074-2/+14
| | |
| * | QtAutogen: Tests: Update ui_ include lookup directorySebastian Holtermann2016-12-071-4/+3
| | |
| * | QtAutogen: Tests: Increase minimum required CMake versionSebastian Holtermann2016-12-074-4/+4
| | |
| * | QtAutogen: Tests: Don't use std::auto_ptrSebastian Holtermann2016-12-072-2/+7
| | |
| * | QtAutogen: Tests: Don't include CMAKE_CURRENT_BINARY_DIRSebastian Holtermann2016-12-075-7/+3
| | |
| * | QtAutogen: Don't use std::i/ofstream::is_open()Sebastian Holtermann2016-12-071-3/+4
| | |
| * | QtAutogen: Rename and sort variablesSebastian Holtermann2016-12-072-46/+70
| | |
| * | QtAutogen: Generate rcc output file names in one place onlySebastian Holtermann2016-12-071-31/+7
| | |
| * | QtAutogen: Add rcc output files to autogen target byproductsSebastian Holtermann2016-12-071-29/+27
| | |
| * | QtAutogen: Add moc compilation file to autogen target byproductsSebastian Holtermann2016-12-071-10/+12
| | | | | | | | | | | | Closes: #16389
| * | QtAutogen: Reconfigure when .qrc file changesSebastian Holtermann2016-12-071-11/+15
| | | | | | | | | | | | | | | | | | Add .qrc files to the CMake depends. When the .qrc file changes the build system gets reconfigured and the resource files watch list gets updated.
| * | QtAutogen: Rename autogen target to *_autogen from *_automocSebastian Holtermann2016-12-074-7/+7
| | |
| * | QtAutogen: Inline single use variable definitionsSebastian Holtermann2016-12-071-8/+5
| | |
| * | QtAutogen: Determine the Qt major version in only one waySebastian Holtermann2016-12-071-45/+34
| | |
| * | QtAutogen: Clean removes autogen build directorySebastian Holtermann2016-12-071-5/+3
| | | | | | | | | | | | | | | Cleaning removes the entire autogen build directory instead of single files.
| * | QtAutogen: Generate included ui_ and moc_ files in _automoc/includesSebastian Holtermann2016-12-073-47/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ui_ and moc_ files that are include in source files get generated in $CURRENT_BUILD_DIR/$TARGETNAME_automoc/include. The directory is added to the INCLUDE_DIRECTORIES of the origin target in the generation stage. From now on all autogen files get generated below $CURRENT_BUILD_DIR/$TARGETNAME_automoc.
| * | cmGeneratorTarget: Add AddIncludeDirectory method (experimental)Sebastian Holtermann2016-12-072-0/+21
| | |
| * | QtAutogen: Use checksum based subdirectories to avoid name collisionsSebastian Holtermann2016-12-078-229/+205
| | |
| * | QtAutogen: Remove .dir suffix from automoc build directorySebastian Holtermann2016-12-072-2/+2
| | |
| * | QtAutogen: Generate moc compilation in _automoc.dir/moc_compilation.cppSebastian Holtermann2016-12-073-20/+20
| | |
| * | QtAutogen: Use upper case for MOC, UIC and RCC in messagesSebastian Holtermann2016-12-072-4/+4
| | |
| * | QtAutogen: New common bold logging methodSebastian Holtermann2016-12-072-16/+16
| | |
| * | QtAutogen: Make sure parent directory exists before writing filesSebastian Holtermann2016-12-072-37/+85
| | |
| * | QtAutogen: Improved error handlingSebastian Holtermann2016-12-072-18/+32
| | |
| * | QtAutogen: Error and warning log method tweaksSebastian Holtermann2016-12-072-15/+27
| | |
| * | QtAutogen: Improved error recognitionSebastian Holtermann2016-12-071-42/+48
| | |
| * | QtAutogen: Improved error recognition on config loadSebastian Holtermann2016-12-072-24/+40
| | |
| * | QtAutogen: CommentsSebastian Holtermann2016-12-061-0/+3
| | |
| * | QtAutogen: For loop feature test optimizationSebastian Holtermann2016-12-061-12/+11
| | |
| * | QtAutogen: Variable scope optimizationsSebastian Holtermann2016-12-061-34/+39
| | |
| * | QtAutogen: Rename variable templates in config templateSebastian Holtermann2016-12-062-10/+7
| | |
| * | QtAutogen: Make strings constSebastian Holtermann2016-12-061-2/+2
| | |
| * | QtAutogen: Rename config AM_RELAXED_MODE to AM_MOC_RELAXED_MODESebastian Holtermann2016-12-063-4/+4
| | |
| * | QtAutogen: Change config file permissions only on demandSebastian Holtermann2016-12-061-10/+15
| | |
| * | QtAutogen: Inline single use variableSebastian Holtermann2016-12-061-6/+2
| | |
| * | QtAutogen: Remove unused intermediate definition in makefileSebastian Holtermann2016-12-061-5/+1
| | |
| * | QtAutogen: Moc related variable renamedSebastian Holtermann2016-12-061-6/+6
| | |
| * | QtAutogen: Moc related variable renamedSebastian Holtermann2016-12-061-6/+6
| | |
| * | QtAutogen: Target directory name function renameSebastian Holtermann2016-12-061-3/+3
| | |
| * | QtAutogen: Move util functions to file beginSebastian Holtermann2016-12-061-20/+20
| | |
| * | QtAutogen: Moc related setup function renameSebastian Holtermann2016-12-061-2/+2
| | |
| * | QtAutogen: Uic related function renameSebastian Holtermann2016-12-061-3/+3
| | |