Peter Collingbourne
848520859a
Ninja: shell escape $(CMAKE_SOURCE_DIR) and $(CMAKE_BINARY_DIR)
2012-03-17 23:16:40 +00:00
Peter Collingbourne
df847671b4
Ninja: add support for OBJECT_OUTPUTS, fix PrecompiledHeader test case
2012-03-17 23:16:40 +00:00
Brad King
48eb7fc7d7
Ninja: Avoid using 'this' in member initializers
...
VS complains
warning C4355: 'this' : used in base member initializer list
so initialize the member in the constructor body instead.
2012-03-16 10:16:55 -04:00
Bill Hoffman
bba37dd517
Ninja: Fix for PDB files with spaces in the path.
...
This calls ConvertToOutputFormat on the PDB paths for pdb file paths
used in both library creation and the building of object files.
2012-03-16 10:16:45 -04:00
Brad King
ac800f49d0
Ninja: Constify use of cmCustomCommand
...
The generator never needs to modify custom command instances.
2012-03-13 11:23:14 -04:00
Peter Kuemmel
9a0d5a828a
Ninja: add /DEF: flag to linker call
2012-03-13 11:20:29 -04:00
Bill Hoffman
d40eebd89d
Ninja: Add a cache option CMAKE_ENABLE_NINJA to enable the ninja generator.
...
Make the option default to on, for platforms where CMake passes
all tests with the ninja generator. This is currently only Linux.
2012-03-09 14:28:21 -05:00
David Cole
8c634330db
Ninja: Add friend struct so it can access the private ConvertToNinjaPath.
...
The HP aCC compiler is apparently more strict than all our other
dashboard compilers with respect to complaining about this.
2012-03-07 16:24:34 -05:00
Peter Kuemmel
dbe3dce546
Ninja: add .def file support
2012-03-07 16:24:34 -05:00
Peter Kuemmel
f1bb08f55b
Ninja: ensure the output dir exists at compile time
2012-03-07 16:24:33 -05:00
Peter Collingbourne
7a6b5f4651
Ninja: Remove an unnecessary variable
2012-02-28 02:55:32 +00:00
Peter Collingbourne
80ff2102a4
Ninja: Use cmSystemTools::ExpandListArgument to split compile/link commands
2012-02-27 04:05:38 +00:00
Peter Collingbourne
d2731a376c
Ninja: Add a missed license header
2012-02-27 02:41:00 +00:00
David Cole
eabc9b0bc5
Ninja: CMake: Adapt Ninja generator for per-target include dirs
...
The confluence of the ninja-generator and target-include-directories
branches conspired to produce a nice little compiler error when
they were both merged into 'next'...
Yay for Continuous dashboards!
2012-02-22 16:31:00 -05:00
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