| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Rename {Registry => UserRegistry} in names associated specifically with
the user package registry and not registry access in general.
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
234bae7 VS10: Fix exit code of custom commands with setlocal/endlocal (#11938)
b98fdd5 VS: Use setlocal/endlocal only in VS 10 custom commands
06fcbc4 VS10: Fix working directory of consecutive custom commands (#11938)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use the pattern
setlocal
...
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
in custom commands to preserve the %errorlevel% from inside the
setlocal/endlocal block.
|
| |
| |
| |
| |
| |
| |
| | |
The setlocal/endlocal and errorlevel pattern added by commit 06fcbc47
(VS10: Fix working directory of consecutive custom commands, 2011-04-08)
does not work well in VS 7.1. Restore the original behavior for VS
versions that do not need the new behavior.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The VS 10 msbuild tool uses a single command shell to invoke all the
custom command scripts in a project. Isolate the environment and
working directory of custom commands using setlocal/endlocal. The
form of each command is
set errlev=
setlocal
cd c:\work\dir
if %errorlevel% neq 0 goto :cmEnd
c:
if %errorlevel% neq 0 goto :cmEnd
command1 ...
if %errorlevel% neq 0 goto :cmEnd
...
commandN ...
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & set errlev=%errorlevel%
if %errlev% neq 0 goto :VCEnd
so that all changes to the environment and working directory are
isolated within the script and the return code is preserved.
|
|\ \
| | |
| | |
| | |
| | | |
b22fcfb CPackDeb: Handle dirs for CONTROL_EXTRA correctly when packaging components
|
| | |
| | |
| | |
| | |
| | |
| | | |
Copy the files specified in CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA to the right
directory when packaging components. This fixes #12061.
Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
42a732b Change working drive only in MinGW Makefiles
b567613 Fix working drive of make rules on Windows
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The parent commit assumed that "cd /d" would work in all Windows shells.
While all modern versions of windows have shells that support it, the
shells used by NMake and Borland make do not. Borland make does not
seem to even support changing drive letters with "d:". Just revert the
feature for all make tools except MinGW where the shell is known to
support this feature.
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Teach cmLocalUnixMakefileGenerator3::CreateCDCommand to change working
directories for make tools using a Windows shell using "cd /d" instead
of just "cd". This tells the shell to change the current drive letter
as well as the working directory on that drive.
Commit abaa0267 (When the working directory for a custom command is on
another drive..., 2007-12-17) fixed the same problem for VS IDE
generators as reported by issue #6150.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
0378396 UseSWIG.cmake did not support multiple modules and parallel builds
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit fixes BUG: 0011782. UseSWIG would be using the same variable
to declare module information. The problem would only be noticed in parallel builds
Fix this variable declaration by properly resetting it.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
5f76833 Add support for Java on HP
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
This commit fixes Bug: 0011676 by adding support for version
numbering of JRE used on HP: 1.6.0.06-jinteg_20_jan_2010_05_50-b00
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
c088536 UseSWIG.cmake does not expand $(OutDir)
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit fixes BUG: 0011215 by properly expanding $(OutDir)
Instead of creating the output directory using file(MAKE_DIRECTORY)
we use cmake -E to create the directory at execution time
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
a59d198 Add support for java on fedora
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
This commit fixes BUG: 0011183 by adding new paths used on fedora,
specifically: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
4f35488 Add support for FindJava on HP-UX and alpha
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
This commit fixes BUG: 0010242. It now properly inspect specific directory
on hp-ux and alpha implementation of the JRE
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
1088b02 Add a new function SWIG_GET_WRAPPER_DEPENDENCIES to UseSWIG.cmake
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This commit fixes BUG: 0004147 it directly uses swig executable
to compute a list of dependencies directly from the .i files
to make sure to rebuild the swig module any of its direct dep.
is touched
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
55b7c87 Add support for new swig 2.0 application
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
This commit fixes BUG: 0011843. It now properly discover if swig2.0
is in the PATH
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
d468a2c XL: Avoid copying archives into shared libraries that link them
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The XL toolchain supports shared object files stored in archives. Since
CMake lists libraries on link lines by full path it is common for a
shared library link line to contain the path to an archive file.
When linking a shared library the compiler front-end by default runs
CreateExportList to construct the list of symbols to be exported.
Unfortunately it passes all files found on the command line to the tool
so archive and library files get processed along with the object files.
The tool returns a list of all symbols in all objects, archives, and
libraries on the command line. This causes the linker to copy every
object file out of every archive into the shared library whether they
are dependencies of the original object files or not.
Work around this problem by running CreateExportList ourselves with just
the original object files intended for inclusion in the shared library.
Then pass the list it produces on the link line to prevent the compiler
front-end from constructing its own. This tells the linker to export
only the symbols provided by the original source files of the shared
library.
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
2f3eee7 XL: Consolidate compiler flag information
3a40c7f XL: Set C++ and Fortran flags consistently with C
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Factor duplicate information out of Compiler/XL-<lang>.cmake modules
into a macro in a new Compiler/XL.cmake module. Invoke it from the
per-language files to produce the original settings.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Since commit e1729238 (Add initial XL C compiler flags for safer builds,
2009-09-30) CMake sets the initial XL C flags to include "-qthreaded"
and "-qhalt=e". Do the same for C++ and Fortran with this toolchain.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
c519bb2 XCode: Also qoute [] as needed to set build-configurations.
|
| |/ / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
0dafc0a FindZLIB: print library instead of include directory
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Before:
-- Found ZLIB: /usr/include (found version "1.2.3")
After:
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.3")
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
9fc7ea4 find_package: Forward component list for recursive calls in modules
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Some find modules call find_package recursively to locate a package
configuration file for the package instead of searching for individual
pieces. Commit 79e9b755 (Help recursive find_package calls in modules,
2008-10-03) taught find_package to forward the version number and EXACT
arguments through the recursive call automatically. Do the same for the
component list.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
e8558ef cmArchiveWrite: Clear xattr and acl from entries (#11958)
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When reading archive entries from disk strip any xattr and acl entry
headers that may have been loaded from the filesystem (e.g. selinux).
These fields are only useful for backup tools and not for packaging and
distribution of software. Furthermore, the GNU tar 1.15.1 on at least
one Linux distribution treats unknown entry headers as an error rather
than a warning. Therefore avoiding such fields is necessary for archive
portability.
Suggested-by: Tim Kientzle <tim@kientzle.com>
|
| | | | | |
|
| | | | | |
|
| |_|_|/
|/| | | |
|
| |_|/
|/| | |
|
|/ / |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
dd04608 Fix KWStyle warnings
2973c1f Add component support to DragNDrop generator.
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
9c43824 Fix KWStyle warnings
64a5e20 Combine component packaging methods into an enum.
|
| |/ / |
|