summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Add framework to detect compiler version with its id (#12408)Brad King2011-12-071-0/+9
| | | | | | | | | | | | | | | | | | | | Teach CMakePlatformId.h to construct an "INFO:compiler_version[]" string literal from macros COMPILER_VERSION_(MAJOR|MINOR|PATCH|TWEAK) to be defined in CMake(C|CXX)CompilerId.(c|cpp) for each compiler. Provide conversion macros DEC() and HEX() to decode decimal or hex digits from integer values. Parse the version out of the compiler id binary along with the other INFO values already present. Store the result in variable CMAKE_<LANG>_COMPILER_VERSION in the format "major[.minor[.patch[.tweak]]]". Save the value persistently in CMake(C|CXX)Compiler.cmake in the build tree. Document the variable for internal use since we do not set it everywhere yet. Report the compiler version on the compiler id result line e.g. The C compiler identification is GNU 4.5.2 Report CMAKE_(C|CXX)_COMPILER_(ID|VERSION) in SystemInformation test.
* KWSys Nightly Date StampKWSys Robot2011-12-051-1/+1
|
* KWSys Nightly Date StampKWSys Robot2011-12-041-1/+1
|
* KWSys Nightly Date StampKWSys Robot2011-12-031-1/+1
|
* KWSys Nightly Date StampKWSys Robot2011-12-021-1/+1
|
* Merge topic 'newline-style'David Cole2011-12-018-7/+190
|\ | | | | | | | | | | | | | | | | 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
| |
| * Add NEWLINE_STYLE option to configure_file (#3957)Peter Kuemmel2011-11-287-7/+187
| |
* | 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-011-3/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 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-261-3/+3
| | | | | | | | | | | | | | | | | | | | There is no separate SrcTools module anymore.
| * | | | Merge remote-tracking branch 'origin/master' into automoc_qt5Stephen Kelly2011-11-1017-67/+183
| |\ \ \ \
* | \ \ \ \ 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-232-16/+67
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-222-11/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2212-50/+2106
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-171-1/+1
| |\ \ \ \ \ \ \
| * | | | | | | | 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.
| * | | | | | | | 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-162-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.