David Cole
bada88e8e4
Merge branch 'target-include-directories' into ninja-generator
2012-02-22 16:21:48 -05:00
David Cole
8233636dbe
Update the documentation regarding INCLUDE_DIRECTORIES.
...
It is now a target property and is affected by the use
of the include_directories command.
2012-02-22 15:22:03 -05:00
David Cole
d899eb71b5
Call ExpandVariablesInString for each target's INCLUDE_DIRECTORIES
...
For strict backwards compatibility only. This should be unnecessary at
this point, but introducing a policy to deprecate it properly is a
whole different topic branch...
2012-02-22 07:29:32 -05:00
David Cole
c21db870a5
Make search paths ordered and unique
...
Avoid duplicates. Same as before the introduction of the INCLUDE_DIRECTORIES
target property.
2012-02-22 07:29:32 -05:00
David Cole
22021f07f8
Remove cmMakefile::GetIncludeDirectories
...
After making the changes to use the new target level INCLUDE_DIRECTORIES
property, there are no more callers of this method.
2012-02-22 07:29:32 -05:00
Stephen Kelly
9106b564ae
Extract and use the INCLUDE_DIRECTORIES target properties.
...
Eliminate callers of cmMakefile::GetIncludeDirectories.
All callers of GetIncludeDirectories should go through the local generator
object.
Only the local generator calls cmTarget::GetIncludeDirectories directly.
2012-02-22 06:31:50 -05:00
Stephen Kelly
840509babb
Keep the INCLUDE_DIRECTORIES target property up to date.
...
The directory level property changes need to be added to it.
2012-02-22 06:31:50 -05:00
Stephen Kelly
a4d5f7b9b2
Add API to get the ordered includes for a target.
2012-02-22 06:31:49 -05:00
David Cole
8adaee2b0b
CMake: Eliminate cmMakefile::IncludeDirectories
...
Instead, re-implement it in terms of the directory property INCLUDE_DIRECTORIES.
2012-02-22 06:31:49 -05:00
Stephen Kelly
7620932d82
Remove include flags memoization.
2012-02-22 06:31:49 -05:00
Stephen Kelly
97a5faa858
Make it safe to call this method without creating duplicates.
2012-02-22 06:31:49 -05:00
Stephen Kelly
edd5303949
Refactor GetIncludeFlags to take includes instead of fetching them
2012-02-22 06:31:49 -05:00
KWSys Robot
6a1c5a3569
KWSys Nightly Date Stamp
2012-02-22 00:05:07 -05:00
David Cole
8ef15df700
Merge topic 'HandleTargetsInCMakeRequiredLibraries'
...
35c48e1 Check*.cmake: Expand imported targets in CMAKE_REQUIRED_LIBRARIES
61cb4ea bootstrap: move while() and endwhile() into the bootstrap build
c9f2886 -don't pull in CheckTypeSize.cmake from the cmake which is being built
628f365 -remove trailing whitespace
2012-02-21 15:58:27 -05:00
David Cole
7d02020d68
Merge topic 'CPack-dynamicDocSection'
...
9a8103e Try to fix compile error on Win32-vs70
4da2223 Fix typo in end markup
cfac874 More documentation concerning CPack Components
dee0a38 Put CPack DMG and PackageMaker doc in separate files
b4abcfe Correct copy/paste section name mistake
9717727 Suppress unecessary (now empty) doc sections
7a8f44a Add structure documentation for CPack Bundle generator
b8a274c Add structured documentation for NSIS
a6bce55 Dynamically add documentation section specified in documented script.
2012-02-21 15:57:17 -05:00
David Cole
8a665fa363
Merge topic 'findlibrary-versioned-libraries'
...
70f3623 Find_library(): allow searching for versioned shared objects
2012-02-21 15:56:26 -05:00
David Cole
751e492840
Merge topic 'fix-typos-12975'
...
7ec2ebd fix the same typos as found by Debian in other places, too
d36d29f various typo and formatting fixes in manual pages (#12975 )
2012-02-21 15:56:13 -05:00
David Cole
7bcd282981
Merge topic 'try-compile-random-name'
...
4fbdce2 try_compile: Use random executable file name (#12957 )
2012-02-21 15:54:51 -05:00
David Cole
cee42a73e8
Merge topic 'honor-gcov-empty-coverage'
...
58d75e2 CTest: mark all gcov covered files as covered
2012-02-21 15:54:09 -05:00
David Cole
e1a6c9b9a1
Merge topic 'link-OpenBSD-shared-libs-issue-12954'
...
afc75bb Recognize OpenBSD versioned .so names (#12954 )
2012-02-21 15:53:41 -05:00
Alex Neundorf
61cb4ea72e
bootstrap: move while() and endwhile() into the bootstrap build
...
Alex
2012-02-21 15:33:40 -05:00
Alex Neundorf
628f365140
-remove trailing whitespace
...
Alex
2012-02-21 15:33:31 -05:00
Peter Kuemmel
54bd175eea
Ninja: windows msvc: create for each target a .pdb file
2012-02-21 21:18:05 +01:00
KWSys Robot
cffebe643c
KWSys Nightly Date Stamp
2012-02-21 00:05:05 -05:00
KWSys Robot
dc4c24ac79
KWSys Nightly Date Stamp
2012-02-20 00:05:06 -05:00
Peter Collingbourne
a1a30340a2
Ninja: Import library support for Windows
2012-02-19 23:20:03 +00:00
Peter Kuemmel
21997cea4d
Ninja: mark the Windows specific hacks with a comment only
2012-02-19 19:21:05 +01:00
Peter Kuemmel
3b84741515
Ninja: disable unfinished Windows ninja support
...
This way the branch is ready-to-merge, even when the generator is broken on Windows.
2012-02-19 19:15:57 +01:00
Peter Kuemmel
adb54f3dbf
Ninja: add some hacks for Windows
2012-02-19 11:30:07 +01:00
Peter Kuemmel
895914881b
Ninja: also build ninja support on Windows
2012-02-19 11:10:18 +01:00
Peter Collingbourne
70c39c845f
Ninja: Shell encode the command used in custom commands
2012-02-19 05:57:22 +00:00
Peter Collingbourne
0643fee2fe
Ninja: Shell encode various CMake invocations
2012-02-19 05:57:22 +00:00
Peter Collingbourne
43b1d8bad0
Ninja: Shell encode paths used in "cd" commands
2012-02-19 05:43:47 +00:00
KWSys Robot
e316cbbbc3
KWSys Nightly Date Stamp
2012-02-19 00:05:09 -05:00
Peter Collingbourne
cea03e632b
Ninja: Backslash rules for Windows
...
Generally these are only required in build statements, as Ninja wants
to be able to chop paths up. But it doesn't hurt to also try to use
them in command line arguments.
2012-02-19 04:00:02 +00:00
Eric NOULARD
9a8103e929
Try to fix compile error on Win32-vs70
2012-02-19 00:01:39 +01:00
Eric NOULARD
9717727d5f
Suppress unecessary (now empty) doc sections
2012-02-18 22:30:57 +01:00
Eric NOULARD
a6bce55aef
Dynamically add documentation section specified in documented script.
...
Modify CPackDeb and CPackRPM as an example
2012-02-18 22:07:39 +01:00
Peter Collingbourne
9362440a0b
Ninja: Identifier encoding rules for ' ' and ':'
2012-02-18 20:33:39 +00:00
Peter Collingbourne
99856d537c
Ninja: Partially revert "win fixes: escape back slash/colon, use cd. as cmd.exe nop"
...
It introduced encoding rules in the wrong place, and broke the
CustomCommand test case.
This reverts commit 7fb2bb3e8b0dc7bc718aadc4ab9a74cb7fdb656e.
2012-02-18 20:33:33 +00:00
Rolf Eike Beer
70f362305f
Find_library(): allow searching for versioned shared objects
...
This did not work because find_library() did only treat the given name as
complete filename if is matched "PREFIX.*SUFFIX":
find_library(MYLIB libfoo.so.2)
Now it is also taken as a whole if the name matches "PREFIX.*SUFFIX\..*".
2012-02-18 16:19:29 +01:00
Modestas Vainius
d36d29f1f0
various typo and formatting fixes in manual pages ( #12975 )
...
The patch fixes the following lintian warnings:
W: cmake-data: manpage-has-errors-from-man usr/share/man/man1/cmakemodules.1.gz 2728: warning: macro `..' not defined
I: cmake-data: spelling-error-in-manpage usr/share/man/man1/cmakemodules.1.gz overriden overridden
I: cmake-data: spelling-error-in-manpage usr/share/man/man1/cmakemodules.1.gz overriden overridden
I: cmake-data: spelling-error-in-manpage usr/share/man/man1/cmakemodules.1.gz explicitely explicitly
I: cmake-data: spelling-error-in-manpage usr/share/man/man1/cmakemodules.1.gz jave java
W: cmake-data: manpage-has-errors-from-man usr/share/man/man1/cmakeprops.1.gz 1040: warning [p 25, 3.7i]: can't break line
W: cmake: manpage-has-errors-from-man usr/share/man/man1/cmake.1.gz 4233: warning [p 85, 1.3i]: can't break line
I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz overriden overridden
I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz overriden overridden
I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz explicitely explicitly
I: cmake: spelling-error-in-manpage usr/share/man/man1/cmake.1.gz jave java
2012-02-18 16:12:45 +01:00
Peter Kuemmel
7fb2bb3e8b
Ninja: win fixes: escape back slash/colon, use cd. as cmd.exe nop
2012-02-18 08:15:23 +01:00
KWSys Robot
bfbb575086
KWSys Nightly Date Stamp
2012-02-18 00:05:12 -05:00
KWSys Robot
d03606a19c
KWSys Nightly Date Stamp
2012-02-17 00:05:08 -05:00
Brad King
4fbdce2b79
try_compile: Use random executable file name ( #12957 )
...
Append a random number to the "cmTryCompileExec" file name to avoid
rapid creation and deletion of the same executable file name. Some
filesystems lock executable files when they are created and cause
subsequent try-compile tests to fail arbitrarily. Use a different
name each time to avoid conflict.
2012-02-16 10:13:50 -05:00
KWSys Robot
e2042b68d3
KWSys Nightly Date Stamp
2012-02-16 00:05:07 -05:00
Rolf Eike Beer
58d75e22ae
CTest: mark all gcov covered files as covered
...
Even if there are no lines covered in the file the gcov coverage report still
contains valueable information, the amount of uncovered lines and which exactly
they are. Set 'Covered="true"' for files we have a gcov report for even if they
have no lines covered. Otherwise CDash will neither show the uncovered line
count nor the detailed coverage report for this file.
When CTEST_EXTRA_COVERAGE_GLOB was used to collect otherwise uncovered files
'Covered="true"' was unconditionally set, so this can't be worse here.
2012-02-15 21:45:30 +01:00
KWSys Robot
a8b5714935
KWSys Nightly Date Stamp
2012-02-15 00:05:04 -05:00
David Cole
4fd13c0f15
Merge topic 'FixFeatureSummaryForREQUIREDPackages'
...
e6c5b94 fix FeatureSummary for REQUIRED packages, they were reported as OPTIONAL
2012-02-14 16:17:07 -05:00