summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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 'qt4-deploy-module'David Cole2011-11-151-1/+5
|\ \ | | | | | | | | | | | | b688f11 Check QtCore without warning.
| * | Check QtCore without warning.Mike McQuaid2011-11-141-1/+5
| | | | | | | | | | | | | | | When debug and release versions of QtCore were available it printed a warning. This has been fixed.
* | | Merge topic 'vs-version-ivar'David Cole2011-11-1520-55/+87
|\ \ \ | | | | | | | | | | | | | | | | | | | | c92ffec Enumerate VS11 version explicitly in local generators 1be4b6f Order VS local generator Version ivar values consistently
| * | | Enumerate VS11 version explicitly in local generatorsBrad King2011-11-144-7/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the parent commit the local generator Version ivar may be compared for ordering. Convert comparisons: "==VS10" becomes ">=VS10" "!=VS10" becomes "< VS10" to support an explicit enumeration value for VS11 with no change in behavior.
| * | | Order VS local generator Version ivar values consistentlyBrad King2011-11-1418-55/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the Version member to the top cmLocalVisualStudioGenerator class and set it consistently for instances created by all the global generator versions. Use an enumeration type with values scaled by a factor of 10 so we can handle VS 7.1 without out-of-order numbers. VS 7.1 support for SuppressStartupBanner was broken by commit 25116a3c (Fix CMAKE_VERBOSE_MAKEFILE for VS10 vcxproj files, 2011-10-11) because it assumed comparison of VS version numbers works. Now it does.
* | | | Merge topic 'import-KWIML'David Cole2011-11-1516-0/+1816
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5be0e92 Merge branch 'upstream-kwiml' into import-KWIML a8f6159 KWIML: Create test output dir for Xcode 33fff24 KWIML: No INT_SCN*8 on Intel for Windows bcc06d4 KWIML: No INT_SCN*8 on SunPro compiler 6d12ab3 KWIML: Suppress printf/scanf format warnings in test 553acec KWIML: Avoid redefining _CRT_SECURE_NO_DEPRECATE in test.h 93cebca Configure KWIML inside CMake as cmIML b2975ad Merge branch 'upstream-kwiml' into import-KWIML 831bade KWIML: The Kitware Information Macro Library
| * \ \ \ Merge branch 'upstream-kwiml' into import-KWIMLBrad King2011-11-153-4/+24
| |\ \ \ \
| | * | | | KWIML: Create test output dir for XcodeBrad King2011-11-141-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Xcode 2.x forgets to create the target output directory before linking the individual architecture pieces of a universal binary for the target KWIML_test. Then it passes the directory to -L and -F options when linking the and warns that the directory does not exist. We work around the problem by using a pre-build rule on the target to create the output directory.
| | * | | | KWIML: No INT_SCN*8 on Intel for WindowsBrad King2011-11-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Intel C/C++ for Windows does not support the SCN*8 format (%hh*). The MS runtime does not support it.
| | * | | | KWIML: No INT_SCN*8 on SunPro compilerBrad King2011-11-121-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Sun compiler does not document support for SCN*8 format (%hh*). It works only on platforms that happen to provide a runtime library that supports the format.
| | * | | | KWIML: Suppress printf/scanf format warnings in testBrad King2011-11-121-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | KWIML defines format string macros matching the fixed-sized types. This test checks that they behave as expected and that the arguments match the *sizes* expected by the format strings.
| | * | | | KWIML: Avoid redefining _CRT_SECURE_NO_DEPRECATE in test.hBrad King2011-11-121-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the including project defines this macro do not re-define it in the test header.
| * | | | | Configure KWIML inside CMake as cmIMLBrad King2011-06-271-0/+6
| | | | | |
| * | | | | Merge branch 'upstream-kwiml' into import-KWIMLBrad King2011-06-2715-0/+1790
| |\ \ \ \ \ | | |/ / / / | | | | | / | | |_|_|/ | |/| | | Introduce KWIML as a subtree at Utilities/KWIML.
| | * | | KWIML: The Kitware Information Macro LibraryBrad King2011-06-2715-0/+1790
| | / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provides header files that use preprocessor tests to detect and provide information about the compiler and its target architecture. The headers contain no configuration-time test results and thus may be installed into an architecture-independent include directory. This makes them suitable for use in the public interface of any package.
* | | | Merge topic 'copyright-year'David Cole2011-11-151-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | ac39e9c Update main Copyright.txt year range for 2011
| * | | | Update main Copyright.txt year range for 2011Brad King2011-11-101-1/+1
| | | | |
* | | | | Merge topic 'FindBoost-vs11-issue-12568'David Cole2011-11-151-4/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 1c4ba48 FindBoost: Use MSVC11 to find Boost on Windows (#12568)
| * | | | | FindBoost: Use MSVC11 to find Boost on Windows (#12568)Mateusz Loskot2011-11-101-4/+6
| |/ / / / | | | | | | | | | | | | | | | While at it, add recent Boost versions.
* | | | | Merge topic 'automoc_qt5'David Cole2011-11-153-4/+14
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bafe5cc Fix style. 74b9392 Update comments and method names to not be Qt4 specific. 812dab0 Don't assume the existence of QT_MAJOR_VERSION.
| * | | | | Fix style.Stephen Kelly2011-11-091-2/+3
| | | | | |
| * | | | | Update comments and method names to not be Qt4 specific.Stephen Kelly2011-11-092-4/+4
| | | | | |
| * | | | | Don't assume the existence of QT_MAJOR_VERSION.Stephen Kelly2011-11-092-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | Also handle Qt5SrcTools_MAJOR_VERSION.
* | | | | | Merge topic 'fix-11213-vs10-mfc-support'David Cole2011-11-156-47/+109
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 537020f Tests: Nudge MFC test to pass on VS 6 dashboards (#11213) 51f442e VS11: Update InstallRequiredSystemLibraries.cmake for VS11 (#11213) d85ab7a Tests: Add environment logging to the MFC test (#11213) 011694c VS10: Use expected values for UseOfMfc (#11213) a2e6d24 Tests: Fix MFC test to work with VS 10 and later (#11213)
| * | | | | | Tests: Nudge MFC test to pass on VS 6 dashboards (#11213)David Cole2011-11-093-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | InstallRequiredSystemLibraries does not install any dlls when used with VS 6 dashboards. Modify the ValidateBuild script to expect only 1 file when building with VS 6. Using "-DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>" does not work when <INSTALL_DIR> evaluates to a long enough string. However, using "-DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>" does work, even with the longer strings. So: make sure to include the ":PATH" when using this construct with ExternalProject calls so that they may install to the proper location on VS 6 builds. All existing calls that match "CMAKE_INSTALL_PREFIX.*INSTALL_DIR" include the ":PATH" after this commit. By the way: https://twitter.com/DLRdave/status/134339505397309440
| * | | | | | VS11: Update InstallRequiredSystemLibraries.cmake for VS11 (#11213)David Cole2011-11-081-38/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Should fix the newly added MFC test on VS11 dashboards.
| * | | | | | Tests: Add environment logging to the MFC test (#11213)David Cole2011-11-081-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Simply to ease analyzing still-occurring dashboard failures.
| * | | | | | VS10: Use expected values for UseOfMfc (#11213)David Cole2011-11-041-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use expected values for the UseOfMfc xml element in VS 10 .vcxproj files. CMAKE_MFC_FLAG=1 maps to "Static" CMAKE_MFC_FLAG=2 maps to "Dynamic" all other values map to "false" Thanks to Randy Schott and McBen for their patches which served as inspiration and motivation for getting this done. See also http://public.kitware.com/Bug/view.php?id=11224
| * | | | | | Tests: Fix MFC test to work with VS 10 and later (#11213)David Cole2011-11-041-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The mfc app in the test was generated by the VS 7.1 wizard, and due to changes in VS since then, the values used for WINVER and _WIN32_WINNT caused compile errors when built with VS 10 or later. Change them to values appropriate for targeting Windows XP or later when building with VS 10 or later. See http://msdn.microsoft.com/en-us/library/6sehtctf.aspx for more info.
* | | | | | | Merge topic 'add-mfc-test'David Cole2011-11-1528-0/+1778
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c71f7ab Tests: Avoid MFC test automatically for Watcom WMake builds (#11213) a42e3f2 Tests: Fix MFC test for old vs6 dashboards (#11213) b297da6 Tests: Fix MFC test w/ Make-based generators (#11213) 54595e6 Tests: Avoid MFC test automatically for VCExpress builds (#11213) 36b0c43 Tests: Add the MFC test (#11213)
| * | | | | | Tests: Avoid MFC test automatically for Watcom WMake builds (#11213)David Cole2011-11-031-0/+10
| | | | | | |
| * | | | | | Tests: Fix MFC test for old vs6 dashboards (#11213)David Cole2011-11-031-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The MFC test's mfc1 directory was a "VS-MFC-wizard-generated" starter MFC app, using VS 7.1 as the generator. There's one define used in the generated rc file that was not available back in the VS6 days... Put a conditional define in here based on _MSC_VER to enable the test app to build on VS6 dashboards.
| * | | | | | Tests: Fix MFC test w/ Make-based generators (#11213)David Cole2011-11-021-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An explicit add_definitions of _AFXDLL is required for shared library builds with non-Visual Studio generators.
| * | | | | | Tests: Avoid MFC test automatically for VCExpress builds (#11213)David Cole2011-11-011-0/+24
| | | | | | |
| * | | | | | Tests: Add the MFC test (#11213)David Cole2011-11-0128-0/+1726
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Build a simple, do-nothing VS 7.1 MFC wizard generated app with CMake. Build it two different ways via ExternalProject, one with CMAKE_MFC_FLAG set to 1 for linking to MFC statically, and one with CMAKE_MFC_FLAG set to 2 for linking to the shared MFC dlls. Validate that the install tree of the static build has only one *.exe file in it and nothing else. Also validate that the install tree of the shared library build has multiple files in it (no less than 3) and that they are only of the expected types *.exe, *.dll and *.manifest. This commit does not address the issue reported in #11213, it merely adds a test that may be used to show that the bug report is valid. After this commit, the MFC test should fail on any dashboard machines that have MSVC defined, but cannot build an MFC app. We can then analyze that failure data as input to solving the issue.
* | | | | | | Merge topic 'findx11-dan-kegel-patch'David Cole2011-11-151-0/+9
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0e721e5 Modules: Add XRes to FindX11.cmake
| * | | | | | | Modules: Add XRes to FindX11.cmakeDan Kegel2011-11-091-0/+9
| | | | | | | |
* | | | | | | | KWSys Nightly Date StampKWSys Robot2011-11-141-1/+1
| | | | | | | |
* | | | | | | | KWSys: Fix wrong spelling of __INTEL_COMPILERBrad King2011-11-131-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Author: Hans Johnson <hans-johnson@uiowa.edu> Change-Id: I31a29a8b53e5262b76530b8ea80a1a66cff7b3f7
* | | | | | | | KWSys: Remove trailing whitespace in SystemTools.cxxBrad King2011-11-131-128/+128
| | | | | | | |
* | | | | | | | KWSys Nightly Date StampKWSys Robot2011-11-131-1/+1
| | | | | | | |