summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| * | | | Add string(MD5) and string(SHA*) commands to compute hashesBrad King2011-11-1612-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | | Provide a CMake-language binding to these cryptographic hashes. Add a string() command API for MD5, SHA1, SHA224, SHA256, SHA384, and SHA512.
| * | | | cmCryptoHash: Provide factory "New" methodBrad King2011-11-163-13/+23
| | | | | | | | | | | | | | | | | | | | | | | | | Construct a cmCryptoHash subclass instance based on the name of the desired hash algorithm.
| * | | | sha2: Use "static const" instead of "const static" declarationsBrad King2011-11-161-7/+7
| | | | | | | | | | | | | | | | | | | | Fix old-style declarations in the original code.
| * | | | Add file(SHA*) commands to compute cryptographic hashesBrad King2011-11-1610-3/+85
| | | | | | | | | | | | | | | | | | | | Add a file() command API for SHA1, SHA224, SHA256, SHA384, and SHA512.
| * | | | sha2: Build as part of CMakeLibBrad King2011-11-163-0/+55
| | | | | | | | | | | | | | | | | | | | Mangle sha2 symbols to avoid conflict with system libs.
| * | | | sha2: Use KWIML fixed-size integer types and endian-nessBrad King2011-11-162-184/+42
| | | | | | | | | | | | | | | | | | | | These are more portable than those named in the original sha2 code.
| * | | | Merge branch 'import-sha2' into crypto-hashBrad King2011-11-163-0/+1865
| |\ \ \ \
| | * | | | Import sha2 implementation 1.1 from Aaron D. GiffordBrad King2011-06-272-346/+949
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update cm_sha2.[hc] from sha2.[hc] in "sha2-1.1-ALPHA.tgz" downloaded today from http://www.aarongifford.com/computers/sha.html with trivial whitespace cleanup. This adds SHA-224 support.
| | * | | | Import sha2 implementation 1.0 from Aaron D. GiffordBrad King2011-06-273-0/+1262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Copy cm_sha2.[hc] from sha2.[hc] in "sha2-1.0.tar.gz" downloaded today from http://www.aarongifford.com/computers/sha.html with trivial whitespace cleanup. Also fix #include to account for rename.
| * | | | | Add file(MD5) command to compute cryptographic hashBrad King2011-11-169-1/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide a CMake-language binding to the md5sum function previously available only by "cmake -E md5sum".
| * | | | | Factor Compute(File|String)MD5 into cmCryptoHash helperBrad King2011-11-164-50/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define an abstract API around the backend hash algorithm. Expose ifstream errors to HashFile callers. Always try opening the file. Succeed only if the end of file is reached without error.
* | | | | | Merge topic 'update-KWIML'David Cole2011-11-225-1/+62
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ec358d1 Merge branch 'upstream-kwiml' into update-KWIML b421c24 KWIML: Avoid MSVC linker warning about not using C++ runtime 5796f88 Merge branch 'upstream-kwiml' into update-KWIML ae7cf91 KWIML: Teach ABI.h about PGI compiler aaf3765 Merge branch 'upstream-kwiml' into update-KWIML 9ccd639 KWIML: Ignore _LONGLONG on MS compiler 8be93fc KWIML: Test header inclusion after system headers
| * \ \ \ \ \ Merge branch 'upstream-kwiml' into update-KWIMLBrad King2011-11-211-0/+6
| |\ \ \ \ \ \
| | * | | | | | KWIML: Avoid MSVC linker warning about not using C++ runtimeBrad King2011-11-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach KWIML_test to use part of the C++ runtime library. Otherwise the linker complains: warning LNK4089: all references to 'MSVCP71.dll' discarded by /OPT:REF
| * | | | | | | Merge branch 'upstream-kwiml' into update-KWIMLBrad King2011-11-181-0/+4
| |\ \ \ \ \ \ \ | | |/ / / / / / | | | | | / / / | | |_|_|/ / / | |/| | | | |
| | * | | | | KWIML: Teach ABI.h about PGI compilerBrad King2011-11-181-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The PGI compiler appears to define "long long" as size 8 but does not provide a feature macro for it. It does provide options for the signedness of char (-Mschar, -Muchar) but does not define a feature macro indicating the choice. The default is signed, at least on Linux.
| * | | | | | Merge branch 'upstream-kwiml' into update-KWIMLBrad King2011-11-175-1/+52
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | KWIML: Ignore _LONGLONG on MS compilerBrad King2011-11-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The VS 7.0 header <yvals.h> included by most C++ system headers defines the macro _LONGLONG as __int64. Teach ABI.h to ignore the definition in this case because "long long" does not exist.
| | * | | | | KWIML: Test header inclusion after system headersBrad King2011-11-174-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some system headers may define macros that interfere with preprocessor tests in KWIML headers. Test this case to be sure that the verification checks at the bottom of the headers do not fail.
* | | | | | | Merge topic 'EclipseImprovedSourceProject'David Cole2011-11-223-10/+30
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 982b766 Eclipse: use new variable CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT 1110e45 Eclipse: create links to subprojects also in the source-project (#12579)
| * | | | | | | Eclipse: use new variable CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECTAlex Neundorf2011-11-192-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT was used, but the new name CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT is more in line with the general naming conventions in cmake, and, more importantly IMO, in cmake-gui it now appears right next to the other eclipse-related variables, which all start with CMAKE_ECLIPSE_. A warning is printed if the old variable is TRUE and the new one isn't, so users should notice that they have to enable the new one. Alex
| * | | | | | | Eclipse: create links to subprojects also in the source-project (#12579)Alex Neundorf2011-11-192-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Alex
* | | | | | | | Merge topic 'fix-11792-improve-ctest-site-handling'David Cole2011-11-222-6/+55
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 92af1da CTest: Disallow problem chars in build and site names (#11792)
| * | | | | | | | CTest: Disallow problem chars in build and site names (#11792)David Cole2011-11-182-6/+55
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, use "(empty)" rather than actually sending an empty string if build or site name is not set properly.
* | | | | | | | Merge topic 'FindPNG_Provide_PNG_INCLUDE_DIRS_Variable'David Cole2011-11-221-6/+11
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | df0f302 FindPNG: provide PNG_INCLUDE_DIRS, as the readme.txt says (#11312)
| * | | | | | | | FindPNG: provide PNG_INCLUDE_DIRS, as the readme.txt says (#11312)Alex Neundorf2011-11-181-6/+11
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also improve the documentation a bit. Alex
* | | | | | | | Merge topic 'FindBISON-version-regex'David Cole2011-11-221-2/+11
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 20cb5ed FindBISON: Fix matching output of "bison --version" f30f9a5 FindBISON: Fix bison++ version parsing to avoid "Offending entry"
| * | | | | | | | FindBISON: Fix matching output of "bison --version"Rolf Eike Beer2011-11-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The output may contain semicolons, which will confuse the IF() because of missing quoting.
| * | | | | | | | FindBISON: Fix bison++ version parsing to avoid "Offending entry"Ondrej Balaz2011-11-111-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've just found out that use of FindBISON.cmake shipped with CMake 2.8 on system where bison++ is default bison executable (e.g. Debian Linux) will result in corrupted CMakeCache.txt file and parse error due to "Offending entry" As FindBISON.cmake logic used to obtain installed bison executable version is tailored to match only the message used in GNU Bison it fails on absolutely different Bison++ version message and whole version message including \n characters is stored into BISON_VERSION which is then dumped into CMakeCache.txt, so everything after first \n character makes "Offending entry".
* | | | | | | | | Merge topic 'fix-12445-add-call-for-batch-files-vs10'David Cole2011-11-221-0/+14
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 46c7054 VS: Use "call " keyword with .cmd and .bat file custom commands (#12445)