| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
All cmGlobalGenerator::GenerateBuildCommand call sites that need to
produce a string now generate "cmake --build" commands. The remaining
call sites immediately pass the result to cmSystemTools::RunSingleCommand.
Avoid the intermediate string and argument parsing by directly producing a
vector of strings. Also drop the ignoreErrors argument because no call
sites remain that use it.
|
|
|
|
|
| |
Add a method to print a command line for human reference by simply
double-quoting every argument.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This avoids requiring cmGlobalGenerator::GenerateBuildCommand to produce
a string so that it can be later refactored to produce a vector with no
quoting or escaping. It also makes the ctest_build command match what
"ctest -T Build" would run in a build tree configured with the new
build_command() command behavior. It also ensures that the native build
tool used matches that selected by the configuration of the tree to be
built.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Re-implement the build_command() command to use "cmake --build" instead
of generating a native build tool invocation directly. This command
will internally invoke the proper native build tool.
This avoids requiring cmGlobalGenerator::GenerateBuildCommand to produce
a string so that it can be later refactored to produce a vector with no
quoting or escaping. It will also allow us to later teach CMake to
delay the decision about which build tool to invoke until after the
project build system is generated to disk. For example, on Visual
Studio 10 and above the preferred command-line tool is MSBuild, but we
need to fall back to devenv if the .sln has Intel Fortran .vfproj files.
|
|
|
|
|
|
| |
Create a GenerateCMakeBuildCommand method to generate a command-line
string invoking "cmake --build" for a given target and configuration.
Optionally allow the "-i" make flag and additional native options.
|
|
|
|
|
|
| |
This is a virtual method that is overridden by every generator
subclass. The base class implementation should never be called,
so replace it with a dummy implementation.
|
|\
| |
| |
| |
| | |
3442f2b Help: Format manual/*.1.rst options as definition lists
|
| |
| |
| |
| |
| | |
Convert the command-line option documentation formatting from bullet
lists to definition lists.
|
|\ \
| | |
| | |
| | |
| | | |
e130b9e GetPrerequisites: Preserve search path order from caller.
|
| |/ |
|
|\ \
| | |
| | |
| | |
| | | |
ebf70b0 FindOpenMP: fix detecting compilers that do not need any special flag (#14567)
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
58e3d49 MSVC: Fix encoding of Visual Studio 10+ project files.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Use Windows-1252, which is the same encoding as older
Visual Studio project files.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
bf755c7 set: Add unit tests for set/unset PARENT_SCOPE
bc280f1 set: Fix handling of empty value with PARENT_SCOPE
20afbd5 set: Handle value-less PARENT_SCOPE explicitly
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Create a RunCMake.set test to cover set() command cases, starting with
PARENT_SCOPE.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Just as
set(VAR "")
sets VAR to an empty string in the current scope, the code
set(VAR "" PARENT_SCOPE)
is documented to set the variable to an empty string in the parent
scope. Fix the implementation to make it so.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The code "set(VAR PARENT_SCOPE)" unsets VAR in the parent scope.
Implement this case explicitly next to where "set(VAR)" is explicitly
handled to unset VAR in the current scope.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
15610bb Drop use of configure_file IMMEDIATE option
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Since commit 7d47c693 (Drop compatibility with CMake < 2.4, 2013-10-08)
we no longer need to use the configure_file IMMEDIATE option to support
compatibility modes less than 2.0.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
8eb20ee ExternalData: Allow local stores without any URL templates
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Allow ExternalData_URL_TEMPLATES to be empty if a value for
ExternalData_OBJECT_STORES is provided. Assume in this use case that
the object stores will already contain all needed objects. Extend the
Module.ExternalData test to cover this case (all objects in stores).
Extend the RunCMake.ExternalData test to cover the non-failure message
case when stores are provided without URL templates.
|
| |_|_|/
|/| | | |
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
06b0dbe OS X: Drop version number from CMake.app bundle name (#11693)
84af42b Configure NSIS-packaged CMake version and install destination
7655029 Configure NSIS-packaged CMake documentation link in Start Menu
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Always name the application bundle "CMake.app". Users can rename it
after installation if they wish. This is the typical approach used by
OS X applications, including Xcode. It allows CMake to be upgraded
without manually re-running CMake in every build tree to update the path
to CMake. It also makes the executable location in the CMake build tree
more predicatable.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Remove the version number from the default package install destination.
An unversioned default allows users to upgrade their CMake installations
without manually re-generating all their build trees to update the path
to CMake. Users can select a versioned directory name on installation
if they wish.
Also name the package with the full CMake version number so it is clear
exactly what version is going to be installed. This is particularly
helpful for the nightly binary installers.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Now that we use Sphinx to generate the documentation there is a single
entry point to link from the start menu. Drop all the (now broken)
links to the individual html document pages and provide a single link to
the index.html "CMake Documentation" entry point.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
3bade75 Help: Parse Copyright.txt instead of using current year
2bbf6bd Copyright.txt: Add test to check year range
3ee67d0 Copyright.txt: Update year range to end in 2013
621ba1f cmake-gui: Parse Copyright.txt instead of duplicating notice
993b685 bootstrap: Parse Copyright.txt instead of duplicating notice
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Configure our Sphinx conf.py with a copyright line extracted from
Copyright.txt instead of using the year in which the documentation is
built. This will future-proof the reported copyright year range when
building documentation for old versions.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add a CMake.Copyright test that, when the CMake version number knows the
year (as it does in development versions), checks that Copyright.txt has
been updated with the current version year.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Set the cmake-gui MACOSX_BUNDLE_COPYRIGHT property by parsing the
copyright notice line out of Copyright.txt instead of duplicating it.
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
Use 'grep' to extract the copyright notice from Copyright.txt instead of
duplicating it in the bootstrap script.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
49cbca6 CMP0038: Add missing '.' to policy summary line
7390002 CMP0039: Add missing '.' to policy summary line
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
f3883f3 ExternalData: Show example network path URL template
ff6818b ExternalData: Format module documentation
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
In the ExternalData_URL_TEMPLATES example, add an entry showing how to
use the "file://" protocol with a network filesystem path.
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Manually revise the .rst format of the documentation. Use inline
literal quotes appropriately in paragraph text. Move the :: literal
block openers to the end of the preceding paragraphs. Convert the
command signature documentation and examples to cmake code-block
directives.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
ed675a9 create_test_sourcelist: Fix linkage in generated test driver code
|
| |/ / / /
| | | | |
| | | | |
| | | | | |
Mark private function/global with static linkage.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
64f73b0 add_library: Fix INTERFACE on platforms with no shared libs (#14561)
|
| | |/ / /
| |/| | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
096591b CPackWiX: Add variables for custom tool extensions and flags
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|_|_|/ /
|/| | | | |
| | | | | |
| | | | | |
| | | | | | |
684063c Refactor tool selection for edit_cache (#14544)
eaf5b7a cmGlobalGenerator: Do not propagate const through GetCMakeInstance
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Refactor edit_cache tool selection to ask each global generator for its
preference. Teach the Ninja generator to always use cmake-gui because
Ninja by design cannot run interactive terminal dialogs like ccmake.
Teach the Makefile generator to use cmake-gui when also using an "extra"
generator whose IDE has no terminal to run ccmake, and otherwise fall
back to CMAKE_EDIT_COMMAND selection for normal Makefile build systems.
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | | |
Combine the const and non-const GetCMakeInstance to a const one and
return a pointer to non-const cmake from it.
|
|/ / / / |
|