summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* export(): Document undefined behavior of location propertiesBrad King2011-12-013-10/+14
| | | | | | | | 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.
* Factor out target location undefined behavior helper macroBrad King2011-12-013-11/+28
| | | | | | Move CM_LOCATION_UNDEFINED_BEHAVIOR into a dedicated header. Add a parameter to describe the action that leads to the undefined target location.
* Merge topic 'FindZLIB-use-ZLIB_ROOT'David Cole2011-12-011-10/+25
|\ | | | | | | | | 985dee4 FindZLIB: Search under ZLIB_ROOT if it is set
| * FindZLIB: Search under ZLIB_ROOT if it is setBrad King2011-11-301-10/+25
| | | | | | | | | | | | | | | | | | | | Perform multiple separate searches in order. If ZLIB_ROOT is set search it exclusively so it takes precedence over CMAKE_PREFIX_PATH. This allows a user to provide -DZLIB_ROOT=/path/to/zlib/prefix on the CMake command line to tell it exactly where to find zlib. Otherwise fall back to a normal search. Inspired-by: Andreas Schneider <asn@cryptomilk.org>
* | Merge topic 'newline-style'David Cole2011-12-0114-7/+229
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | Provide std::ios_base typedef on GCC < 3Brad King2011-11-301-0/+5
| | | | | | | | | | | | | | | The ancient GNU standard library provided std::ios but not std::ios_base. Define the latter in terms of the former.
| * | cmNewLineStyle: Use cmStandardIncludes.hBrad King2011-11-301-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | cmNewLineStyle: Remove trailing comma in enumBrad King2011-11-291-1/+1
| | |
| * | bootstrap: Include cmNewLineStyle in buildBrad King2011-11-291-0/+1
| | | | | | | | | | | | The cmNewLineStyle class is needed by cmMakefile.
| * | Add NEWLINE_STYLE option to configure_file (#3957)Peter Kuemmel2011-11-2812-7/+225
| | |
* | | Merge topic 'useqt4-fix-declarative'David Cole2011-12-011-3/+3
|\ \ \ | | | | | | | | | | | | | | | | 3cd08ce Qt4: Fix dependencies of QtDeclartive.
| * | | Qt4: Fix dependencies of QtDeclartive.Clinton Stimpson2011-11-291-3/+3
| | | |
* | | | Merge topic 'remove-cmLocalGenerator-trailing-whitespace'David Cole2011-12-011-73/+73
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 6b104e1 Remove trailing whitespace from cmLocalGenerator
| * | | | Remove trailing whitespace from cmLocalGeneratorBrad King2011-11-291-73/+73
| | | | |
* | | | | Merge topic 'vs-managed-projects'David Cole2011-12-013-1/+80
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a1f976c VS: Add support for three new project properties (#12586)
| * | | | | VS: Add support for three new project properties (#12586)Aaron Ten Clay2011-11-283-1/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>.
* | | | | | Merge topic 'automoc_qt5'David Cole2011-12-012-4/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a828623 moc is now part of the Qt5Core module b8c8cab Merge remote-tracking branch 'origin/master' into automoc_qt5
| * | | | | | moc is now part of the Qt5Core moduleStephen Kelly2011-11-262-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no separate SrcTools module anymore.
| * | | | | | Merge remote-tracking branch 'origin/master' into automoc_qt5Stephen Kelly2011-11-1028-86/+347
| |\ \ \ \ \ \
* | \ \ \ \ \ \ Merge topic 'cmake-gui_AddCompletionForAddCacheEntry'David Cole2011-12-014-11/+39
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b0d01c3 cmake-gui: add completion for the names when adding cache entries 08c59af Remove trailing whitespace
| * | | | | | | | cmake-gui: add completion for the names when adding cache entriesAlex Neundorf2011-11-194-3/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Up to 100 completion strings for the names of added variables are saved in the settings, so it will remember the variables you are usually adding. It also ensures that CMAKE_INSTALL_PREFIX is always there, since this is maybe the one which is set most often. Alex
| * | | | | | | | Remove trailing whitespaceAlex Neundorf2011-11-192-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Alex
* | | | | | | | | KWSys Nightly Date StampKWSys Robot2011-12-011-2/+2
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | KWSys Nightly Date StampKWSys Robot2011-11-301-1/+1
| |_|_|_|_|/ / |/| | | | | |
* | | | | | | KWSys Nightly Date StampKWSys Robot2011-11-291-1/+1
| | | | | | |
* | | | | | | KWSys Nightly Date StampKWSys Robot2011-11-281-1/+1
| | | | | | |
* | | | | | | KWSys Nightly Date StampKWSys Robot2011-11-271-1/+1
| |_|_|_|/ / |/| | | | |
* | | | | | KWSys Nightly Date StampKWSys Robot2011-11-261-1/+1
| | | | | |
* | | | | | KWSys Nightly Date StampKWSys Robot2011-11-251-1/+1
| | | | | |
* | | | | | KWSys Nightly Date StampKWSys Robot2011-11-241-1/+1
| | | | | |
* | | | | | Merge topic 'CheckImportedFileExistenceInConfigDotCMakeFiles'David Cole2011-11-234-11/+91
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5c03438 install(EXPORT): Improve target import failure message format a2be068 install(EXPORT): Enforce existence of imported target files
| * | | | | | install(EXPORT): Improve target import failure message formatBrad King2011-11-221-13/+10
| | | | | | |
| * | | | | | install(EXPORT): Enforce existence of imported target filesAlex Neundorf2011-11-224-11/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | Merge topic 'target-link-libraries-interfaces'David Cole2011-11-2311-16/+196
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | target_link_libraries: Simplify argument processing state testsBrad King2011-11-221-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | target_link_libraries: Add missing space in documentationBrad King2011-11-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change "thelink" to "the link".
| * | | | | | target_link_libraries: Add LINK_(PUBLIC|PRIVATE) optionsStephen Kelly2011-11-2211-11/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makes it possible to specify the link dependencies and link interfaces in one command without repetition.
| * | | | | | target_link_libraries: Trim trailing whitespaceStephen Kelly2011-11-221-6/+6
| | | | | | |
* | | | | | | KWSys Nightly Date StampKWSys Robot2011-11-231-1/+1
| | | | | | |
* | | | | | | Merge topic 'crypto-hash'David Cole2011-11-2236-51/+2202
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | | sha2: Zero entire SHA_CTX structure during cleanupBrad King2011-11-171-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert lines of the form MEMSET_BZERO(context, sizeof(context)); to the correct form MEMSET_BZERO(context, sizeof(*context)); as suggested by Clang.
| * | | | | | | sha2: Suppress -Wcast-align warning from ClangBrad King2011-11-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code does contain a cast that increases alignment but only for pointers into structures known to be sufficiently aligned.
| * | | | | | | sha2: Cast safe conversions to smaller integer typesBrad King2011-11-171-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a cast to lines converting "uint64_t" to "unsigned int" that are known safe due to use of modulus with a small integer. This avoids compiler warnings such as conversion from 'cm_sha2_uint64_t' to 'unsigned int', possible loss of data from MSVC.
| * | | | | | | Merge branch 'update-KWIML' into crypto-hashBrad King2011-11-176-2/+53
| |\ \ \ \ \ \ \
| * | | | | | | | cmCryptoHash: Add virtual destructorBrad King2011-11-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instances of this class are always subclasses. Use a virtual destructor to ensure the subclasses cleanup correctly.
| * | | | | | | | Fix CMake.File hash test for CRLF checkoutsBrad King2011-11-1611-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a dedicated test input file for the file() hash API tests. Set attribute crlf=input so it is always checked out correctly.
| * | | | | | | | sha2: Wrap long lines in third-party declarationsBrad King2011-11-161-5/+10
| | | | | | | | |
| * | | | | | | | Disable file() and string() hash commands during bootstrapBrad King2011-11-162-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We do not compile support for the cryptographic hashes during bootstrap. Disable the APIs that use them.
| * | | | | | | | sha2: Suppress Borland warnings in third-party codeBrad King2011-11-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sha2 implementation performs cleanup on local variables. Suppress the warning instead of fixing it to minimize modification.
| * | | | | | | | sha2: Use KWIML fixed-size integer constant macrosBrad King2011-11-161-102/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define SHA_UINT32_C and SHA_UINT64_C using the KWIML versions. Use them in place of hard-coded UL and ULL constant suffixes.