summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Minor readability improvement in CTest outputBrad King2008-12-181-3/+3
| | | | | | | | When ctest --build-and-test runs the --test-command its output did not quote the arguments of the command being tested making it difficult to read. This adds the quotes. This also changes the wording of the failure case to not sound like CTest could not run the executable when in fact it ran and returned failure.
* BUG: Fix crash when running internal CTestBrad King2008-12-181-2/+2
| | | | | | | When CTest encounters a test whose executable is the ctest executable iteslf, it just invokes code inside itself to avoid starting a new process. This fixes a null-pointer dereference in the logging code of that case.
* BUG: Do not copy permissions of files when making the copy in an install ↵David Cole2008-12-183-22/+43
| | | | rule. If the source file was read-only, this prevents the subsequent set of the destination file's modification time, making the copied file always different in time-stamp than the original and always installing a new file with a new time stamp (but the same content) causing unnecessary downstream incremental rebuilds. As part of this fix, add an optional copyPermissions parameter to the SystemTools routines CopyFileIfDifferent, CopyFileAlways, CopyAFile and CopyADirectory. The copyPermissions parameter defaults to true to preserve the behavior of these routines for existing callers.
* STYLE: Remove useless install generator typedefsBrad King2008-12-184-4/+0
| | | | | The cmInstall*Generator classes all derive from cmInstallGenerator which provides the Indent typedef so they do not need to provide it
* COMP: Restore fixes to generated lexerBrad King2008-12-182-0/+21
| | | | | | The command argument lexer was recently regenerated which erased some fixes that had been applied directly to the output. This restores the fixes and adds reminder notes in the generation instructions.
* BUG: Move previous parser bugfixes into input fileBrad King2008-12-182-37/+43
| | | | | | | | The command argument parser code is generated by bison. This change restores some fixes previously applied to the generated output that were destroyed by regenerating the parser source. This time the fixes have been put in the input file so regenerating the parser will not destroy them again.
* ENH: Remove Application category. See #8151.Clinton Stimpson2008-12-181-1/+1
|
* STYLE: Nightly Date StampBrad King2008-12-181-1/+1
|
* COMP: Fix unused yyunput warning in lexerBrad King2008-12-172-62/+23
| | | | | | This adds the "nounput" option to the flex input file so that yyunput is not generated. The function is static but not used so some compilers warn.
* ENH: Teach find_package about more install dirsBrad King2008-12-176-1/+50
| | | | | | | | | | | | We now search in <prefix>/<name>*/ <prefix>/<name>*/(cmake|CMake) when looking for package configuration files. This is useful on Windows since the Program Files folder is in CMAKE_SYSTEM_PREFIX_PATH. These paths are the Windows equivalent to the Apple convention application and framework paths we already search. See issue #8264.
* ENH: Use 32-bit and 64-bit Program Files foldersBrad King2008-12-171-8/+49
| | | | | | On 64-bit Windows there may be two Program Files folders, one for 32-bit binaries and one for 64-bit binaries. When we compute CMAKE_SYSTEM_PREFIX_PATH we should put both folders in the path.
* ENH: Allow most characters in ENV variable refsBrad King2008-12-177-584/+904
| | | | | | The $ENV{VAR} syntax permits access to environment variables. This teaches CMake to recognize most characters in the VAR name since some environments may have variables with non-C-identifier characters.
* STYLE: Nightly Date StampBrad King2008-12-171-1/+1
|
* ENH: Improve performance with file completion. Fix for #8292.Clinton Stimpson2008-12-161-6/+23
|
* ENH:Clinton Stimpson2008-12-1610-942/+1055
| | | | | | | For bug #7191. Improvements to the dialog that sets up the first configure. Fixing the large size of it by breaking it up into a wizard. Also incorporated suggestions from bug report.
* BUG: find_package must push/pop policiesBrad King2008-12-161-0/+2
| | | | | | | When the find_package command loads a <name>-version.cmake file to test the package version it must prevent the version file from affecting policy settings. Therefore the policy settings must be pushed and popped.
* BUG: Fix component-name test on installationBrad King2008-12-161-2/+2
| | | | | | | Generated cmake_install.cmake script code used MATCHES to compare component names. This does not support characters considered special by regular expression syntax in component names. This change uses STREQUAL instead. See issue #8256.
* ENH: Warn if build dir is too long for filesystemBrad King2008-12-162-2/+22
| | | | | | When an object file directory is too deep to place an object file without exceeding CMAKE_OBJECT_PATH_MAX, this issues a warning. Previously we silently ignored the problem. See issue #7860.
* ENH: Refactor passing of max length object dirBrad King2008-12-165-43/+44
| | | | | | When computing the maximum length full path to the build directory under which object files will be placed, pass the actual path instead of just its length. This will be useful for error message generation.
* ENH: Strengthen FindPackageTest version checkBrad King2008-12-165-3/+14
| | | | | | | | The previous change to test finding in lib/cmake/<name>* weakened the versioned find tests. Since the lib/cmake paths are searched before lib/<name>* paths the previous change skipped requiring the command to ignore zot-3.0 when finding zot-3.1. This change restores that and adds zot-4.0 to test the lib/cmake path.
* STYLE: Nightly Date StampBrad King2008-12-161-1/+1
|
* BUG: Fix for #8247.Clinton Stimpson2008-12-151-5/+17
| | | | | Add QT_TRANSLATIONS_DIR pointing to the Qt translation files, and docs for it. Also add docs for QT_BINARY_DIR.
* COMP:Fixed warnings.Francois Bertel2008-12-152-13/+15
|
* BUG: Fix <CONFIG>_POSTFIX property/variable docsBrad King2008-12-152-11/+25
| | | | | | | | The CMAKE_<CONFIG>_POSTFIX variable and <CONFIG>_POSTFIX property were not documented. This updates the CMAKE_DEBUG_POSTFIX and DEBUG_POSTFIX documentation to refer to the more general variable/property. It also clarifies that the variable is used as the property default only for non-executable targets. See issue #7868.
* STYLE: Nightly Date StampBrad King2008-12-141-1/+1
|
* STYLE: Nightly Date StampBrad King2008-12-121-1/+1
|
* ENH: Added FindCxxTest module to assist others in using the CxxTest unit ↵Philip Lowman2008-12-121-0/+90
| | | | testing framework within CTest
* BUG: One more conditional in the ExternalProject test to prevent build ↵David Cole2008-12-111-10/+32
| | | | errors of Tutorial Step5 on Win98 using Visual Studio 6 when the path length of its build tree exceeds 72 characters. Crazy, perhaps. But this fixes the last real dashboard failure of the ExternalProject test.
* ENH: remove some verbosity to reduce test timeBill Hoffman2008-12-111-3/+3
|
* STYLE: Nightly Date StampBrad King2008-12-111-1/+1
|
* BUG: Prevent KWStyle portion of ExternalProject test from configuring, ↵David Cole2008-12-101-20/+35
| | | | building, installing and testing on WATCOM dashboards. WATCOM STL support is still under development.
* STYLE: Fix line length style violations.David Cole2008-12-102-3/+6
|
* STYLE: Nightly Date StampBrad King2008-12-101-1/+1
|
* COMP: Fix the ExternalProject test for Visual Studio 6. Visual Studio 6 ↵David Cole2008-12-093-19/+52
| | | | *.dsp files cannot have hyphens in them. Add utility function GetVS6TargetName to replace hyphens with underscores when generating *.dsp file names. Use the function everywhere necessary in the VS6 generators. And, a workaround: VS6 uses ".\Debug" (for example) as an "$(IntDir)" value - strip any leading ".\" when processing a --config argument in the cmake --build handling code.
* ENH: Default to the same cmake used for configuring when building and ↵David Cole2008-12-091-2/+12
| | | | installing. If none specified default to the cmake used to configure the outer/aggregating project.
* ENH: Add useful search locations to find_packageBrad King2008-12-094-2/+17
| | | | | | | | | | This teaches find_package to search <prefix>/(share|lib)/cmake/<name>*/ for package configuration files. Packages that do not already have files in a <prefix>/lib/<name>* directory can use this location to avoid cluttering the lib directory.
* STYLE: Remove old TODO comment in find_packageBrad King2008-12-091-8/+0
| | | | | Versioning has been introduced to find_package, so the comment about it is out of date.
* COMP: Don't emit old style cast warning when configured as C++ but still ↵David Cole2008-12-091-2/+14
| | | | allow being configured as C. Thanks to Monsieur Francois Bertel for the patch.
* ENH: Preserve <pkg>_FIND_XXX vars in find_packageBrad King2008-12-092-12/+51
| | | | | | | | | When the find_package command loads a module it sets several <pkg>_FIND_XXX variables to communicate information about the command invocation to the module. This restores the original state of the variables when the command returns. This behavior is useful when a find-module recursively calls find_package with NO_MODULE so that the inner call does not change the values in the find-module.
* STYLE: Nightly Date StampBrad King2008-12-091-1/+1
|
* ENH: adding functionality for finding Squish, adding Squish tests from ↵Brad Davis2008-12-084-0/+202
| | | | CMake, and running Squish tests from ctest
* BUG: Make sure all directories used as working directories exist at CMake ↵David Cole2008-12-081-13/+81
| | | | configure time as well as having custom commands that create them. Necessary for the Borland Makefiles generator to generate short path names in the makefile build rules. Also, make sure all custom commands chain together properly through the use of the sentinel files.
* STYLE: Nightly Date StampBrad King2008-12-081-1/+1
|
* STYLE: fix link length issuesBill Hoffman2008-12-081-11/+31
|
* STYLE: Nightly Date StampBrad King2008-12-071-1/+1
|
* STYLE: Nightly Date StampBrad King2008-12-061-1/+1
|
* COMP: No-op. White space only change to trigger a re-run of the ↵David Cole2008-12-051-1/+0
| | | | ExternalProject test on the QNX continuous dashboard to pick up the latest KWStyle changes.
* COMP: No-op. White space only change to trigger a re-run of the ↵David Cole2008-12-051-0/+1
| | | | ExternalProject test on the QNX continuous dashboard to pick up the latest KWStyle changes.
* COMP: No-op. White space only change to trigger a re-run of the ↵David Cole2008-12-051-1/+0
| | | | ExternalProject test on the QNX continuous dashboard to pick up the latest KWStyle changes.
* COMP: No-op. White space only change to trigger a re-run of the ↵David Cole2008-12-051-0/+1
| | | | ExternalProject test on the QNX continuous dashboard to pick up the latest KWStyle changes.