| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Since commit 6557382d (stringapi: Use strings for program
paths, 2014-02-24), cmGlobalGenerator::GenerateBuildCommand
takes the make program path as a std::string. Fix the lookup
in cmCPackGenerator::InstallProjectViaInstallCMakeProjects to
use GetSafeDefinition for CMAKE_MAKE_PROGRAM to avoid possible
construction of std::string from a NULL.
Reported-by: Richard Wirth <richard@califax.de>
|
|\
| |
| |
| |
| | |
c746b00e Encoding: Change to only set LC_CTYPE to fix encoding issues with libarchive.
|
| |
| |
| |
| |
| | |
Changing all categories with LC_ALL causes test failures in some locales.
For example, in some locales, the decimal characer could be a comma instead of period.
|
|/
|
|
|
| |
Rather than declaring and compiling a constant regex every time a chunk
of code is executed, build the regex once.
|
|
|
|
| |
See also bug #14934 where chinese characters could not be used with cpack.
|
| |
|
|
|
|
|
|
|
| |
Teach set_property and get_property an "INSTALL" property type to be
associated with install-tree file paths. Make the properties available
to CPack for use during packaging. Add a "prop_inst" Sphinx domain
object type for documentation of such properties.
|
|
|
|
|
| |
Without the fix CPack will crash when the cmWIXPatch class tries to issue
any diagnostics.
|
|
|
|
|
| |
Apply the same workaround to the cmCPackTypeMacro. Additionally
change that macro to not use 'class' as a macro parameter.
|
|
|
|
|
|
| |
Add a CPACK_DEBIAN_COMPRESSION_TYPE option to set the compression type.
Default to 'gzip' to preserve existing behavior. Use "cmake -E tar"
for 'gzip', 'bzip2', and 'none'. Use system "tar" for 'lzma' and 'xz'.
|
|
|
|
|
| |
Adjust whitespace in Source/CPack/cpack.cxx to avoid a strange
internal compiler crash.
|
|
|
|
|
| |
Use an ad-hoc clang tool for matching the calls which should be
ported.
|
|
|
|
|
|
| |
Use the clang RemoveCStrCalls tool to automatically migrate the
code. This was only run on linux, so does not have any positive or
negative effect on other platforms.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Casts from std::string -> cmStdString were high on the list of things
taking up time. Avoid such implicit casts across function calls by just
using std::string everywhere.
The comment that the symbol name is too long is no longer relevant since
modern debuggers alias the templates anyways and the size is a
non-issue since the underlying methods are generated since it's
inherited.
|
| |
|
|
|
|
|
|
| |
Most of these are turned into strings in the body of the method
(multiple times in some cases). Accept strings to simplify the API and
keep string construction down.
|
|
|
|
| |
Variable names are always generated by CMake and should never be NULL.
|
| |
|
| |
|
|
|
|
|
| |
Extract addtional classes and functions which are getting unsightly large.
Use some of the coding conventions more consistently.
|
| |
|
|
|
|
|
| |
Allows automatic registration of installed packages with
the cmake package registry.
|
|\
| |
| |
| |
| | |
5730710 Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream.
|
| |
| |
| |
| |
| | |
Also use SystemTools::Fopen() instead of fopen().
This is to eventually support utf-8 filenames.
|
|/ |
|
|\
| |
| |
| |
| | |
950d76e CPackWiX: allow and convert UTF-8 sequences in RTF writer
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
37a1157 CPackWiX: adhere to CMake member naming convention
|
| | |
|
|/
|
|
| |
Forward slash is not understood as a key path separator.
|
|
|
|
|
|
| |
Added a new variable CPACK_WIX_PATCH_FILE that users can point at an
XML patch file. Fragments defined within the patch file will be inserted
at supported insertion points (currently Component, File and Directory).
|
|
|
|
|
| |
Make CMake compile with -DUNICODE. Make it possible for the 8 bit
encoding to eventually be UTF-8 instead ANSI.
|
|\
| |
| |
| |
| | |
7b390f7 CPackWiX: add CPack component support
|
| |
| |
| |
| |
| |
| |
| | |
Creates a hierarchy of WiX features from CPack components and component groups.
Switch to the FeatureTree UI in case components have been defined.
Handles the component REQUIRE and HIDDEN options
and the component group EXPANDED option.
|
|/
|
|
|
| |
The CPackComponent macros specifically set CPack options to FALSE
which CPack previously interpreted to mean "true".
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| | |
096591b CPackWiX: Add variables for custom tool extensions and flags
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rename cmSystemTools::FindExecutableDirectory to FindCMakeResources.
Teach it to compute the locations of cmake, ctest, cpack, ccmake, and
cmake-gui executables, and the location of CMAKE_ROOT. Provide this
information from static cmSystemTools::Get<resource>() methods.
Refactor code that needs these locations to use the new APIs.
Teach FindCMakeResources to use the OS X system API to lookup the
executable location. When running from the CMake build tree itself,
leave a file in the tree that FindCMakeResources can use to read the
location of the source tree. This avoids the need to compile the source
tree location into a binary that may be installed and used without the
source tree.
Teach the QtDialog on OS X to create a "cmake-gui" symlink in the build
tree next to "cmake" and the other tools, as is already done in the
install tree for the application bundle. This ensures a consistent set
of executables are available in one directory.
|
| |
|
|
|
|
|
|
|
| |
Also adding overwrite option (-ov) in case multiple temporary
dmg files are being created.
Fixes bug #14536.
|
| |
|
|
|
|
|
| |
All calls to this method have been replaced by newer infrastructure.
Remove it and the supporting cmWin32ProcessExecution class.
|
|
|
|
|
|
|
|
|
|
|
| |
Make the standard --help-* options available from all command-line
tools. Drop options that are no longer supported:
--copyright, --help-full, --help-html, --help-man,
--help-compatcommands, --help-custom-modules
De-duplicate Help/manual/*.1.rst help options by using an
OPTIONS_HELP.txt file included from each manual.
|
|
|
|
|
| |
We need only 'Brief' for usage documentation. We no longer have builtin
'Full' documentation, which is now in Help/*/*.rst files.
|