summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* GHS: Update the link line processingFred Baksik2019-01-163-56/+49
| | | | | | | | | -- add missing executable linker libs from: CMAKE_C_STANDARD_LIBRARIES -- add missed transitive link libraries -- add skipped library linker options -- The linker expects -l../relative/path/to/lib.a to be relative to the top-level project Because there can be multiple top-level projects convert the path to an absolute path to target
* GHS: Place build system outputs per target output directivesFred Baksik2019-01-168-46/+75
| | | | | | | | | | | | | | -- Set output and object file locations -- Suffixes are no longer being forced but will now follow the target properties By default GHS tools have no suffix for executable files so CMAKE_EXECUTABLE_SUFFIX was changed to meet this behavior -- Remove #if 0 blocked out code; it has been replaced. Forcing the -relprog option has been removed from non-kernel executable targets. The default value of this option (if it is even available) is determined by the tool-chain for the specified target and platform (Some tool-chains default to -locatedprogram). The use of -relprog can have unexpected results as it cannot always produce a fully relocated executable. -- Clarify use of CMAKE_BUILD_TYPE to control build configuration
* GHS: Update the top-level project generationFred Baksik2019-01-166-106/+241
| | | | | | | | | | | | -- Sort targets by name -- Generate a top-level project for each project command named as project.top.gpj Use the target set for the current project instead of assuming all targets -- Add support for building projects not in binary root -- Directly create files and pass ostream -- Do no generate project files for UTILITY targets; this was never supported -- Do no generate project files for OBJECT, SHARED, or MODULE libraries; this was never supported -- Update GHS tags to support project types NOTE: The default tag is changed to "" because "[ ]" is an invalid token in project file
* GHS: Cleanup how source files are listedFred Baksik2019-01-164-48/+152
| | | | | | | | | | | | -- Sort the items of the project files, previously they were unsorted The layout is similar to Visual Studio projects -- Do not make a make a tree of directories and projects files The main project file is in the binary folder The sub-project files are located in the project object directory This is similar to the Makefile generator -- Allow the creation of a single project file If the variable or target property GHS_NO_SOURCE_GROUP_FILE is set then all sources will be listed in the main project file
* GHS: Update binary structure so that install scripts workFred Baksik2019-01-164-75/+105
| | | | | | | | | | GHS doesn't follow the binary structure that VS or Makefiles use Also setting binary location outputs do not work -- Update to act like Visual Studio Generator and use its project layout -- Fix open/close issues where open() was used instead of Open() Now passes the file handle to all function that require it -- Avoid triggering MULTI reloads; use SetCopyIfDifferent mode
* GHS: Have the top-level project name follow the specified project nameFred Baksik2019-01-162-3/+6
|
* GHS: Update test suiteFred Baksik2019-01-16101-67/+921
| | | | | | | | | | | | | | | | | | -- Update test suite so that CMake can use multiple toolsets CMake_TEST_GreenHillsMULTI_config ghs_config_name ghs_target_arch ghs_tools ghs_toolset_name ghs_os_root ghs_os_dir ghs_target_platform ghs_bsp_name -- Change ARM Integrity test to generic Integrity test Add Monolithic build test -- Add other GHS generator tests
* GHS: Only print bsp and os directives if specified by userFred Baksik2019-01-163-36/+51
| | | | | | | | | -- standalone platforms will not build if bsp/os is specified in project file -- integrity platforms will always print these directives because they are required -- cleanup -os_dir setting allow customization of the actual setting because it is determined by tool-set customization files remove variable that was set but never used -- add message when using default values
* Merge topic 'iar-avr'Brad King2019-01-165-3/+82
|\ | | | | | | | | | | | | | | 270965e0c7 IAR: Update compiler modules to support AVR systems 7414d422b2 IAR: Parse INFO strings from the binary format of AVR systems Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2792
| * IAR: Update compiler modules to support AVR systemsEthan Slattery2019-01-154-2/+75
| | | | | | | | Fixes: #18557
| * IAR: Parse INFO strings from the binary format of AVR systemsEthan Slattery2019-01-151-1/+7
| | | | | | | | | | | | | | Teach `CMakeDetermineCompilerId` to recognize and parse the IAR-AVR binary format so we can recognize this compiler id. Issue: #18557
* | Merge topic 'semi-warnings'Brad King2019-01-1627-66/+81
|\ \ | | | | | | | | | | | | | | | | | | b056bc3425 Fix most clang -Wextra-semi-stmt warnings in C++ files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2795
| * | Fix most clang -Wextra-semi-stmt warnings in C++ filesSean McBride2019-01-1527-66/+81
| |/ | | | | | | Suppress one in code generated by flex.
* | Merge topic 'swift'Brad King2019-01-163-0/+24
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | b90e6134a7 Ninja: add new placeholder `SWIFT_AUXILIARY_SOURCES` Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Cristian Hancila <chancila@gmail.com> Acked-by: Aaron Dierking <aarondierking7@gmail.com> Merge-request: !2797
| * | Ninja: add new placeholder `SWIFT_AUXILIARY_SOURCES`Saleem Abdulrasool2019-01-153-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | The swift compilation model requires all sources for the module to be listed for the compiler to type check across them. Provide a placeholder to allow enumerating the remainder of the swift sources in a target for the language compile rule. Issue: #18800
* | | Merge topic 'autogen_adaptive_warning'Brad King2019-01-166-46/+80
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5fe18eee13 Autogen: Adaptive missing Qt warning f2f1661334 Autogen: Add and use QtAutoGen::Tools method b2343ff086 Autogen: Fix rcc validity check Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2806
| * | | Autogen: Adaptive missing Qt warningSebastian Holtermann2019-01-154-31/+39
| | | | | | | | | | | | | | | | | | | | This makes the warning message for a missing Qt use the requested Qt version in the message text.
| * | | Autogen: Add and use QtAutoGen::Tools methodSebastian Holtermann2019-01-154-14/+40
| | | |
| * | | Autogen: Fix rcc validity checkSebastian Holtermann2019-01-141-1/+1
| | | |
* | | | Merge topic 'support_per_toolset_json_flags'Brad King2019-01-164-70/+100
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c8ba777f6d GlobalVisualStudio10Generator: Support non-standard toolset json flag files. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2772
| * | | | GlobalVisualStudio10Generator: Support non-standard toolset json flag files.Stephan Szabo2019-01-034-70/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If given a toolset that does not have an explicit mapping in cmVisualStudio10ToolsetOptions, check for a json flag file using the toolset name before trying the default toolset for the generator.
* | | | | Merge topic 'messenger-no-cmake'Brad King2019-01-16105-610/+698
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cc2a5261f8 Factor out enum MessageType into dedicated header Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2654
| * | | | | Factor out enum MessageType into dedicated headerBruno Manganelli2019-01-16105-610/+698
| | |_|_|/ | |/| | | | | | | | | | | | | Reduce the number of files relying on `cmake.h`.
* | | | | CMake Nightly Date StampKitware Robot2019-01-161-1/+1
|/ / / /
* | | | Merge topic 'fetchcontent-uses-terminal'Brad King2019-01-156-0/+33
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2119c33b7e FetchContent: Give access to the terminal for download and update Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Michael Hirsch, Ph.D. <michael@scivision.co> Merge-request: !2800
| * | | | FetchContent: Give access to the terminal for download and updateCraig Scott2019-01-146-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A main scenario where this is needed is when a git operation needs the password to a private key and asks for it on the console. Without this change, such operations can appear to hang indefinitely with no prompt if QUIET is in effect (which it is by default). Another scenario this addresses is when progress of a download or update should be shown. Without this change, all such progress is buffered with some generators and will only be shown at the end, which defeats the purpose of logging any progress to begin with. Relates: #18238
* | | | | Merge topic 'vs2019'Brad King2019-01-1520-71/+332
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 57e48f16f2 VS: Add Visual Studio 16 2019 generator bdef729646 VS: Parameterize VS 2017 generator to support future versions 68d316e0cf VS: Rename VS 2017 generator sources to be version-independent d8ed309d05 VS: Parameterize cmVSSetupAPIHelper instances with VS version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2789
| * | | | | VS: Add Visual Studio 16 2019 generatorBrad King2019-01-1117-17/+235
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add this generator *without* support for specifying the target architecture in the generator name. cmake-gui will be taught to provide a field for this, and command-line builds can use -A. Also, teach this generator to select a default target architecture based on the host architecture. Fixes: #18689 Inspired-by: Egor Pugin <egor.pugin@gmail.com>
| * | | | | VS: Parameterize VS 2017 generator to support future versionsBrad King2019-01-112-9/+42
| | | | | |
| * | | | | VS: Rename VS 2017 generator sources to be version-independentBrad King2019-01-115-37/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename `cmGlobalVisualStudio{15 => Versioned}Generator`. Rename `Factory` to `Factory15` since that part still needs to be version-specific.
| * | | | | VS: Parameterize cmVSSetupAPIHelper instances with VS versionBrad King2019-01-115-15/+17
| | | | | |
* | | | | | Merge topic 'simplify-boolean-expr'Brad King2019-01-159-42/+17
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 414aa6c81e clang-tidy: Simplify boolean expressions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2740
| * | | | | | clang-tidy: Simplify boolean expressionsRegina Pfeifer2019-01-159-42/+17
| | |_|_|_|/ | |/| | | |
* | | | | | Merge topic 'fix-source-group-CMakeLists.txt'Brad King2019-01-154-0/+45
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 77303314dc Restore support for a custom source group for CMakeLists.txt Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2803
| * | | | | | Restore support for a custom source group for CMakeLists.txtBrad King2019-01-144-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.11.0-rc1~467^2 (VS,Xcode: Add CMakeLists.txt sources without mutating targets, 2017-10-18) we do not add `CMakeLists.txt` to target sources but instead generate references to them directly. This accidentally dropped generation of the `.vcxproj.filters` entry for a source group in which `CMakeLists.txt` is the only member. Fixes: #18795
* | | | | | | Merge topic 'extendwhitelist'Brad King2019-01-153-0/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 59c408d053 cmTargetPropertyComputer: whitelist 'MANUALLY_ADDED_DEPENDENCIES'. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2808
| * | | | | | | cmTargetPropertyComputer: whitelist 'MANUALLY_ADDED_DEPENDENCIES'.Sebastian Lipponer2019-01-143-0/+3
| | |_|_|_|_|/ | |/| | | | |
* | | | | | | Merge topic 'rel-win7'Brad King2019-01-153-4/+10
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 214a0bc924 Utilities/Release: Build for Windows 7 and above Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2807
| * | | | | | | Utilities/Release: Build for Windows 7 and aboveBrad King2019-01-143-4/+10
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop support for Windows XP and Windows Vista. Upstream libuv has done this, and since that is a dependency of ours we will soon need to do so also.
* | | | | | | Merge topic 'vs10_cs_cf_support'Brad King2019-01-154-1/+95
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5b1364a2e3 cmVisualStudio10TargetGenerator: Fix .NET Compact Framework projects. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2715
| * | | | | | | cmVisualStudio10TargetGenerator: Fix .NET Compact Framework projects.Wil Stark2019-01-114-1/+95
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | Fixes: #18672
* | | | | | | Merge topic 'check-fortran-run'Brad King2019-01-156-3/+177
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 10a1477b63 CheckFortranSourceRuns: Add module to check if Fortran code runs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2714
| * | | | | | | CheckFortranSourceRuns: Add module to check if Fortran code runsMichael Hirsch, Ph.D2019-01-106-3/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a Fortran equivalent to the existing `Check{C,CXX}SourceRuns` modules.
* | | | | | | | Merge topic 'refactor-cmDocumentation'Brad King2019-01-153-91/+41
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 57862079d8 cmDocumentation: Get rid of raw pointers in AllSections map 4308eb3d16 cmDocumentationSection: Remove unused parameter in constructor Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2692
| * | | | | | | | cmDocumentation: Get rid of raw pointers in AllSections mapArtur Ryt2019-01-112-84/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also simplify a lot of logic around adding sections into it. Prefer move sematics over references.
| * | | | | | | | cmDocumentationSection: Remove unused parameter in constructorArtur Ryt2019-01-112-16/+10
| | |/ / / / / / | |/| | | | | |
* | | | | | | | Merge topic 'curl-IPv6'Brad King2019-01-151-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 971d490e5b curl: do not disable IPv6 support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2762
| * | | | | | | | curl: do not disable IPv6 supportRechi Rechi2019-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow curl's detection of IPv6 to proceed when building in CMake.
* | | | | | | | | Merge topic 'deprecate-policy-old'Brad King2019-01-153-1/+23
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6845e2559d Add deprecation warnings for policies CMP0065 and below Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2793
| * | | | | | | | | Add deprecation warnings for policies CMP0065 and belowBrad King2019-01-113-1/+23
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for some policies to encourage projects to port away from setting policies to OLD.