| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add an `IMPORTED_LIBNAME[_<CONFIG>]` target property to specify a library
name to be placed on the link line in place of an interface library
since it has no library file of its own. Restrict use of the property
to imported `INTERFACE` libraries.
This will be particularly useful for find modules that need to provide
imported libraries from system SDKs where the full path to the library
file is not known. Now such find modules will be able to provide an
imported interface library and set `IMPORTED_LIBNAME` to refer to the
SDK library by name.
Issue: #15267
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Running CMake on it caused the following error:
error: Target "publisher" links to target "Qt5::DBus" but the target
was not found. Perhaps a find_package() call is missing for an
IMPORTED target, or an ALIAS target is missing?
Add the missing DBus component.
|
| |
|
|\
| |
| |
| |
| | |
95805d72 Sublime: Add option to specify env vars for the .sublime-project
|
| |
| |
| |
| |
| |
| |
| | |
Create a `CMAKE_SUBLIME_TEXT_2_ENV_SETTINGS` variable to control
addition of env vars in the `.sublime-project`.
Closes: #16387
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
369d5809 Features: Record features for Intel Compiler on Windows
a5a3642f Features: Port Intel CXX features to test macros where possible
d34ac22f Features: Unset Intel CXX feature temporaries
967dcf36 Intel: Remove incorrect C++98 standard compiler flag on Windows
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since this compiler always defines `__cplusplus` to `1` we need to use
`_MSC_VER`, `__INTEL_CXX11_MODE__`, and the feature test macro named
`__cpp_aggregate_nsdmi` to detect C++11 and C++14 modes.
With no `-Qstd=` flag this compiler defaults to C++98 plus a subset of
C++11/C++14 features needed to be compatible with MSVC. We pretend it
is plain C++98 and add a `-Qstd=` flag whenever needed for C++11 or
above features even if they would happen to be available in MSVC-mode.
Closes: #16384
|
|\ \
| |/
|/|
| |
| |
| | |
42ccbee1 server-mode: Handle generator toolset and platform in handshake
d792491c cmake-server: Better error reporting during handshake
|
| | |
|
|\ \
| |/
| |
| |
| | |
9b8dc79c cmake-server: Change message wrapper to avoid ambiguity with content
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Change our message wrapper from
[== CMake Server ==[ ... ]== CMake Server ==]
to
[== "CMake Server" ==[ ... ]== "CMake Server" ==]
to guarantee that no JSON content can ever contain the ending string
(because it would be encoded as `]== \"CMake Server\" ==]`).
|
|\ \
| |/
| |
| |
| | |
48189697 Help: Fix cmake-server documentation
|
| |
| |
| |
| |
| |
| | |
Some information was not updated to reflect the latest implementation.
Reported-by: Sylvain Joubert <joubert.sy@gmail.com>
|
|\ \
| | |
| | |
| | |
| | |
| | | |
d079e71c VS: Provide an option to use x64 host tools
779939a0 Help: Document VS and Xcode toolset selection
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Visual Studio provides toolchains that are themselves built for 32-bit
or 64-bit host architectures. By default it uses the 32-bit tools, but
it can be told to prefer the 64-bit tools on 64-bit hosts. Extend the
`CMAKE_GENERATOR_TOOLSET` specification to provide a way to request
use of the 64-bit host tools.
Closes: #15622
|
| | |
| | |
| | |
| | |
| | |
| | | |
Add explicit sections to the individual generator documentation to cover
the `cmake -T` option along with the default behavior for each
generator.
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Create a `CMAKE_SUBLIME_TEXT_2_EXCLUDE_BUILD_TREE` variable to control
addition of the build tree to `folder_exclude_patterns` in the
`.sublime-project`. Change the default of this behavior to OFF.
Closes: #16351
|
|/
|
|
|
|
| |
Users may need to add custom `RPATH` entries to be able to run binaries
from their build tree without setting `LD_LIBRARY_PATH`. Provide a way
to do this that does not affect the install-tree `RPATH`.
|
|\
| |
| |
| |
| | |
39c898a1 Help: Clarify that `cmake -A` option sets VS IDE target architecture
|
| | |
|
|\ \
| |/
|/|
| |
| | |
130784e0 AndroidTestUtilities: Add module to help drive Android device tests
|
| |
| |
| |
| |
| |
| | |
Add a module to manage the data needed for the project tests. It will
move the test data to the build directory and transfer necessary data to
an Android device if that is enabled.
|
| |
| |
| |
| | |
Watch CMakeLists.txt files (and similar) from the Server
|
| |
| |
| |
| | |
* Add a command to report watched files and directories to clients.
|
| |
| |
| |
| |
| | |
With this it would be possible to implement something like
cmake-gui using server-mode.
|
| |
| |
| |
| | |
Add a command to retrieve files that are input to cmake itself.
|
|/
|
|
|
| |
Add "codemodel" command to report information relevant to feed a code
model.
|
| |
|
|\
| |
| |
| |
| | |
cbe48879 CodeLite: Optionally use targets to create (sub)project files
|
| |
| |
| |
| |
| |
| | |
The basic codelite generator creates .project files based on the
`project()` stanza. Add a `CMAKE_CODELITE_USE_TARGETS` option to use
the targets instead.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Add a command to trigger cmake to configure a project.
Keep this separate from the compute step (added in the next commit)
to faciliate applications like cmake-gui.
|
| |
| |
| |
| |
| | |
"setGlobalSettings" can be used to change settings reported by
"globalSettings" command.
|
| |
| |
| |
| |
| |
| |
| | |
Add "globalSettings" command that returns:
* Return capability information
* Return currently used generator/extra generator
* Return a range of flags for debug/trace/etc.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Create a new CMAKE_Swift_LANGUAGE_VERSION variable to specify the
SWIFT_VERSION attribute in a generated Xcode project. Ideally this
would be a `<LANG>_STANDARD` property but since Swift support is
very minimal we should reserve that property for more complete
treatment later.
Issue: #16326
|
|/
|
|
| |
Enable the server to send signals.
|
|\
| |
| |
| |
| | |
73f47c9e CTest: Add support for test fixtures
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add new test properties:
* FIXTURES_SETUP
* FIXTURES_CLEANUP
* FIXTURES_REQUIRED
to specify the roles and dependencies of tests providing/using
test fixtures.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Use it to split pipe and stdin/out handling out of cmServer itself.
The server will shut down when it looses its connection to the client.
This has the nice property that a crashing client will cause the server
to terminate as the OS will close the connection on behave of the client.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Enable the server to support development with some helper tools:
You can now request debug information with statistics on how
long execution of a command took, how long it took to serialize
the JSON files, and how big the serialized JSON string is.
Also allow to dump results into a file.
|
|/
|
|
|
| |
Pass messages sent from cmake via Error(...) or Message(...) on
to clients.
|
|
|
|
|
|
| |
Add SOURCE_DIR and BINARY_DIR directory properties that return the
absolute paths to the corresponding directories. These correspond
to the target properties of the same names that we already have.
|
|
|
|
|
| |
Add a BUILDSYSTEM_TARGETS property to allow project code to traverse
the list of its own targets in a given directory.
|
|
|
|
|
| |
Add a SUBDIRECTORIES directory property to allow project code to
traverse the directory structure of itself as CMake sees it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add `CMAKE_FIND_PACKAGE_SORT_{ORDER,DIRECTION}` variables to specify
sort order and direction.
When multiple package with the same name have been found in the same
location sorting option can be used to force a specific version to be
loaded (e.g. libA_1.12.0 instead of libA_1.1.0). Currently sorting by
NAME and by NATURAL order have been implemented.
Natural ordering makes use of the `strverscmp(3)` ordering.
|
|
|
|
| |
Closes: #16308
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Call the generator "Visual Studio 15" without any year because the
preview version of VS 15 does not provide a year in the product name.
Copy cmGlobalVisualStudio14Generator to cmGlobalVisualStudio15Generator
and update version numbers accordingly. Add the VS15 enumeration value.
Note that we do not need to add a MSVC15 variable or v150 toolset
because Visual Studio 15 comes with an updated version of the v140
toolset and remains ABI-compatible.
Teach tests VSExternalInclude, RunCMake.GeneratorPlatform, and
RunCMake.GeneratorToolset to treat VS 15 as they do VS 10-14.
Closes: #16143
|
| |
|