| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
7c80ce6f Help: Add notes for topic 'thread-sanitizer'
49948f72 ctest_memcheck: Add support for ThreadSanitizer
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit adds support for ThreadSanitizer to ctest. ThreadSanitizer
is part of the clang compiler and also gcc 4.8 and later. You have to
compile the code with special flags. Then your code gets the the
ThreadSanitizer ability built into it. To pass options to the
ThreadSanitizer you use an environment variable. This commit teaches
ctest to parse the output from ThreadSanitizer and send it to CDash.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
6208c285 cmMakefile: Defer dependency calculations
dc2e26df cmMakefile: Avoid excess source files
d2803fba cmMakefile: Add a CreateSource method
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
When there are no commands, a main_dependency is not required and when
there are also no dependencies, nothing is required.
|
| | |
| | |
| | |
| | |
| | | |
The GetOrCreateSource searches the source file listing again, but some
callers know that it already didn't exist.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
2c470b77 add_library: Allow arbitrary non-linked sources in OBJECT libraries
de4f3e2c Tests: Fix broken dependency in ObjectLibrary test
54bf5858 Tests: Resolve TODO comment left in ObjectLibrary test
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Loosen this restriction on OBJECT libraries to allow source files of any
name to be generated by custom commands or listed for reference in IDE
projects so long as they would not affect linking of a normal library.
Update the rejection message to be more specific about the looser
restriction.
Extend the ObjectLibrary test to cover a ".cmake" file generated by a
custom command in an OBJECT library.
|
| | | |
| | | |
| | | |
| | | | |
The add_custom_command DEPENDS option needs a full path.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
We now have a generic way to add -fPIC without explicitly modifying
CMAKE_C_FLAGS, so use it.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
7400695e FindSWIG: Add support for swig 3.0 application
|
| |/ / / |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
49f32168 CMakeExpandImportedTargets: Do not read property on non-target (#15008)
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Avoid behavior that is disallowed by CMP0045. Check whether a target
exists before trying to read its properties.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
5f525da0 Merge branch 'upstream-kwsys' into update-kwsys
3d127627 KWSys 2014-07-02 (c2a329ce)
|
| |\ \ \ \ \
| | |_|/ / /
| |/| | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Extract upstream KWSys using the following shell commands.
$ git archive --prefix=upstream-kwsys/ c2a329ce | tar x
$ git shortlog --no-merges --abbrev=8 --format='%h %s' c282e64f..c2a329ce
Chuck Atkins (3):
e4bba930 Directory: Make sure the /* suffix uses correct slashes
97817ce7 SystemTools: Refactor test file and directory locations
8f991ab0 SystemTools: Use extended paths on Windows for > 256 length
Clinton Stimpson (1):
c2a329ce Encoding: Fixes uses of stat() on Windows to work with unicode.
Change-Id: I8e3aa1ba66ce80900cb25a692287495b911dcbd0
|
| |_|_|/ /
|/| | | | |
|
| |_|_|/
|/| | | |
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
d17688e4 Help: Add notes for topic 'export-from-obj-libs'
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
93790506 cmTarget: Simplify INTERFACE_INCLUDE_DIRECTORIES usage requirement lookup
b5b098eb cmTarget: Simplify CMP0027 logic in processIncludeDirectories
5e07dcf7 cmTarget: Add to LinkImplementation whether each library was a genex
f77b384c cmTarget: Simplify INTERFACE_COMPILE_FEATURES usage requirement lookup
61ef8daa cmTarget: Simplify INTERFACE_COMPILE_DEFINITIONS usage requirement lookup
d9586f83 cmTarget: Simplify INTERFACE_COMPILE_OPTIONS usage requirement lookup
3156275b cmTarget: Simplify INTERFACE_SOURCES usage requirement lookup
363cd33e cmTarget: Add method to add usage requirements from linked interfaces
251e835b cmTarget: Add to LinkImplementation a backtrace for each library
848c8ccf cmTarget: Refactor LinkImplementation to allow more information
f85ccf23 cmGeneratorExpressionEvaluator: Shorten some long lines
82e91e34 cmComputeLinkDepends: Convert AddLinkEntries to a template
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Use the AddInterfaceEntries helper to avoid duplication. In
TargetPropertyEntry, replace the TargetName string member with a
reference to the full cmLinkImplItem that produced the entry. This is
possible because the cmLinkImplItem is available in AddInterfaceEntries
(it was not available in GetIncludeDirectories). Having the full
cmLinkImplItem allows processIncludeDirectories to implement CMP0027 OLD
behavior without repeating the target name lookup.
Update the RunCMake.CompatibleInterface test DebugProperties case
expected output for the new order of the messages.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Evaluate and lookup the target name only once per TargetPropertyEntry
instead of repeating it for each include directory entry. Use a local
checkCMP0027 variable to record whether the policy should be checked.
Evaluate the target name as a generator expression only if it looks like
one. Lookup the target by name only after evaluation of generator
expressions.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Implementation of CMP0027 OLD behavior needs to know whether each entry
in LinkImplementation::Libraries came from a generator expression or
not. Add a FromGenex member to cmLinkImplItem to record this.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Use the AddInterfaceEntries helper to avoid duplication.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Use the AddInterfaceEntries helper to avoid duplication.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Use the AddInterfaceEntries helper to avoid duplication.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Use the AddInterfaceEntries helper to avoid duplication.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Create a cmTargetInternals::AddInterfaceEntries method to construct a
$<TARGET_PROPERTY:tgt,INTERFACE_XYZ> generator expression and evaluate
it for every target in the link implementation. This will be useful to
de-duplicate such evaluation for each usage requirement separately.
The new method will soon be used in the implementation of the
INTERFACE_* usage requirement lookup methods (GetSourceFiles,
GetCompileOptions, GetCompileDefinitions, GetCompileFeatures,
GetIncludeDirectories). It is necessary for these methods to determine
whether an expression in LinkImplementationPropertyEntries evaluates to
a target or not because generator expression evaluation reports an error
for non-targets and we construct a $<TARGET_PROPERTY:tgt,INTERFACE_XYZ>
expression for each entry that is a target.
The implementation of each usage requirement currently processes the
LinkImplementationPropertyEntries and evaluates all generator
expressions to determine targets. That is no longer necessary because
GetLinkImplementationLibraries now returns resolved and cached targets
together with their name. Use it to implement AddInterfaceEntries.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Allow clients to provide backtrace context on evaluation diagnostics.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Create a cmLinkImplItem class derived from cmLinkItem so more
information can be added to link implementation entries than link
interface entries. Convert the LinkImplementation Libraries member to
hold it. Update client sites accordingly.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Adjust the definitions of getLinkedTargetsContent to avoid long lines.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Allow the method to be called with a vector of any type that can be
converted to cmLinkItem.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
92af3664 Tests: split the ExternalProject test
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Move the subtests that test with local projects into their own test. The reason
is that on slower or crowded machines the test may reach the limit of 25
minutes and therefore fail while it would pass if it was given enough time.
The split is roughly 3:1 with regard to the execution time, with the new
ExternalProjectLocal test being the faster one.
|
|\ \ \ \ \ \
| | |_|/ / /
| |/| | | |
| | | | | |
| | | | | | |
5ca1d3d5 GenerateExportHeader: support exporting from OBJECT libraries
|
| |/ / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
b47c125f WCDH: Ensure that the prefix argument to the macro is valid.
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | | |
The prefix must be a C-identifier because it is written as the
prefix of preprocessor macros and possibly structs.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
15e61f9b Tests: Fix CTestTestTimeout output order to match regex
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Print the "timeout correctly killed" message using message(STATUS) so
that 'ctest -S' puts it in the same pipe as the rest of the test command
handler output. This ensures it shows up in the same order every time.
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
f33d875a CTest: Implement message(STATUS) output for 'ctest -S' scripts
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Send status messages to the CTest HANDLER_OUTPUT log since they are part
of the script handler output. This also ensures they appear inline with
other test command handler output.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
591a7388 OS X: Only search for install_name_tool if the toolchain has it
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
When cross compiling, toolchains won't have install_name_tool,
which is provided by Xcode and command line tools on OS X.
This is a Mach-O specific utility and not required on all platforms.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|