summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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.
* BUG: Fix bootstrap for Debian Almquist ShellBrad King2009-06-101-2/+2
| | | | | | | The Debian Almquist Shell (dash) provides minimal POSIX compliance instead of the power of bash. It converts literal '\n' to a real newline even in a single-quoted string. This works around the problem by avoiding the literal. We can no longer use HEREDOC.
* ENH: Remove VMSbuild directoryBrad King2009-06-1026-3696/+0
| | | | | This directory was a temporary solution for bootstrapping CMake on OpenVMS. It is not necessary now that the bootstrap script works.
* ENH: Make bootstrap script work on VMS bashBrad King2009-06-101-83/+103
| | | | | | | | A few sweeping changes were needed: - Avoid use of HEREDOC, which does not seem to work. - Avoid extra '.' in paths by using '_cmk' and '_tmp' instead of '.cmk' and '.tmp'.
* ENH: Enable basic OpenVMS platform supportBrad King2009-06-102-1/+8
| | | | | | | | 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.
* COMP: Fix cmtar build on VMSBrad King2009-06-101-3/+3
| | | | The mknod and mkfifo functions are not available on VMS.
* COMP: Fix cmcurl build on VMSBrad King2009-06-101-0/+4
| | | | | This defines IOCTL_3_ARGS in 'cmcurl/setup.h' to teach curl sources about the three-argument ioctl() on VMS.
* COMP: Use HAVE_SYS_PARAM_H properly in libtarBrad King2009-06-106-6/+16
| | | | | The value is computed by a try-compile for libtar. This teaches the sources to actually use the result.
* 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-104-4/+20
| | | | | | | | 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
|