summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* cmUVHandlePtr: Add cm::uv_loop_ptrKyle Edwards2019-04-252-8/+86
|
* Refactor: Move/rename cmProcessGetPipes() to cmGetPipes()Kyle Edwards2019-04-254-44/+60
|
* CMake Nightly Date StampKitware Robot2019-04-251-1/+1
|
* Merge topic 'ctest_xml_tweaks'Kyle Edwards2019-04-243-2/+6
|\ | | | | | | | | | | | | | | d8af0700a3 ctest: consistently format generator name 95db11fdb1 ctest: Include ChangeId in Update.xml Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3259
| * ctest: consistently format generator nameZack Galbreath2019-04-232-2/+2
| | | | | | | | | | | | | | Notes.xml and Upload.xml were missing a hyphen that the rest of our XML files included. ctest3.14.0-rc1 vs. ctest-3.14.0-rc1
| * ctest: Include ChangeId in Update.xmlZack Galbreath2019-04-231-0/+4
| |
* | CMake Nightly Date StampKitware Robot2019-04-241-1/+1
|/
* CMake Nightly Date StampKitware Robot2019-04-231-1/+1
|
* Merge topic 'msvc-warning-flags'Brad King2019-04-221-1/+4
|\ | | | | | | | | | | | | 1baf122cd4 MSVC: Do not add /W3 to CMAKE_<LANG>_FLAGS by default Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3250
| * MSVC: Do not add /W3 to CMAKE_<LANG>_FLAGS by defaultBrad King2019-04-191-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We do not add default warning flags on other compilers, and having a warning flag in the default flags makes it hard for projects to customize the warning level. They need to use string processing to remove `/W3` from `CMAKE_{C,CXX}_FLAGS`. Therefore we should drop it. However, projects may be using string processing to replace `/W3` with another flag, so we cannot simply drop it. Add a policy to drop it in a compatible way. Fixes: #18317
* | Merge topic 'vs-default-platform'Brad King2019-04-223-1/+12
|\ \ | | | | | | | | | | | | | | | | | | db02be85a0 VS: Provide the default platform name to project code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3246
| * | VS: Provide the default platform name to project codeBrad King2019-04-193-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The value of `CMAKE_VS_PLATFORM_NAME` is computed by Visual Studio generators based on `CMAKE_GENERATOR_PLATFORM` or some default. Prior to the VS 2019 generator, the default was always `Win32`. However, for the `Visual Studio 16 2019` generator, the default is based on the host platform. Store the default in a new `CMAKE_VS_PLATFORM_NAME_DEFAULT` variable for use by project code. This is particularly useful in toolchain files because they are allowed to set `CMAKE_GENERATOR_PLATFORM` and so `CMAKE_VS_PLATFORM_NAME` is not yet known. Of course the toolchain file author knows whether it will set `CMAKE_GENERATOR_PLATFORM`, and if not then `CMAKE_VS_PLATFORM_NAME_DEFAULT` provides the platform name that will be used. Fixes: #19177
| * | CMake 3.14.2v3.14.2Brad King2019-04-121-1/+1
| | |
| * | Merge branch 'fix-overlay-icon-windows' into release-3.14Brad King2019-04-111-1/+0
| |\ \ | | | | | | | | | | | | Merge-request: !3217
| * \ \ Merge branch 'xcode-extra-sources' into release-3.14Brad King2019-04-111-18/+23
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !3208
* | | | | CMake Nightly Date StampKitware Robot2019-04-221-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2019-04-211-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2019-04-201-1/+1
| |_|_|/ |/| | |
* | | | CMake Nightly Date StampKitware Robot2019-04-191-1/+1
| | | |
* | | | Merge topic 'unique'Brad King2019-04-187-30/+21
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9ecb3f8d5c Ninja,Makefile: use `unique_ptr` for memory management Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3230
| * | | | Ninja,Makefile: use `unique_ptr` for memory managementSaleem Abdulrasool2019-04-187-30/+21
| | | | | | | | | | | | | | | | | | | | | | | | | Use a `unique_ptr` to manage the lifetime of the `MacOSXContentGenerator` and 'OSXBundleGenerator` rather than manually handling the lifetime.
* | | | | Merge topic 'update-kwsys'Brad King2019-04-184-88/+76
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0e47391400 bootstrap: Update for new KWSys configuration option fb15c27562 Merge branch 'upstream-KWSys' into update-kwsys 0225b05afe KWSys 2019-04-17 (c42b92f0) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3242
| * | | | | Merge branch 'upstream-KWSys' into update-kwsysBrad King2019-04-174-88/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream-KWSys: KWSys 2019-04-17 (c42b92f0)
* | | | | | CMake Nightly Date StampKitware Robot2019-04-181-1/+1
| | | | | |
* | | | | | Merge topic 'msvc-runtime-library'Brad King2019-04-175-7/+55
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fb3370b6a1 MSVC: Add abstraction for runtime library selection f621e7fa5d VS: Fix Fortran runtime library flag map special case for '-' options Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Acked-by: Leonid Pospelov <pospelovlm@yandex.ru> Merge-request: !3211
| * | | | | MSVC: Add abstraction for runtime library selectionBrad King2019-04-174-3/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace our hard-coded defaults for `/MD` and `/MDd` with a first-class abstraction to select the runtime library from an enumeration of logical names. We've long hesitated to do this because the idea of "runtime library selection" touches on related concepts on several platforms. Avoid that scope creep by simply defining an abstraction that applies only when targeting the MSVC ABI on Windows. Removing the old default flags requires a policy because existing projects may rely on string processing to edit them and choose a runtime library under the old behavior. Add policy CMP0091 to provide compatibility. Fixes: #19108
| * | | | | VS: Fix Fortran runtime library flag map special case for '-' optionsBrad King2019-04-101-4/+4
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2019-04-171-1/+1
| | | | | |
* | | | | | Merge topic 'vs-project-import'Brad King2019-04-162-0/+20
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d145d72e70 VS: add target property VS_PROJECT_IMPORT_<propspath> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3143
| * | | | | | VS: add target property VS_PROJECT_IMPORT_<propspath>Leonid Pospelov2019-04-152-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #18998
* | | | | | | Merge topic 'genex-output_name'Brad King2019-04-161-16/+16
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 60ec292258 Genex: Rename $<TARGET_*_OUTPUT_NAME:...> in $<TARGET_*_FILE_BASE_NAME:...> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3228
| * | | | | | | Genex: Rename $<TARGET_*_OUTPUT_NAME:...> in $<TARGET_*_FILE_BASE_NAME:...>Marc Chevrier2019-04-151-16/+16
| | |_|/ / / / | |/| | | | |
* | | | | | | Merge topic 'string-repeat'Brad King2019-04-162-0/+62
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 536cca60ea string: introduce `REPEAT` sub-command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3239
| * | | | | | | string: introduce `REPEAT` sub-commandAlex Turbov2019-04-152-0/+62
| | | | | | | |
* | | | | | | | Merge topic 'autogen_moc_uic_single_job_queue'Brad King2019-04-168-1268/+1574
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 58f04b6ecf Autogen: Add ManySources test a3f062091f Autogen: Rename `cmQtAutoGeneratorMocUic` class to `cmQtAutoMocUic` 8cb26a0a2a Autogen: Factor out concurrency framework to cmWorkerPool class Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3224
| * | | | | | | | Autogen: Rename `cmQtAutoGeneratorMocUic` class to `cmQtAutoMocUic`Sebastian Holtermann2019-04-154-69/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The class name `cmQtAutoGeneratorMocUic` is long and cumbersome. This renames it to `cmQtAutoMocUic`.
| * | | | | | | | Autogen: Factor out concurrency framework to cmWorkerPool classSebastian Holtermann2019-04-157-1234/+1545
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This factors out the concurrency framework in `cmQtAutoGeneratorMocUic` to a dedicated class `cmWorkerPool` which might be reused in other places. `cmWorkerPool` supports fence jobs that require that - all other jobs before in the queue have been processed before the fence job processing gets started, - no jobs later in the queue will be processed before the fence job processing has been completed. Fence jobs are needed where the completion of all previous jobs in the queue is a requirement for further processing. E.g. in `cmQtAutoGeneratorMocUic` the generation of `mocs_compilation.cpp` requires that all previous source file parse jobs have been completed.
* | | | | | | | | CMake Nightly Date StampKitware Robot2019-04-161-1/+1
| |_|/ / / / / / |/| | | | | | |
* | | | | | | | Merge topic 'ctest-build-and-test-no-progress'Brad King2019-04-151-3/+4
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 81cc3de28e ctest: drop incremental progress-only messages from build-and-test output Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3225
| * | | | | | | | ctest: drop incremental progress-only messages from build-and-test outputBrad King2019-04-121-3/+4
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The cmake progress callback is called with non-negative progress values to provide incremental updates on "Configuring" and "Generating" steps. These are useful in interactive views but are just noise in test output.
* | | | | | | | Merge topic 'code-cleanup'Brad King2019-04-152-37/+23
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3e70a8d0df cmVisualStudio10TargetGenerator: Simplify code of two functions e10b04ef05 cmVisualStudio10TargetGenerator: Use count instead of find 2418a5aec0 cmVisualStudio10TargetGenerator: Remove uses of const_cast Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3223
| * | | | | | | | cmVisualStudio10TargetGenerator: Simplify code of two functionsLeonid Pospelov2019-04-121-8/+6
| | | | | | | | |
| * | | | | | | | cmVisualStudio10TargetGenerator: Use count instead of findLeonid Pospelov2019-04-121-19/+9
| | | | | | | | |
| * | | | | | | | cmVisualStudio10TargetGenerator: Remove uses of const_castLeonid Pospelov2019-04-122-12/+10
| | |/ / / / / / | |/| | | | | |
* | | | | | | | Merge topic 'ghs_custom'Brad King2019-04-156-211/+697
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2bae6a1346 GHS: Update tests and notes 3b415c60c1 GHS: Update ExternalProject for GHS tools 83c47ef5b8 GHS: Update project layout to accommodate gbuild inconsistencies 5d2e1404bd GHS: Update project layout to build targets correctly b6bfa7eeb2 GHS: Support add_dependencies() command 39ee9718d9 GHS: Support add_custom_target() command 8d3dad9a76 GHS: Support add_custom_command( OUTPUT ) signature 37acc9e229 GHS: Update custom command build events Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Narendhar Manimohan <narendhar15@gmail.com> Merge-request: !3119
| * | | | | | | | GHS: Update ExternalProject for GHS toolsFred Baksik2019-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -- When using default values for the external project forward GHS platform variables so that the external project builds with the same tools as the original project. -- Fix issue with bad top level project when GHS_PRIMARY_TARGET is set but has no value. In this case treat it as unset and use default value.
| * | | | | | | | GHS: Update project layout to accommodate gbuild inconsistenciesFred Baksik2019-04-114-135/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -- Do not use reference projects, use build hierarchy instead. gbuild has three parallel levels: * low -- Parallelizes compiling source files within a single project (.gpj) file when safe to do so. * medium -- Parallelizes processing files within a single linked output when safe to do so. * high [default] -- Parallelizes processing files whenever safe to do so, including linking task. Testing showed that for some combinations of gbuild / MULTI there are issues with building a project that uses references to target project files along with using {nobuild} option. Sometimes the archiving of a library and linking of an executable were happening in parallel and the build would fail when linking because the archive wasn't complete. This behavior was also inconsistent when running the build from MULTI and from the command line with gbuild. In some cases MULTI did not parallelize archiving and linking, but gbuild performed these actions in parallel. The parallel build issue was not seen when using a build hierarchy where the project listed the project files normally instead of using a reference link. The other option was to add the -parallel_level=medium to the command line when using "cmake --build" but this wouldn't fix the issue if gbuild itself was used to and the user might not be aware of the extra option used by cmake.
| * | | | | | | | GHS: Update project layout to build targets correctlyFred Baksik2019-04-114-155/+322
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -- Restructure projects and files to support proper building of targets Build order is determined by hierarchy of project files and folders Custom targets may have been run multiple times in the original file / folder structure -- Default to build targets that are part of ALL target -- List all known targets for this project Includes global targets for ALL_BUILD and INSTALL -- Compute build order for building targets
| * | | | | | | | GHS: Support add_dependencies() commandFred Baksik2019-04-113-80/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -- use references to list target dependencies
| * | | | | | | | GHS: Support add_custom_target() commandFred Baksik2019-04-115-79/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -- add new project type that runs shell scripts in proper order