summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Auto-enable CTest.UpdateCVS test on WindowsBrad King2009-06-222-20/+28
| | | | | | | | | | | The test needs to create a cvs repository with 'cvs init', but the CVSNT client on Windows needs 'cvs init -n' to avoid administrator access. Previously we required users to explicitly enable CTEST_TEST_UPDATE_CVS to activate the test on Windows. This teaches the test to use the '-n' option when necessary. Now we can enable the test in all cases except when trying to use a cygwin cvs.exe without cygwin paths.
* COMP: Quiet aggressive Borland warnings in KWSysBrad King2009-06-221-0/+7
| | | | | This disables Borland warning 8027 while compiling KWSys source files. It provides no useful information.
* COMP: Remove useless variable assignmentBrad King2009-06-221-1/+0
| | | | | This removes an assignment whose result is never used, thus quieting a warning from Borland.
* BUG: remove warning in test of compiler so -Werror does not failBill Hoffman2009-06-221-1/+1
|
* STYLE: Nightly Date StampBrad King2009-06-221-1/+1
|
* STYLE: Nightly Date StampBrad King2009-06-211-1/+1
|
* STYLE: Nightly Date StampBrad King2009-06-201-1/+1
|
* BUG: Look in arch-specific HPUX implicit link dirsBrad King2009-06-191-5/+11
| | | | | | | | | | | | | | | On HP-UX machines some system libraries appear in architecture-specific implicit linker search paths. We need to add these paths to our system library search path. However, at the time we construct the search path we do not know the target architecture. A full solution requires re-organizing platform configuration files so that the target architecture can be known when needed. Until that happens we can avoid the problem by searching in both 32-bit and 64-bit implicit link directories. By telling CMake that they are implicit directories the generated link lines will never pass the paths, leaving the linker free to find the library of the proper architecture even if the find_library call finds the wrong one.
* STYLE: Nightly Date StampBrad King2009-06-191-1/+1
|
* STYLE: Nightly Date StampBrad King2009-06-181-1/+1
|
* ENH: Improve CMP0012 doc and message formattingBrad King2009-06-171-1/+2
| | | | | | | | This fixes the CMP0012 description to have a one-line summary in the 'brief' section and the rest of the explanation in the 'full' section. It makes the warning message shorter and improves formatting of the policy documentation, especially in the HTML pages. The convention is already used by all other policies.
* ENH: Improve format of if() command messagesBrad King2009-06-171-6/+4
| | | | | | | Errors and warnings from the if() command always display the argument list given to the command followed by an explanation of the problem. This moves the argument list into a pre-formatted block and follows it with a paragraph-form explanation. The result looks cleaner.
* ENH: Create CMP0013 to disallow duplicate dirsBrad King2009-06-174-10/+69
| | | | | | | | | | | | In CMake 2.6.3 and below we silently accepted duplicate build directories whose build files would then conflict. At first this was considured purely a bug that confused beginners but would not be used in a real project. In CMake 2.6.4 we explicitly made it an error. However, some real projects took advantage of this as a "feature" and got lucky that the subtle build errors it can cause did not occur. Therefore we need a policy to deal with the case more gracefully. See issue #9173.
* STYLE: Nightly Date StampBrad King2009-06-171-1/+1
|
* BUG: Create an exe's implib output dir for VS 6Brad King2009-06-161-0/+6
| | | | | | | VS 6 forgets to create the output directory for an executable's import library in case the exe dllexport-s symbols. We work around this VS bug by creating a pre-link event on the executable target to make the directory.
* ENH: Refactor VS 6 build event generationBrad King2009-06-162-86/+67
| | | | | | | In cmLocalVisualStudio6Generator we generate pre-build, pre-link, and post-build events into project files. This refactors the generation code for the three event types into a private EventWriter class to avoid duplicate code.
* ENH: Create exe implib dir in VS pre-link ruleBrad King2009-06-161-6/+6
| | | | | | This moves creation of an executable's import library directory in VS projects from the pre-build step to the pre-link step. It makes sense to create the directory at the last moment.
* ENH: Generalize exe implib dir creation for VSBrad King2009-06-164-30/+42
| | | | | | | | In VS 7,8,9 executable targets we generate a build event to create the output directory for the import library in case the executable marks symbols with dllexport (VS forgets to create this directory). This generalizes computation of the custom command line to support future use with other VS versions.
* STYLE: Nightly Date StampBrad King2009-06-161-1/+1
|
* ENH: Simplify docs args for define_propertyBrad King2009-06-152-6/+4
| | | | | | This teaches the define_property command signature to accept multiple arguments after the BRIEF_DOCS and FULL_DOCS keywords. We append the arguments together, making specification of long documentation easier.
* STYLE: fix warningBill Hoffman2009-06-151-0/+1
|
* BUG: fix crash when running ctest coverage for VTKBill Hoffman2009-06-151-0/+12
|
* ENH: add path for 64 bit on old hpBill Hoffman2009-06-151-1/+3
|
* ENH: put the 64 bit paths firstBill Hoffman2009-06-151-1/+2
|
* ENH: add more search paths on HPUXBill Hoffman2009-06-152-0/+13
|
* COMP: fix line lengthKen Martin2009-06-151-5/+6
|
* BUG: Create an exe's implib output dir for VSBrad King2009-06-153-0/+32
| | | | | | | | If an executable marks symbols with __declspec(dllexport) then VS creates an import library for it. However, it forgets to create the directory that will contain the import library if it is different from the location of the executable. We work around this VS bug by creating a pre-build event on the executable target to make the directory.
* STYLE: Nightly Date StampBrad King2009-06-151-1/+1
|
* STYLE: Nightly Date StampBrad King2009-06-141-1/+1
|
* STYLE: Nightly Date StampBrad King2009-06-131-1/+1
|
* COMP: Do not compile VMS-specific code on non-VMSBrad King2009-06-121-8/+7
| | | | | This helps avoid fixing VMS-specific code for non-VMS compilers where it isn't needed anyway.
* ENH: Refactor VS 7,8,9 build event generationBrad King2009-06-122-122/+81
| | | | | | | In cmLocalVisualStudio7Generator we generate pre-build, pre-link, and post-build events into project files. This refactors the generation code for the three event types into a private EventWriter class to avoid duplicate code.
* COMP:Fixed warning with gcc 4.3.3: passing argument 1 of ↵Francois Bertel2009-06-121-3/+3
| | | | kwsysProcessSetVMSFeature discards qualifiers from pointer target type.
* ENH: clean up some help textKen Martin2009-06-122-8/+8
|
* ENH: warning fixKen Martin2009-06-121-4/+4
|
* COMP: Block warnings in Borland system headersBrad King2009-06-121-0/+8
| | | | | | In Release builds the Borland compiler warns about code in its own system headers. This blocks the warnings by disabling them where the headers are included.
* ENH: Use KWSys String strcasecmp to parse FortranBrad King2009-06-123-323/+274
| | | | | | This replaces the Fortran dependency parser source's custom strcasecmp implementation with one from KWSys String. It removes duplicate code and avoids a Borland warning about inlining functions with 'while'.
* COMP: Avoid double-initialization in KWSys StringBrad King2009-06-121-1/+1
| | | | | | The KWSys String implementation of strcasecmp initialized 'result' immediately before assigning to it. Borland produces a warning in this case, so this commit removes the extra initialization.
* COMP: Remove useless assignment in Fortran lexerBrad King2009-06-122-1/+2
| | | | | | The generated Fortran dependency scanning lexer includes an assignment to a local variable that is unused. Borland warns, so we remove the assignment.
* ENH: modified the if command to address bug 9123 someKen Martin2009-06-125-117/+341
|
* STYLE: Nightly Date StampBrad King2009-06-121-1/+1
|
* ENH: use .exe on vmsBill Hoffman2009-06-112-1/+2
|
* COMP: We now require CMake 2.4.5 or higher to buildBrad King2009-06-111-1/+1
| | | | | We use the CMakeDependentOption module unconditionally, so we must require a version of CMake new enough to provide it.
* BUG: Do not create empty build-tree RPATHBrad King2009-06-111-4/+7
| | | | | | | | The fix for issue #9130 appends ':' to the end of the build-tree RPATH unconditionally. This changes the fix to add ':' only when the RPATH is not empty so that we do not create a build-tree RPATH with just ':'. An empty RPATH produces no string at all, so there is no chance of merging with a symbol name anyway.
* ENH: Remove Utilities/cmxmlrpc source treeBrad King2009-06-1145-13006/+0
| | | | We never build this source tree anymore, so remove it.
* ENH: Disable the xmlrpc drop method by defaultBrad King2009-06-115-24/+32
| | | | | | | We've chosen to drop our default dependence on xmlrpc. Thus we disable the corresponding CTest submission method and remove the sources for building xmlrpc locally. Users can re-enable the method by setting the CTEST_USE_XMLRPC option to use a system-installed xmlrpc library.
* ENH: Remove Utilities/cmcurl-7.19.0 source treeBrad King2009-06-111176-320955/+0
| | | | We never build this source tree anymore, so remove it.
* ENH: Remove option to build cmcurl-7.19.0Brad King2009-06-113-13/+2
| | | | | | This version of curl was added experimentally but does not address the problem we were hoping it fixed (an occasional upload hang). Importing a new curl can wait until the problem is fully diagnosed and addressed.
* ENH: Simplify decision to use system librariesBrad King2009-06-111-53/+38
| | | | | | Previously we disallowed use of system libraries if FindXMLRPC.cmake was not available. Now that CMake 2.4 is required to build, the module is always available. This change simplifies the logic accordingly.
* COMP: Fix build with system-installed expat 2.0.1Brad King2009-06-111-1/+1
| | | | | | | | In cmXMLParser::ReportXmlParseError we were accidentally passing a value of type 'XML_Parser*' to expat methods instead of 'XML_Parser'. It was not caught because XML_Parser was just 'void*' in the cmexpat version. Newer system-installed expat versions catch the error because XML_Parser is now a pointer to a real type. This correct the type.