Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge topic 'try_compile-lang-std' | Brad King | 2016-12-07 | 26 | -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 standards | Brad King | 2016-12-06 | 13 | -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 standards | Brad King | 2016-12-06 | 18 | -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 generate | Brad King | 2016-12-06 | 1 | -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 King | 2016-12-07 | 31 | -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 branch | Sebastian Holtermann | 2016-12-07 | 1 | -0/+10 |
| | | | |||||
| * | | QtAutogen: CMake-Qt documentation update | Sebastian Holtermann | 2016-12-07 | 1 | -9/+14 |
| | | | |||||
| * | | QtAutogen: AUTOMOC documentation update | Sebastian Holtermann | 2016-12-07 | 1 | -5/+6 |
| | | | |||||
| * | | QtAutogen: Tests: Don't use std::auto_ptr | Sebastian Holtermann | 2016-12-07 | 4 | -2/+14 |
| | | | |||||
| * | | QtAutogen: Tests: Update ui_ include lookup directory | Sebastian Holtermann | 2016-12-07 | 1 | -4/+3 |
| | | | |||||
| * | | QtAutogen: Tests: Increase minimum required CMake version | Sebastian Holtermann | 2016-12-07 | 4 | -4/+4 |
| | | | |||||
| * | | QtAutogen: Tests: Don't use std::auto_ptr | Sebastian Holtermann | 2016-12-07 | 2 | -2/+7 |
| | | | |||||
| * | | QtAutogen: Tests: Don't include CMAKE_CURRENT_BINARY_DIR | Sebastian Holtermann | 2016-12-07 | 5 | -7/+3 |
| | | | |||||
| * | | QtAutogen: Don't use std::i/ofstream::is_open() | Sebastian Holtermann | 2016-12-07 | 1 | -3/+4 |
| | | | |||||
| * | | QtAutogen: Rename and sort variables | Sebastian Holtermann | 2016-12-07 | 2 | -46/+70 |
| | | | |||||
| * | | QtAutogen: Generate rcc output file names in one place only | Sebastian Holtermann | 2016-12-07 | 1 | -31/+7 |
| | | | |||||
| * | | QtAutogen: Add rcc output files to autogen target byproducts | Sebastian Holtermann | 2016-12-07 | 1 | -29/+27 |
| | | | |||||
| * | | QtAutogen: Add moc compilation file to autogen target byproducts | Sebastian Holtermann | 2016-12-07 | 1 | -10/+12 |
| | | | | | | | | | | | | Closes: #16389 | ||||
| * | | QtAutogen: Reconfigure when .qrc file changes | Sebastian Holtermann | 2016-12-07 | 1 | -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 *_automoc | Sebastian Holtermann | 2016-12-07 | 4 | -7/+7 |
| | | | |||||
| * | | QtAutogen: Inline single use variable definitions | Sebastian Holtermann | 2016-12-07 | 1 | -8/+5 |
| | | | |||||
| * | | QtAutogen: Determine the Qt major version in only one way | Sebastian Holtermann | 2016-12-07 | 1 | -45/+34 |
| | | | |||||
| * | | QtAutogen: Clean removes autogen build directory | Sebastian Holtermann | 2016-12-07 | 1 | -5/+3 |
| | | | | | | | | | | | | | | | Cleaning removes the entire autogen build directory instead of single files. | ||||
| * | | QtAutogen: Generate included ui_ and moc_ files in _automoc/includes | Sebastian Holtermann | 2016-12-07 | 3 | -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 Holtermann | 2016-12-07 | 2 | -0/+21 |
| | | | |||||
| * | | QtAutogen: Use checksum based subdirectories to avoid name collisions | Sebastian Holtermann | 2016-12-07 | 8 | -229/+205 |
| | | | |||||
| * | | QtAutogen: Remove .dir suffix from automoc build directory | Sebastian Holtermann | 2016-12-07 | 2 | -2/+2 |
| | | | |||||
| * | | QtAutogen: Generate moc compilation in _automoc.dir/moc_compilation.cpp | Sebastian Holtermann | 2016-12-07 | 3 | -20/+20 |
| | | | |||||
| * | | QtAutogen: Use upper case for MOC, UIC and RCC in messages | Sebastian Holtermann | 2016-12-07 | 2 | -4/+4 |
| | | | |||||
| * | | QtAutogen: New common bold logging method | Sebastian Holtermann | 2016-12-07 | 2 | -16/+16 |
| | | | |||||
| * | | QtAutogen: Make sure parent directory exists before writing files | Sebastian Holtermann | 2016-12-07 | 2 | -37/+85 |
| | | | |||||
| * | | QtAutogen: Improved error handling | Sebastian Holtermann | 2016-12-07 | 2 | -18/+32 |
| | | | |||||
| * | | QtAutogen: Error and warning log method tweaks | Sebastian Holtermann | 2016-12-07 | 2 | -15/+27 |
| | | | |||||
| * | | QtAutogen: Improved error recognition | Sebastian Holtermann | 2016-12-07 | 1 | -42/+48 |
| | | | |||||
| * | | QtAutogen: Improved error recognition on config load | Sebastian Holtermann | 2016-12-07 | 2 | -24/+40 |
| | | | |||||
| * | | QtAutogen: Comments | Sebastian Holtermann | 2016-12-06 | 1 | -0/+3 |
| | | | |||||
| * | | QtAutogen: For loop feature test optimization | Sebastian Holtermann | 2016-12-06 | 1 | -12/+11 |
| | | | |||||
| * | | QtAutogen: Variable scope optimizations | Sebastian Holtermann | 2016-12-06 | 1 | -34/+39 |
| | | | |||||
| * | | QtAutogen: Rename variable templates in config template | Sebastian Holtermann | 2016-12-06 | 2 | -10/+7 |
| | | | |||||
| * | | QtAutogen: Make strings const | Sebastian Holtermann | 2016-12-06 | 1 | -2/+2 |
| | | | |||||
| * | | QtAutogen: Rename config AM_RELAXED_MODE to AM_MOC_RELAXED_MODE | Sebastian Holtermann | 2016-12-06 | 3 | -4/+4 |
| | | | |||||
| * | | QtAutogen: Change config file permissions only on demand | Sebastian Holtermann | 2016-12-06 | 1 | -10/+15 |
| | | | |||||
| * | | QtAutogen: Inline single use variable | Sebastian Holtermann | 2016-12-06 | 1 | -6/+2 |
| | | | |||||
| * | | QtAutogen: Remove unused intermediate definition in makefile | Sebastian Holtermann | 2016-12-06 | 1 | -5/+1 |
| | | | |||||
| * | | QtAutogen: Moc related variable renamed | Sebastian Holtermann | 2016-12-06 | 1 | -6/+6 |
| | | | |||||
| * | | QtAutogen: Moc related variable renamed | Sebastian Holtermann | 2016-12-06 | 1 | -6/+6 |
| | | | |||||
| * | | QtAutogen: Target directory name function rename | Sebastian Holtermann | 2016-12-06 | 1 | -3/+3 |
| | | | |||||
| * | | QtAutogen: Move util functions to file begin | Sebastian Holtermann | 2016-12-06 | 1 | -20/+20 |
| | | | |||||
| * | | QtAutogen: Moc related setup function rename | Sebastian Holtermann | 2016-12-06 | 1 | -2/+2 |
| | | | |||||
| * | | QtAutogen: Uic related function rename | Sebastian Holtermann | 2016-12-06 | 1 | -3/+3 |
| | | |