- Mar 01, 2011
-
-
Brad King authored
Remove code left for supporting earlier CMake versions.
-
- Jan 10, 2011
-
-
David Cole authored
The previous commit did not compile with mingw gcc. Use the Windows type FARPROC instead of void* for the local variable.
-
- Jan 07, 2011
-
-
David Cole authored
CMake fails to find any registry paths on Windows 2000: according to regmon it fails with an access denied error. I double checked all the access rights and they are fine. After checking the access modes on MSDN I found that it says KEY_WOW64_32KEY / KEY_WOW64_64KEY are not supported on Windows 2000. CMake does not check if the current system supports Wow64 before applying these flags. This commit adds a check for IsWow64Process in kernel32.dll before adding these flags. Author: Axel Gembe <ago@bastart.eu.org> Signed-off-by:
Axel Gembe <ago@bastart.eu.org>
-
- Jan 05, 2011
-
-
David Cole authored
Author: Rolf Eike Beer <eike@sf-mail.de> 2010-10-18 12:03:39
-
David Cole authored
To get from Hz to MHz the factor is 10^6, not 2^20. Author: Rolf Eike Beer <eike@sf-mail.de> 2010-10-24 06:31:11
-
- Jan 03, 2011
-
-
Brad King authored
The header was included only under "#ifdef __linux", but not all Linux distributions provide the header. SystemInformation uses no symbols from this header, so do not include it.
-
- Dec 28, 2010
-
-
Brad King authored
Pass the lpClass argument of RegCreateKeyEx as a real char[] instead of a string literal. At least one platform declares the argument as char* instead of "const char*".
-
- Dec 21, 2010
-
-
Brad King authored
Use std::string instead of fixed-size char arrays. Author: Ben Boeckel <ben.boeckel@kitware.com>
-
- Dec 14, 2010
-
-
Brad King authored
This method replaces '//' with '/' to make the paths look nicer. Originally it correctly skipped a leading '//' in a UNC path as the comment says. However, commit "Removed extra variable initializations" (2005-04-15) accidentally removed the "pos=1" initializer. It was then incorrectly restored by commit "Added missing variable initialization" (2005-04-15) as just "pos=0". Restore the proper initializer. The test for this added by commit "better coverage" (2006-07-31) included incorrect output for a sample UNC-like path. Fix it.
-
Brad King authored
Do not set KWSYS_INSTALL_LIBRARY_RULE just because the parent project set KWSYS_INSTALL_EXPORT_NAME. Require KWSYS_INSTALL_LIB_DIR to be set too.
-
- Dec 08, 2010
-
-
Brad King authored
Commit "merge in changes for beos support" (2006-12-04) added a realpath call for every directory parsed out of a PATH-style environment variable. No reason was given in the commit message or comments. The call incorrectly resolves symlinks in referenced paths. Remove it. If BeOS support really needs it then it can be restored for that platform with a full explanation.
-
- Dec 01, 2010
-
-
Brad King authored
A parent project may now set KWSYS_INSTALL_EXPORT_NAME to specify the EXPORT name for install(TARGETS) commands.
-
- Nov 09, 2010
-
-
Brad King authored
Modify a few lines in the function QueryOSInformation. Change-Id: Ief8327144fdf5588354d4ce8240eb0206722e77e Author: Marius Staring <m.staring@lumc.nl>
-
- Sep 10, 2010
-
-
Brad King authored
The code does contain a cast that increases alignment but only in a conditional that verifies the input is sufficiently aligned.
-
- Sep 09, 2010
-
-
David Cole authored
Revert commit: CMake: quote ':' in Windows NMake Makefiles (#9963) -- it was not the right fix and caused mucho other problemo
-
- Sep 08, 2010
-
-
David Cole authored
-
- Aug 27, 2010
-
-
Brad King authored
Avoid using the old SplitString method in favor of the more robust SplitPath method.
-
Brad King authored
Document explicitly that the first component always exists. Fix the documentation of SplitPathRootComponent to note that home directory roots (~/ and ~u/) always have a trailing slash.
-
Brad King authored
-
- Aug 16, 2010
- Jul 09, 2010
-
-
Brad King authored
Clang is smart enough to recognize that "*(int*)0=0" invokes undefined behavior, warns, and produces an "undefined instruction". The message in commit "Avoid Clang optimizer bug in testProcess-[45]" (2010-07-02) is incorrect; this is not a Clang bug. It really is undefined behavior. Use "*(int*)1=0" to produce a crash instead.
-
- Jul 02, 2010
-
-
Brad King authored
Clang's optimizer, as of clang version 2.8 (trunk 107463), produces the undefined instruction 'ud2' for the code "*(int*)0=0" on OS X x86_64. It causes our crash tests to fail because the child process exits with an invalid instruction instead of a segmentation fault. Work around the bug by using "*(int*)1=0" in this case.
-
- Jun 30, 2010
-
-
Brad King authored
Add option KWSYS_TEST_BOGUS_FAILURES that can be set by a containing project or in the CMake cache to list tests known to fail consistently on a buggy system.
-
Brad King authored
If any of the KWSys Process tests take more than a minute or two then something is wrong. There is no need to wait for a long default timeout.
-
- Jun 29, 2010
-
-
Brad King authored
Since commit "Provide unix-sytle command line parsing" (2009-07-13) the reference to KWSYS_C_HAS_PTRDIFF_T in System.c has been meaningless because the macro was never passed to the compiler!
-
Brad King authored
Define KWSYS_DO_NOT_CLEAN_PUTENV only for the implementation. It does not need to be configured in the interface of "Configure.hxx".
-
- Jun 11, 2010
- Jun 10, 2010
-
-
Brad King authored
The DynamicLoader::LibPrefix and DynamicLoader::LibExtension methods previously hard-coded the module name components for each platform. Set them from the CMAKE_SHARED_MODULE_PREFIX and CMAKE_SHARED_MODULE_SUFFIX CMake variables instead. This ensures consistency in a program that uses these methods to construct the file names for its own modules.
-
- Jun 04, 2010
-
-
Brad King authored
The CopyFileIfDifferent, CopyFileAlways, CopyAFile and CopyADirectory methods should always copy permissions. The special cases in which a caller would pass copyPermissions=false should be handled at the call site. The parameter needlessly complicates the interface and semantics of these methods.
-
- Jun 03, 2010
-
-
Brad King authored
On Windows 7 the file size reported by 'stat' on a new file sometimes reports zero even though the real size is correct. This causes our CopyFileAlways method to falsely detect copy failure. Work around the problem by trusting the state of ofstream after writing the file.
-
- May 12, 2010
-
-
Bill Hoffman authored
-
- May 11, 2010
-
-
Brad King authored
kFreeBSD and Hurd have the same userland as Linux. This change is necessary to enable kwsysProcessKill() to kill child processes on kFreeBSD. The bug was detected by CTestTestTimeout test. Patch from "Modestas Vainius <modestas@vainius.eu>". See issue #10432.
-
- May 04, 2010
-
-
Bill Hoffman authored
-
- Apr 29, 2010
-
-
Bill Hoffman authored
-
- Apr 28, 2010
-
-
Bill Hoffman authored
-
- Apr 19, 2010
- Apr 09, 2010
-
-
David Cole authored
Patch to avoid short name usage where possible. Get the actual case spelling of a file name on 'Windows' without converting to short name and back again. Avoids bad behavior reported in http://bugs.winehq.org/show_bug.cgi?id=22286 when using cmake under a wine/msys/mingw installation on a Linux box. Thanks to Clinton Stimpson for preparing the patch.
-