| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 242c3966 (add_custom_command: Diagnose
MAIN_DEPENDENCY limitation, 2015-03-09) and the follow up commit
b372a99a (UseSWIG: Do not use MAIN_DEPENDENCY on custom commands,
2015-03-26).
I misdiagnosed the underlying issue that prompted creation of policy CMP0057.
The actual issue surfaces when a single custom command's MAIN_DEPENDENCY
is listed in more than one target; this issue will have to be addressed
independently.
|
|\
| |
| |
| |
| | |
ff183986 InstallRequiredSystemLibraries: Fix MBCS MFC detection (#15531)
|
| |
| |
| |
| |
| |
| |
| | |
Fix the logic added by commit v3.0.0-rc5~9^2
(InstallRequiredSystemLibraries: MBCS MFC is optional on VS 12,
2014-05-06). Do not test content of MSVC${v}_MFC_DIR until after the
variable is set.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The documentation of this variable in the CTest module is outdated
and has been superseded by the ctest(1) manual. In particular, the
latter mentions that it works with the Ninja generator as well as
makefile generators. Remove the documentation from the CTest module
and replace it with a link to the main variable documentation (which
already references the ctest(1) manual).
|
| |
| |
| |
| | |
Use inline reStructuredText markup and add cross-references.
|
|/ |
|
|\
| |
| |
| |
| | |
22926dd6 Allow CMAKE_TOOLCHAIN_FILE to be an empty string
|
| |
| |
| |
| |
| | |
Do not try to include() an empty string in the generated CMakeSystem
module.
|
|\ \
| |/
|/|
| |
| | |
680ebebc Check*CompilerFlag: Add another pattern for Clang (#15526)
|
| |
| |
| |
| | |
Match 'optimization flag ... not supported' messages.
|
| |
| |
| |
| |
| | |
Respect INTERFACE library property whitelist. Check that a target has
type "UTILITY" before querying other properties.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Use file(GENERATE) to write the logging wrapper scripts to evaluate
generator expressions. Use a per-config script names in case the
content varies by configuration.
|
|/
|
|
|
|
| |
Use file(GENERATE) to write the initial cache file so that we can
evaluate generator expressions. Use a per-config initial cache file
name in case the content varies by configuration.
|
|\
| |
| |
| |
| | |
c8375e15 CPackDeb: Refactor package variable lookup by generator
|
| |
| |
| |
| |
| |
| |
| |
| | |
Preparation for per component variables.
Patch makes sure we know which variables
will be set for per component generator
and also prevents accidental overflows
of variable values between components.
|
|\ \
| |/
|/|
| |
| | |
0ed22502 FindCUDA: Create output dir while compiling intermediate link file (#15016)
|
| |
| |
| |
| |
| |
| |
| |
| | |
During compilation of the intermediate link file, the output directory
may not be present in Visual Studio builds. This fix makes sure the
output directory exists before generating the output file.
Suggested-by: Irwin Zaid
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
cd953bf7 Help: Add notes for topic 'cpack-rpm-refactored-file-listing'
76080c32 CPackRPM content listing refactor
152e9b32 CPackRPM package content list code move
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Refactoring of content list that removes
use of find and sed to make listing algorithm
more clear and remove external dependencies.
Patch also limits man pages handling to
locations listed in brp-compress rpm script
by default - fixes bug report #14660.
|
| | |
| | |
| | |
| | |
| | | |
Move rpm package content list code to
a separate function.
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
66b641f4 Help: Add notes for topic 'add-GreenHills-MULTI-generator'
48004d9d Add a 'Green Hills MULTI' generator on Windows
051d8be1 cmLocalGenerator: Constify some cmTarget and cmGeneratorTarget arguments
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Green Hills MULTI is an IDE for embedded real-time systems. The IDE's
product page can be found here:
http://www.ghs.com/products/MULTI_IDE.html
It supports cross compiling on ARM, Intel x86, and other architectures
with various operating systems. The IDE exists on Linux and Windows
host systems, but CMake will currently only generate the project files
on Windows host systems.
|
|\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | | |
84f06d0c FPHSA: Document REQUIRED_VARS recommendation (#15352)
a3ad275c FPHSA: Revise and format documentation
d1a6d15b FPHSA: Always populate the ExactCase_FOUND variable (#15412).
|
| | |
| | |
| | |
| | | |
State explicitly that the variables specified are user-facing.
|
| | |
| | |
| | |
| | | |
Use better reStructuredText markup and add cross-references.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The UPPERCASE name was inconsistent with config-packages, the
find_dependency macro, and even FPHSA itself, which expects
components to be specified with names matching ExactCase.
The FOUND_VAR was only permitted to have two possible values, and
now both are set for compatibility. Document it as obsolete, and
adjust the code for the same. Users of the variable should just
remove it.
|
|/ /
| |
| |
| |
| |
| |
| | |
When SWIG_GET_EXTRA_OUTPUT_FILES checks to see if a source file exists
for use in reading the module name, it must pass an absolute path to
the if(EXISTS) command. Teach SWIG_ADD_SOURCE_TO_MODULE to give it
the absolute path it already knows.
|
| |
| |
| |
| |
| | |
PHP's PharData can not currently (PHP 5.6.4) extract paxr tar archives
with long filenames.
|
| |
| |
| |
| |
| |
| | |
I was previously appending to nvcc_flags inside the file loop. This
caused the flag to be appended multiple times which freaks out nvcc.
Now the flag is specifically handled per file.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A previously undocumented feature allowed overriding the format
specified to CUDA_WRAP_SRCS with a source file property called
CUDA_SOURCE_PROPERTY_FORMAT. I added documentation for this feature as
well as added the ability to let nvcc compile any file regardless of
type if this property was found.
In addition, I also fixed a couple of bugs with the calls to
_cuda_get_important_host_flags that weren't garding the arguments with
"" to prevent empty values from causing errors.
|
|\ \
| |/
|/|
| |
| | |
99abebde FindCUDA: Handle c++11 host flag
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If the host flags contain a c++11 flag (at least for gcc), then we can't
automatically propagate to nvcc it using -Xcompiler. This is because
nvcc can't use any C++ only flags. Instead we find this flag and add it
to nvcc's flags (it has a special flag for dealing with c++11 code) and
remove it from the host flags.
Co-Author: Guillermo Marcus <gmarcus@nvidia.com>
|
|\ \
| | |
| | |
| | |
| | | |
7e311773 FindMatlab: Look for R2014b and R2015a
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
VS 2013 originally claimed to support initializer lists but a bug was
found in which it generated bad code silently. For this reason we
previously considered support to not be present. However, Update 3 adds
a hard error on cases that previously generated bad code, so it is now
safe to use initializer lists with VS 2013 Update 3 or greater. At
worst a compiler error will be issued in the cases that do not work, but
that is no different from any other compiler-specific workaround a
project code may need.
|
|\ \
| | |
| | |
| | |
| | | |
9a544f2d CTestCoverageCollectGCOV: Support CTEST_CUSTOM_COVERAGE_EXCLUDE
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Beginning in CUDA 5.5 a static version of the cuda runtime library
became available. Since nvcc defaults to using this library over the
shared version, FindCUDA will also default to using this version. There
are many advantages to using the static version (most importantly to
avoid conflicts with multiple versions when building a CUDA based
library). Offer a CUDA_USE_STATIC_CUDA_RUNTIME option to control
this behavior.
|
|\ \
| | |
| | |
| | |
| | |
| | | |
68e13e98 Help: Add notes for topic 'cpack-rpm-basic-symlink-handling'
681f3a2f CPackRPM: Add basic symlink support (#15209)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
RPM packages can contain symbolic links to relative paths - including
support for multiple relocation paths through generation of post install
relocation scripts. Add basic support with limitations described in
documentation.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Add the dependency on the main swig input source file as a normal
DEPENDS option. We cannot use MAIN_DEPENDENCY because if there are
multiple target languages then multiple custom commands would want to
use the same MAIN_DEPENDENCY, but at most one custom command may specify
a given source file as its MAIN_DEPENDENCY. Exposed by a CMP0057
warning.
|
|\ \
| | |
| | |
| | |
| | |
| | | |
230f2d6e ExternalData: Add option to recursively match under directories
564c07f7 ExternalData: Parameterize internal file(GLOB) operation selection
|
| | |
| | |
| | |
| | |
| | |
| | | |
Extend the ``DATA{Dir/,...}`` syntax with a new ``RECURSE:`` option
to enable recursive matching of associated files. This will allow
an entire directory tree of data to be referenced at once.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Extend the _ExternalData_arg_find_files signature with an option to
specify the kind of file(GLOB) operation to be performed. Set
CMP0009 to NEW so that GLOB_RECURSE does not follow symlinks.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Teach the Xcode generator that ONLY_ACTIVE_ARCH=YES means to use ARCHS,
and that the default of ONLY_ACTIVE_ARCH=NO means to use NATIVE_ARCH and
ignore ARCHS. In the latter case there is no reason to generate ARCHS.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
a704098d ExternalProject: fix the build command for generator overrides
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
The `binary_dir` variable is never set, so this is invalid. Instead, use
"." which all the other build commands use anyways. Also only set the
--config option if it is meaningful.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
dcf29800 FindMFC: Use if(DEFINED) to simplify condition (#15477)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Replace an old hack of the form 'if("${VAR}" MATCHES "^${VAR}$")'
with the much simpler 'if(NOT DEFINED ${VAR})'. This was exposed
by a CMP0054 warning.
|