KWSys Robot
e21e5cf289
KWSys Nightly Date Stamp
2011-12-04 00:05:11 -05:00
KWSys Robot
901e6d023f
KWSys Nightly Date Stamp
2011-12-03 00:05:06 -05:00
Alex Neundorf
62e223e8fa
automoc: add variable CMAKE_AUTOMOC_STRICT_MODE, to enable strict parsing
...
Alex
2011-12-02 22:08:06 +01:00
Alex Neundorf
40c516783e
automoc: accept even more .moc files in non-strict mode
...
Alex
2011-12-02 21:54:11 +01:00
Alex Neundorf
c207f5d361
automoc: also accept other files when .moc is included in non-strict mode
...
Alex
2011-12-02 21:43:15 +01:00
Alex Neundorf
9c0df72dc4
automoc: add a StrictParseCppFile(), which is only qmake-compatible
...
ParseCppFile() is the one which is automoc4/KDE4-compatible, and which
becomes a bit crowded. By separating these two it is easier to ensure
that the strict one doesn't get broken accidentially.
Alex
2011-12-02 20:59:44 +01:00
Alex Neundorf
174bf35fbb
automoc: move the code for finding headers into separate function
...
Alex
2011-12-02 20:38:14 +01:00
KWSys Robot
8bda047b8e
KWSys Nightly Date Stamp
2011-12-02 00:05:04 -05:00
Brad King
fea3e84ee3
export(): Document undefined behavior of location properties
...
Since the export() command needs to know the final location of a target
in the build tree we cannot allow properties affecting the location or
name of a target file to be set after the target is passed to export().
Fix a violation of this rule in the SimpleInstall test.
2011-12-01 16:00:12 -05:00
Brad King
363d3962c4
Factor out target location undefined behavior helper macro
...
Move CM_LOCATION_UNDEFINED_BEHAVIOR into a dedicated header. Add a
parameter to describe the action that leads to the undefined target
location.
2011-12-01 15:58:47 -05:00
David Cole
97142c7603
Merge topic 'newline-style'
...
ac2e45d Provide std::ios_base typedef on GCC < 3
28c46ca cmNewLineStyle: Use cmStandardIncludes.h
75e83e9 cmNewLineStyle: Remove trailing comma in enum
be6502c bootstrap: Include cmNewLineStyle in build
a087490 Add NEWLINE_STYLE option to configure_file (#3957 )
2011-12-01 14:03:24 -05:00
David Cole
f1ad054317
Merge topic 'remove-cmLocalGenerator-trailing-whitespace'
...
6b104e1 Remove trailing whitespace from cmLocalGenerator
2011-12-01 14:02:39 -05:00
David Cole
f64d85e711
Merge topic 'vs-managed-projects'
...
a1f976c VS: Add support for three new project properties (#12586 )
2011-12-01 14:02:32 -05:00
David Cole
9c288d6c2b
Merge topic 'automoc_qt5'
...
a828623 moc is now part of the Qt5Core module
b8c8cab Merge remote-tracking branch 'origin/master' into automoc_qt5
2011-12-01 14:02:21 -05:00
David Cole
3f4672b1d7
Merge topic 'cmake-gui_AddCompletionForAddCacheEntry'
...
b0d01c3 cmake-gui: add completion for the names when adding cache entries
08c59af Remove trailing whitespace
2011-12-01 14:02:05 -05:00
KWSys Robot
0393aa61d1
KWSys Nightly Date Stamp
2011-12-01 00:05:04 -05:00
Alex Neundorf
8507eaed16
automoc: fix handling of included _p.moc files
...
Alex
2011-11-30 21:43:05 +01:00
Brad King
ac2e45d089
Provide std::ios_base typedef on GCC < 3
...
The ancient GNU standard library provided std::ios but not
std::ios_base. Define the latter in terms of the former.
2011-11-30 09:27:18 -05:00
Brad King
28c46ca6cd
cmNewLineStyle: Use cmStandardIncludes.h
...
This ensures that stl types are compiled consistently with
the reset of CMake. Otherwise one may get errors like
Undefined symbol: .cmNewLineStyle::ReadFromArguments(
const std::vector<std::_LFS_ON::basic_string ...)
due to inconsistent large file support definitions.
2011-11-30 09:19:32 -05:00
KWSys Robot
17388037fd
KWSys Nightly Date Stamp
2011-11-30 00:05:04 -05:00
Alex Neundorf
7ada172002
automoc: some more linebreaks for the warnings for better readability
...
Alex
2011-11-29 21:07:50 +01:00
Alex Neundorf
3b93e266c0
automoc: add extra check whether the header contains Q_PRIVATE_SLOT
...
This is again for KDE4 compatiblity. If foo.moc is included, in general
moc should run on foo.cpp. Usually this can't cause problems.
It can only cause problems if moc must run on the header, and the resulting
file must be included in the cpp file, which is the case with the
Q_PRIVATE_SLOT macro.
This makes the test added by Stephen pass.
Alex
2011-11-29 20:55:36 +01:00
Brad King
6b104e107e
Remove trailing whitespace from cmLocalGenerator
2011-11-29 08:58:45 -05:00
Brad King
75e83e98fa
cmNewLineStyle: Remove trailing comma in enum
2011-11-29 08:01:07 -05:00
KWSys Robot
89f6fbaae3
KWSys Nightly Date Stamp
2011-11-29 00:05:04 -05:00
Peter Kuemmel
a087490697
Add NEWLINE_STYLE option to configure_file ( #3957 )
2011-11-28 13:48:59 -05:00
Aaron Ten Clay
a1f976ce0e
VS: Add support for three new project properties ( #12586 )
...
VS_GLOBAL_PROJECT_TYPES: A string containing UUIDs to embed in the
Visual Studio project file under <ProjectTypes>.
VS_GLOBAL_KEYWORD: Allows specification of a keyword like "ManagedCProj"
instead of the default "Win32Proj", under <Keyword>
VS_DOTNET_REFERENCES: Semicolon-delimited list of .NET references to add
to the project, which creates a new <ItemGroup>.
2011-11-28 11:44:04 -05:00
KWSys Robot
912c02c682
KWSys Nightly Date Stamp
2011-11-28 00:05:05 -05:00
KWSys Robot
10c3113464
KWSys Nightly Date Stamp
2011-11-27 00:05:05 -05:00
Stephen Kelly
a8286235a3
moc is now part of the Qt5Core module
...
There is no separate SrcTools module anymore.
2011-11-26 15:15:33 +01:00
KWSys Robot
66f44dcdf4
KWSys Nightly Date Stamp
2011-11-26 00:05:08 -05:00
KWSys Robot
d63af6df7c
KWSys Nightly Date Stamp
2011-11-25 00:05:06 -05:00
KWSys Robot
27e6ea9d2a
KWSys Nightly Date Stamp
2011-11-24 00:05:05 -05:00
David Cole
7ed2ed9a2e
Merge topic 'CheckImportedFileExistenceInConfigDotCMakeFiles'
...
5c03438 install(EXPORT): Improve target import failure message format
a2be068 install(EXPORT): Enforce existence of imported target files
2011-11-23 08:16:15 -05:00
David Cole
1ec3801a3a
Merge topic 'target-link-libraries-interfaces'
...
b1f12f8 target_link_libraries: Simplify argument processing state tests
5fc95df target_link_libraries: Add missing space in documentation
9143822 target_link_libraries: Add LINK_(PUBLIC|PRIVATE) options
cf64218 target_link_libraries: Trim trailing whitespace
2011-11-23 08:16:10 -05:00
KWSys Robot
57a85237ac
KWSys Nightly Date Stamp
2011-11-23 00:05:08 -05:00
Brad King
b1f12f8042
target_link_libraries: Simplify argument processing state tests
...
Remove extra parens in test for not handling LINK_INTERFACE_LIBRARIES.
Remove redundant test for equality with ProcessingPrivateInterface
subsumed by test for inequality with ProcessingPublicInterface.
2011-11-22 17:21:36 -05:00
Brad King
5fc95dff46
target_link_libraries: Add missing space in documentation
...
Change "thelink" to "the link".
2011-11-22 17:19:04 -05:00
Stephen Kelly
914382224d
target_link_libraries: Add LINK_(PUBLIC|PRIVATE) options
...
Makes it possible to specify the link dependencies and link
interfaces in one command without repetition.
2011-11-22 16:52:35 -05:00
Stephen Kelly
cf64218eeb
target_link_libraries: Trim trailing whitespace
2011-11-22 16:52:27 -05:00
David Cole
d9df0cca66
Merge topic 'crypto-hash'
...
0599c5f sha2: Zero entire SHA_CTX structure during cleanup
0a6705c sha2: Suppress -Wcast-align warning from Clang
24b1feb sha2: Cast safe conversions to smaller integer types
1ec3fa0 Merge branch 'update-KWIML' into crypto-hash
6495b59 cmCryptoHash: Add virtual destructor
8302608 Fix CMake.File hash test for CRLF checkouts
9fb1a9c sha2: Wrap long lines in third-party declarations
b0853b5 Disable file() and string() hash commands during bootstrap
9da8340 sha2: Suppress Borland warnings in third-party code
23b3df7 sha2: Use KWIML fixed-size integer constant macros
2e9c26c Add string(MD5) and string(SHA*) commands to compute hashes
293a7f4 cmCryptoHash: Provide factory "New" method
46ab056 sha2: Use "static const" instead of "const static" declarations
38771d3 Add file(SHA*) commands to compute cryptographic hashes
73efd4a sha2: Build as part of CMakeLib
c1856a3 sha2: Use KWIML fixed-size integer types and endian-ness
fcc3ce5 Merge branch 'import-sha2' into crypto-hash
042f796 Add file(MD5) command to compute cryptographic hash
ed7cef5 Factor Compute(File|String)MD5 into cmCryptoHash helper
8251b20 Import sha2 implementation 1.1 from Aaron D. Gifford
9912c41 Import sha2 implementation 1.0 from Aaron D. Gifford
2011-11-22 16:24:21 -05:00
David Cole
7b1b13c8f0
Merge topic 'EclipseImprovedSourceProject'
...
982b766 Eclipse: use new variable CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT
1110e45 Eclipse: create links to subprojects also in the source-project (#12579 )
2011-11-22 16:23:56 -05:00
David Cole
f0419b439a
Merge topic 'fix-11792-improve-ctest-site-handling'
...
92af1da CTest: Disallow problem chars in build and site names (#11792 )
2011-11-22 16:23:48 -05:00
David Cole
636740c478
Merge topic 'fix-12445-add-call-for-batch-files-vs10'
...
46c7054 VS: Use "call " keyword with .cmd and .bat file custom commands (#12445 )
2011-11-22 16:23:23 -05:00
Alex Neundorf
bde4edb6ab
automoc: add special handling for including basename_p.moc, with test
...
Alex
2011-11-22 22:01:13 +01:00
Brad King
5c03438661
install(EXPORT): Improve target import failure message format
2011-11-22 15:55:04 -05:00
Alex Neundorf
a2be068c75
install(EXPORT): Enforce existence of imported target files
...
Typical <package>Config.cmake files for find_package() rely only on the
files generated by install(EXPORT). They might be wrong, for whatever
reasons, like people manually deleted files, projects were packaged
wrong by distributions, whatever. To protect against this, add checks
that the file locations we are importing actually exist on disk.
Alex
2011-11-22 15:55:00 -05:00
Alex Neundorf
74ab0f6aa4
automoc: move some code from the big parsing loop into separate functions
...
Alex
2011-11-22 21:35:08 +01:00
KWSys Robot
3bbe46daa2
KWSys Nightly Date Stamp
2011-11-22 00:05:06 -05:00
KWSys Robot
ad9bffdc3c
KWSys Nightly Date Stamp
2011-11-21 00:05:04 -05:00