- 04 Nov, 2013 13 commits
-
-
Brad King authored
Use a parsed-literal block to list possible command-line signatures. Add an "Options" section header before the list of options.
-
Brad King authored
-
Brad King authored
The property applies to all library types, not just shared libraries.
-
Modestas Vainius authored
s/overriden/overridden/
-
Brad King authored
b51696f0 CMP0022: Update target_link_libraries plain signature documentation 25b7f87e Merge branch 'policy-CMP0022-fixes' into policy-CMP0022-fixes-for-master 0a561a03 CMP0022: Warn about a given target at most once 23d21b78 Do not export INTERFACE_LINK_LIBRARIES from non-linkable targets ef10b87c CMP0022: Plain target_link_libraries must populate link interface 0e06788c CMP0022: Add test for target_link_libraries plain signature c0f4a610 CMP0022: Add unit test for null pointer check and message. 4b0cfa70 Merge branch 'output-CMP0022-entries' into policy-CMP0022-fixes
-
Kitware Robot authored
-
- 03 Nov, 2013 6 commits
-
-
Stephen Kelly authored
-
Stephen Kelly authored
-
Brad King authored
Resolve conflict in Source/cmTarget.cxx by integrating the changes to the internal copy constructor from both sides. Also resolve a logical conflict by dropping the special case for INTERFACE_LIBRARY targets. Since cmTarget::SetMakefile already forces CMP0022 to NEW for such targets we need no special handling. Resolve conflict in Source/cmTargetLinkLibrariesCommand.h by dropping the documentation change. We will make the same change in the new location of the same documentation in a separate commit. Resolve conflicts in Tests/RunCMake/CMP0022/CMP0022-WARN-empty-old-stderr.txt Tests/RunCMake/CMP0022/RunCMakeTest.cmake by taking the side from the 'policy-CMP0022-fixes' branch.
-
Brad King authored
Since cmTarget::ComputeLinkInterface is called separately for each "head" target that links a target, the warning we produce when CMP0022 is not set could be repeated. Add explicit logic to allow the warning to appear at most once. Multiple copies of the warning for the same target are almost always identical and therefore redundant. In the rare case that two copies of the warning are different, the second can appear in a future run after the first is fixed.
-
Kitware Robot authored
-
- 02 Nov, 2013 19 commits
-
-
Brad King authored
When cmExportFileGenerator::SetImportLinkInterface exports the old LINK_INTERFACE_LIBRARIES property values it skips doing so for non-linkable targets because target->GetLinkInterface returns NULL for such targets. Since cmExportFileGenerator::PopulateInterfaceLinkLibrariesProperty looks at the INTERFACE_LINK_LIBRARIES property directly instead of using the computed link interface, teach it to skip exporting the property if target->IsLinkable returns false. Extend the RunCMake.CMP0022 test with a case covering this. Simply export an executable target that links to a library that is not exported.
-
Brad King authored
The CMP0022 NEW behavior is that the INTERFACE_LINK_LIBRARIES property exactly defines the link interface. The plain target_link_libraries signature says linking is transitive by default, so it should populate the property. Teach the target_link_libraries plain signature to populate the INTERFACE_LINK_LIBRARIES regardless of the CMP0022 setting. Refactor the cmTarget::ComputeLinkInterface checks that warn when the policy is not set to compare the new property to either the explicitly set old link interface properties or the link implementation fallback for all linkable target types, not just static libraries. This fixes a regression in 2.8.12.0 that caused target_link_libraries to not implement transitive linking in the plain signature once the policy CMP0022 is set to NEW.
-
Stephen Kelly authored
-
Stephen Kelly authored
-
Brad King authored
-
Stephen Kelly authored
Document CMAKE_INCLUDE_DIRECTORIES_BEFORE and CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE.
-
Stephen Kelly authored
Note that relative paths should not be added directly.
-
Nils Gladitz authored
Make sure that CMakeCache.txt is the last file being removed since the binary directory may be left in a state that is no longer removable otherwise. Also retry removal a couple of times which makes this more robust on windows where file locks may temporarily prevent removal.
-
Kitware Robot authored
-
- 01 Nov, 2013 2 commits
-
-
Brad King authored
If a symlink fails to extract and the host system is Windows then report a warning and skip the entry instead of failing. This will allow archives containing symbolic links to be extracted on Windows with somewhat gracefully degraded behavior.
-
Brad King authored
Simplify extraction message logic to be easier to follow and to write a newline before any error messages that may be produced. Also flip handling of the archive_write_header return code to handle success in the "then" case and failure in the "else" case.
-