| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
c666f8cb NMake: Use ANSI encoding for NMake Makefiles
f00214aa cmGeneratedFileStream: Add optional encoding support
bb1d3370 codecvt: Add class for encoding conversion
|
| |
| |
| |
| |
| | |
Set ANSI encoding to cmGeneratedFileStream for use with NMake Makefile
generator.
|
| |
| |
| |
| |
| | |
This allows to save file stream in different encoding than internal
encoding.
|
| |
| |
| |
| |
| |
| | |
Add a `codecvt` class that can be used as facet for locale so that it's
possible to convert from internal UTF-8 encoding to other encodings such
as Windows ANSI codepage.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Generate a single debuginfo package even
if components packaging is enabled.
This makes issue #15668 resolution feature complete.
Closes: #15486
|
| |
| |
| |
| |
| |
| | |
Main component rpm package is generated
without component suffix in filename
and package name.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
20e62f74 cmLocalGenerator: Simplify ConvertToLinkReference
fd93b360 cmOutputConverter: Add a flag for IsUnix
1365e18b Convert: Inline platform-specific methods
1ed5f6b3 Makefiles: Introduce local RelativePath method
8377d9e0 Fortran: Inline conversion to relative path
00173b71 Fortran: Wrap path convert in a call with a more-suitable name
d5911ef0 Makefiles: Hardcode the relative location of the CMakeCache file
c3264f48 Convert: Extract method to determine if paths are in directory
52168f32 Convert: Remove asserts which are duplicated in delegate method
5213f893 Convert: Remove early return check
b61c268b Convert: Extract local variables for readability
e278f5a8 Convert: Extract local variables
51bc6bdd cmOutputConverter: remove unused code
8e0c1599 Xcode: Inline ConvertToRelativePath calls
|
| | |
| | |
| | |
| | |
| | | |
Make conversion to output format the caller responsibility, so that the
method only 'converts to a link reference'.
|
| | |
| | |
| | |
| | | |
Remove the need for method parameters to represent the distinction.
|
| | |
| | |
| | |
| | | |
They don't provide real value.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This makes it easier to remove directory-specific state from
cmOutputConverter where it doesn't belong. Of course, this just
relocates the problem to the makefiles generator for now, but that's
better than affecting the core.
|
| | |
| | |
| | |
| | |
| | | |
Don't use cmOutputConverter method which relies on directory-specific
state.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
In this context, currentBinDir refers to the CMAKE_BINARY_DIR because it
comes from the first local generator. GetHomeOutputDirectory is the
same as CMAKE_BINARY_DIR, so the computation here is unnecessary.
|
| | |
| | |
| | |
| | |
| | |
| | | |
The conditional early return can be moved to clients, which would have
many benefits, notably making cmOutputConverter independent of
directory-specific state.
|
| | |
| | |
| | |
| | |
| | | |
This means that we don't encounter the asserts in the case where we
early-return from here.
|
| | |
| | |
| | |
| | | |
This function delegates to another function which does the same check.
|
| | | |
|
| | |
| | |
| | |
| | | |
Remove comment made obsolete by them.
|
| | |
| | |
| | |
| | |
| | | |
Remove old ConvertToRelativePath function now that all clients have
migrated to the new signature.
|
| | |
| | |
| | |
| | |
| | | |
Avoid violations of Interface Segregation Principle. These two calls
now simply call different methods.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
0f1fedbd CMP0065: Put computed flags into LINK_FLAGS not LINK_LIBRARIES
7f1cd328 cmLocalGenerator: Rename local variable to be more appropriate
2597bcf8 cmLocalGenerator: Extract policy handling into a method
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
These flags are redundant anyway in the NEW case of the policy, and
could be merged with CMAKE_EXE_EXPORTS_${lang}_FLAG content for that
case. That is deferred to the future, but now at least the similar code
is located close to each other.
|
| | | | |
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
80574a38 Codelite: Consume the CMAKE_CODELITE_USE_TARGETS setting globally
f59e8779 cmGlobalGenerator: Add API to get settings from top-level cmMakefile
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
At generate-time, definitions are sometimes read from a nearby cmMakefile,
making the value directory-specific because they are read once per
directory. Often however, the intention is more
often to create a 'global' setting, such that the user writes for
example:
set(CMAKE_IMPORT_LIBRARY_SUFFIX something)
once at the top level of their project.
Many of these are also set by internal platform files, such as
CMAKE_EXTRA_LINK_EXTENSIONS.
The set() definitions are not really suitable for 'global' settings
because they can be different for each directory, and code consuming the
settings must assume they are different for each directory, and read it
freshly each time with new allocations.
CMake has other variable types which are global in scope, such as global
properties, and cache variables. These are less convenient to populate
for users, so establish a convention and API using the value as it is at
the end of the top-level CMakeLists file.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
02b7d278 VS: Update VS 15 generator for Preview 5
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The `PlatformToolset` is now `v141` instead of `v140`.
Closes: #16347
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
15762b72 elf: Remove GetDynamicEntryCount and ReadBytes methods
cd4f573a cmSystemTools, elf: handle DT_MIPS_RLD_REL_MAP in RemoveRPath
b8b1d151 cmSystemTools: rewrite RemoveRPath using DyanmicEntryList methods
72eb6a37 elf: add DynamicEntryList methods and rpath tag constants
66c4d082 elf: remove tag switch from ELF_Dyn ByteSwap function
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
These are no longer used after the DynamicEntryList changes.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | | |
sizeof(dyn.d_un.d_val) always equals sizeof(dyn.d_un.d_ptr) so every byte swap
call in this function is identical.
|
| |_|_|/
|/| | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
68277e16 server-mode: Improve shutdown behavior
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | | |
Add a signal handler to trigger shutdown and be more paranoid about
libuv doing things asynchronously. This should fix test cases not
shutting down properly.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
646d01da VS: Use absolute target-specific directory for `resources.pri`
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The change in commit v3.7.0-rc1~219^2 (VS: Use target-specific directory
for `resources.pri`, 2016-08-25) incorrectly specifies a relative path
for the `ProjectPriFullPath` value. Fix it to use an absolute path.
Issue: #16106
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
53858177 Do not define cout/cerr preprocessor symbols
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Apply the change from commit bd3d0eaf (cmCTest: don't redefine cout and
cerr, 2016-09-01) to the rest of ctest and cpack. These definitions
are no longer needed because our conventions are well established.
|
| |_|/ /
|/| | | |
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
eb1a57d7 QtIFW: Reference cmake.org via https in cmake.org.html
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
dc6d8066 Add a BUILD_RPATH target property specifying build-tree RPATH entries
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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`.
|
|/ / / |
|