Zach Mullen
557a42a9dd
Fix libarchive linker errors on SunOS for mkdev/major/minor
2009-11-05 14:06:45 -05:00
Zach Mullen
5a6cb44e96
Fixed a few of the SunOS build errors in libarchive.
2009-11-05 13:40:06 -05:00
Brad King
dc577fb8b1
Check Mac linker lines in ImplicitLinkInfo test
...
We add sample linker invocation lines for the GNU compiler on Mac.
2009-11-05 12:17:21 -05:00
Brad King
56d4619984
Remove non-language implicit link dependencies
...
Some compilers use implicit link options of the form
-lcrt*.o
-lgcc*
-lSystem (on Mac)
-lSystemStubs (on Mac)
that provide system-wide symbols not specific to any language.
These need not be listed explicitly for mixed-language linking.
We teach CMake to remove the above items from the implicit library list
of each language. This change makes it possible to mix GNU compiler
versions in some cases.
2009-11-05 12:17:08 -05:00
Zach Mullen
9f105a3f6d
Fix style warning in cmsystemtools, cosmetic change to ctest code
2009-11-05 11:37:47 -05:00
Zach Mullen
9aa4e134b5
Fixed infinite loop condition when a test's dependent test executable could not be found.
2009-11-05 11:03:07 -05:00
KWSys Robot
0cdc1e979e
KWSys Nightly Date Stamp
2009-11-04 23:58:17 -05:00
Brad King
593bb64d16
libarchive: Use consistent function storage class
...
Functions declared 'static' should be defined 'static' too.
2009-11-04 17:25:35 -05:00
Brad King
4c6f63a409
libarchive: Fix integer type defaults for Windows
...
Most of the integer type defaults needed for MSVC and Borland actually
work with all Windows compilers. This commit generalizes the defaults
to avoid compiler-specific tests.
2009-11-04 17:17:57 -05:00
Brad King
f4b70b6323
libarchive: Provide SetFilePointerEx for VS 6
2009-11-04 16:31:40 -05:00
Brad King
e5075bb8e8
libarchive: Fix unconfigured header logic
...
The commit "libarchive: Fix Borland integer constants" introduced use of
HAVE_* configured macros into archive.h and archive_entry.h where they
are not allowed. This commit replaces the logic with something that
does not depend on the configured macros.
2009-11-04 16:06:44 -05:00
Brad King
7f5361f040
libarchive: Fix dev_t configuration
2009-11-04 16:06:34 -05:00
Brad King
9bc63eb30f
libarchive: Fix intptr_t and uintptr_t configuration
2009-11-04 16:06:26 -05:00
Brad King
d785cb0021
libarchive: Fix wincrypt.h inclusion on VS 6
...
The VS 6 version of wincrypt.h only works if _WIN32_WINNT >= 0x0400.
We block its inclusion through windows.h by defining NOCRYPT, and then
define _WIN32_WINNT and include it only when necessary.
2009-11-04 16:06:17 -05:00
Brad King
08dc3d5170
bzip2: Restore fix for unused variables
...
The commit "bzip2: Disable Borland warnings" accidentally reverted
changes from commit "Fix warnings for unused variables". This restores
them.
2009-11-04 14:43:51 -05:00
Brad King
3a790251f4
Document and test find_package <pkg>_DIR env var
...
The find_package(<pkg>) command checks the <pkg>_DIR environment
variable. This commit documents and tests the feature.
2009-11-04 13:14:57 -05:00
Brad King
c9a9c88634
libarchive: Fix Borland integer constants
...
Some versions of Borland provide <stdint.h>, so we use it when possible.
However, the 64-bit signed and unsigned integer min/max constants cause
overflow warnings from Borland itself! For these constants we fall back
on our default definitions.
2009-11-04 13:10:11 -05:00
Brad King
12baf7b7f1
libarchive: Disable Borland warnings
...
We disable warnings to silence them while making minimal changes to
third-party code.
2009-11-04 13:09:59 -05:00
Brad King
60855f620b
bzip2: Disable Borland warnings
...
We disable warnings to silence them while making minimal changes to
third-party code.
2009-11-04 13:09:50 -05:00
Brad King
ccd831c559
libarchive: Disable MSVC warnings
...
We disable warnings to silence them while making minimal changes to
third-party code.
2009-11-04 13:09:41 -05:00
Zach Mullen
cdbbe00a8b
Fix unused param warning resulting from libarchive API change.
2009-11-04 11:36:23 -05:00
Bill Hoffman
7fba9849f9
Fix for warning on dash8 that caused a build failure because of -WError
2009-11-04 10:45:52 -05:00
Zach Mullen
d6630330d6
Fixed ctest doc typos. (bug 9836)
2009-11-04 10:24:30 -05:00
Mathieu Malaterre
fdc6638b1c
Add more documentation to module
2009-11-04 09:49:58 -05:00
Mathieu Malaterre
b0960683b2
Adding support for java 1.6.0-oem. Make sure to report failure when user ask for version but regex failed to parse version number
2009-11-04 05:17:46 -05:00
James Bigler
b1817590c1
Fix -fPIC from being used on executable object files.
...
BUILD_SHARED_LIBS is now only recognized when calling CUDA_ADD_LIBRARY. If you want the CMAKE_SHARED_LIBRARY_C/CXX_FLAGS to be used, pass SHARED as an argument. This prevents -fPIC from being used on objects destined for executables by default.
2009-11-04 01:15:31 -05:00
KWSys Robot
f87bdbf328
KWSys Nightly Date Stamp
2009-11-03 23:58:33 -05:00
Bill Hoffman
9c12894636
Add missing depend because of registry write with complex name, they can not be done in parallel.
2009-11-03 19:13:40 -05:00
Bill Hoffman
2733f4f8e7
Fix for dash17 ACL requires linking to a library acl that we don't want to depend on.
2009-11-03 17:40:44 -05:00
Mathieu Malaterre
b93b6dc677
Replace FATAL_ERROR with status. Remove output when QUIET is ON
2009-11-03 17:22:57 -05:00
Bill Hoffman
b0d43475c6
Fix warning
2009-11-03 17:21:25 -05:00
Bill Hoffman
5f41fe03ca
Fix warnings for unused variables
2009-11-03 16:50:49 -05:00
Zach Mullen
85912a3777
Added TARGET, CONFIGURATION, PROJECT_NAME, and FLAGS arguments to ctest_build command
2009-11-03 16:46:30 -05:00
Bill Hoffman
b9e88cd4c8
remove makefiles as they cause the in source build test of cmake to fail
2009-11-03 10:21:50 -05:00
Bill Hoffman
78b2d5097c
Fix cygwin package stuff to work with libarchive
2009-11-03 09:40:57 -05:00
KWSys Robot
1b1d954f7e
KWSys Nightly Date Stamp
2009-11-02 23:58:29 -05:00
Zach Mullen
d47ada823a
Added logic to check for cycles in the test dependency graph before any tests are run. Previously a cycle resulted in a segfault from stack overflow.
2009-11-02 12:52:50 -05:00
Brad King
59f6f383e9
Warn on set(PARENT_SCOPE) at top scope
...
Previously we silently ignored such calls and set nothing. The commit
"Initialize directory scope with closure of parent" inroduced a bad test
for the top scope. This commit fixes the test to avoid dereferencing a
null pointer, and adds a warning when the case is encountered.
2009-11-02 11:56:17 -05:00
Mathieu Malaterre
59ce04d4f8
STYLE: minor documentation + typo
2009-11-02 11:50:33 -05:00
Mathieu Malaterre
ccb8accc1b
BUG: hardcoded path, are not hints. Split the two lists. Thanks Brad
2009-11-02 11:37:16 -05:00
Bill Hoffman
ca73562e54
borland builds, but still has some link errors
2009-11-02 10:51:29 -05:00
Mathieu Malaterre
ff0ff68967
BUG: To be able to use ENV and at the same time allow /usr/loca/bin to override /usr/bin, apply patch suggested by Hendrik Sattler (thanks)
2009-11-02 09:23:11 -05:00
Bill Hoffman
d4b8945301
Fix for hpux...
2009-11-02 09:20:53 -05:00
Mathieu Malaterre
2b071aeb07
ENH: Make those variables advanced.
2009-11-02 09:15:04 -05:00
Mathieu Malaterre
865e0a11b4
BUG: 0009817 cmake does not search in solaris subdirectory for JAVA_INCLUDE_PATH2. Thanks to Gaetan Lehmann for patch
2009-11-02 04:03:06 -05:00
KWSys Robot
66fdf2038c
KWSys Nightly Date Stamp
2009-11-01 23:58:34 -05:00
Bill Hoffman
8ba2a40404
Fixes for borland, compiles with lots of warnings, but compiles, might fix vs70 again too.
2009-11-01 12:41:17 -05:00
KWSys Robot
e2d9595ae9
KWSys Nightly Date Stamp
2009-10-31 23:58:41 -04:00
Bill Hoffman
1db02b4d4e
Fix for haiku
2009-10-31 09:39:58 -04:00
KWSys Robot
b7e25ab3e0
KWSys Nightly Date Stamp
2009-10-30 23:58:46 -04:00