summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* COMP: fix line lengthKen Martin2009-06-151-5/+6
|
* BUG: Create an exe's implib output dir for VSBrad King2009-06-152-0/+30
| | | | | | | | 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-111-1/+1
|
* 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: Disable the xmlrpc drop method by defaultBrad King2009-06-111-0/+17
| | | | | | | 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.
* 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.
* STYLE: Nightly Date StampBrad King2009-06-111-1/+1
|
* BUG: Do not mangle symbols when editing RPATHsBrad King2009-06-101-2/+7
| | | | | | | | | | | | | In ELF binaries the .dynstr string table is used both for the RPATH string and for program symbols. If a symbol name happens to match the end of the build-tree RPATH string the linker is allowed to merge the symbols. We must not allow this when the RPATH string will be replaced during installation because it will mangle the symbol. Therefore we always pad the end of the build-tree RPATH with ':' if it will be replaced. Tools tend not to use ':' at the end of symbol names, so it is unlikely to conflict. See issue #9130.
* ENH: Document variable CMAKE_NO_BUILTIN_CHRPATHBrad King2009-06-101-0/+10
| | | | | This adds documentation for the variable which was previously missing. See issue #9130.
* ENH: Enable basic OpenVMS platform supportBrad King2009-06-101-1/+1
| | | | | | | | This adds the Modules/Platform/OpenVMS.cmake platform file for OpenVMS. We just use Unix-like rules to work with the GNV compiler front-end. A problem with process execution currently prevents CMake link scripts from working, so we avoid using them.
* ENH: Skip 'SHELL = /bin/sh' in Makefiles on VMSBrad King2009-06-101-0/+2
| | | | This shell does not exist on VMS, so we leave it out.
* ENH: On VMS use _dir and _tmp, not .dir and .tmpBrad King2009-06-103-0/+12
| | | | | | The VMS posix path emulation does not handle multiple '.' characters in file names in all cases. This avoids adding extra '.'s to file and directory names for target directories and generated files.
* ENH: Teach KWSys SystemTools about VMS pathsBrad King2009-06-101-2/+45
| | | | | | This teaches ConvertToUnixSlashes to convert VMS paths into posix-style paths. We also set the DECC$FILENAME_UNIX_ONLY feature so the process always sees posix-style paths on disk.
* BUG: Avoid std::unique algorithm on VMSBrad King2009-06-101-0/+2
| | | | | | The Compaq compiler's std::unique algorithm followed by deletion of the extra elements seems to crash. For now we'll accept the duplicate dependencies on this platform.
* ENH: Teach KWSys Process basic VMS supportBrad King2009-06-101-9/+76
| | | | | | | | | | | | | | This achieves basic process execution on OpenVMS. We use work-arounds for different fork()/exec() behavior and a lack of select(). VMS emulates fork/exec using setjmp/longjmp to evaluate the child and parent return cases from fork. Therefore both must be invoked from the same function. Since select() works only for sockets we use the BeOS-style polling implementation. However, non-blocking reads on empty pipes cannot be distinguished easily from the last read on a closed pipe. Therefore we identify end of data by an empty read after the child terminates.
* BUG: Fix non-select process impl without timeoutBrad King2009-06-101-12/+8
| | | | | This avoids use of an uninitialized value in the KWSys ProcessUNIX polling implementation when no timeout is given.
* COMP: Avoid String.c inclusion by Compaq templatesBrad King2009-06-103-3/+17
| | | | | | | | The Compaq compiler (on VMS) includes 'String.c' in source files that use the stl string while looking for template definitions. This was the true cause of double-inclusion of the 'kwsysPrivate.h' header. We work around the problem by conditionally compiling the entire source file on a condition only true when really building the source.
* STYLE: Nightly Date StampBrad King2009-06-101-1/+1
|
* STYLE: suppress warnings for borlandBill Hoffman2009-06-091-0/+1
|
* STYLE: suppress warnings for borlandBill Hoffman2009-06-091-2/+2
|
* STYLE: suppress warnings for borlandBill Hoffman2009-06-093-2/+11
|
* STYLE: Nightly Date StampBrad King2009-06-091-1/+1
|
* STYLE: Nightly Date StampBrad King2009-06-081-1/+1
|
* STYLE: Nightly Date StampBrad King2009-06-071-1/+1
|
* STYLE: Nightly Date StampBrad King2009-06-061-1/+1
|
* COMP: Hopefully fix hashmap on VS6, Thanks Brad K!Dave Partyka2009-06-051-2/+2
|
* ENH: fix warning on borlandBill Hoffman2009-06-051-9/+9
|
* ENH: move PutEnv to SystemToolsBill Hoffman2009-06-054-30/+31
|
* STYLE: Nightly Date StampBrad King2009-06-051-1/+1
|