Brad King
2a789187fc
Enable loose loop constructs in KWSys
...
We set CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS in KWSys's CMakeLists.txt file
to enable simpler endif() syntax for CMake 2.4.
2009-11-20 08:37:10 -05:00
KWSys Robot
c6f13b97ea
KWSys Nightly Date Stamp
2009-11-19 23:56:47 -05:00
Bill Hoffman
4430bccc70
Change the way 32/64 bit compiles are detected with MSVC and intel makefile builds. Use the platform ID preprocessor approach.
2009-11-19 21:58:42 -05:00
Brad King
1699836b06
FortranCInterface: Honor language flags in checks
...
We pass CMAKE_C_FLAGS, CMAKE_CXX_FLAGS, and CMAKE_Fortran_FLAGS through
try_compile() for the FortranCInterface Detect and Verify projects.
This honors user-specified compiler flags for each language, thus
supporting flags that affect the Fortran mangling.
2009-11-19 17:42:48 -05:00
Mathieu Malaterre
7c9e5ba37f
Fix FindOpenSSL on mingw. This has been reported to be working by ctrlaltca libero.it on cmake mailing list.
2009-11-19 04:02:36 -05:00
KWSys Robot
59334dc8a4
KWSys Nightly Date Stamp
2009-11-18 23:56:53 -05:00
Clinton Stimpson
5fab48aa1c
Fix bug #9918 , spaces included in QT_LIBRARIES when using QtOpenGL.
2009-11-18 17:35:20 -05:00
David Cole
cf133ff6b3
Fix uninitialized variable access in zlib reported by valgrind. Their web site claims it does no harm ( http://www.zlib.net/zlib_faq.html#faq36 ), but fixing it this way eliminates the problem.
2009-11-18 16:47:00 -05:00
Brad King
5ca6f158d4
Use backslashes in VS 10 library dependencies
...
The list of libraries to be linked into the current target must be
specified using windows slashes to that UNC paths such as
\\server\share\somelibrary.lib
work correctly. See issue #9917 .
2009-11-18 16:14:36 -05:00
Brad King
c7b0dbb3fc
Fix VS 10 value of CMAKE_CFG_INTDIR
...
VS 10 provides $(Configuration) and $(ConfigurationName) but only the
former is documented so we prefer it. This also makes CMAKE_CFG_INTDIR
consistent with its documentation. See issue #9916 .
2009-11-18 15:50:29 -05:00
Brad King
8cb1f4b0a4
libarchive: Include integer types very early
...
In libarchive/archive_platform.h we should include <stdint.h> or
<inttypes.h> immediately after "config.h" to define integer types
referenced by configuration results. For example, on a non-conformant
platform ssize_t might default to int64_t, so int64_t must be defined
before ssize_t is used (and ssize_t is used in archive_windows.h).
2009-11-18 15:50:24 -05:00
David Cole
ba21622048
Fix bogus calls to GetMemoryStatus and GetMemoryStatusEx: need to set the dwLength member of the struct prior to calling. Otherwise it's just a garbage value from the stack. Also, pay attention to return value of GetMemoryStatusEx: if it indicates failure then just return 0 without using any of the other data the call returns.
2009-11-18 11:22:38 -05:00
Brad King
5fbefd66dc
Fix get_filename_component(... REALPATH) work dir
...
The commit "Fix get_filename_component ABSOLUTE mode" broke REALPATH
treatment of relative paths because it stopped storing the absolute path
in local variable 'filename'. This commit fixes the call to GetRealPath
to use the proper local variable and adds a test.
2009-11-18 10:56:40 -05:00
KWSys Robot
77fddc1f65
KWSys Nightly Date Stamp
2009-11-17 23:57:01 -05:00
Alexander Neundorf
12daac5714
only add -DQT_DLL on Windows, ok by Clinton
...
Alex
2009-11-17 15:20:58 -05:00
Clinton Stimpson
f756b73ac5
Don't search for QtMotif on all platforms - only on X11.
2009-11-17 14:44:33 -05:00
Brad King
184a3418e6
FortranCInterface: Use CMake 2.8.0 behavior
...
The FortranCInterface module should execute with CMake 2.8.0 behavior
even if policies are set differently by the including project. In
particular, it makes use of empty list elements and therefore expects
NEW behavior of CMP0007.
2009-11-17 14:33:28 -05:00
KWSys Robot
a52ebca54c
KWSys Nightly Date Stamp
2009-11-16 23:57:05 -05:00
Bill Hoffman
b1fe517688
Try to fix missing size_t on qnx
2009-11-16 17:03:59 -05:00
David Cole
1412cc442e
SimpleInstall test now builds an installer package if CTEST_TEST_CPACK is ON at the Tests/CMakeLists.txt level.
2009-11-16 15:35:04 -05:00
Luis Ibanez
69fdf711fe
COMP: Fixing return type of the Get methods associated with variables that
...
were changed from "unsigned long" to "size_t" to solve warnings about
64 bits to 32 bits truncations.
2009-11-16 12:43:44 -05:00
Zach Mullen
2921fa96ed
Handle multiple carriage return issue on windows VS9. Also make sure that running ctest in showonly mode does not kill our cost store, since many ctest tests do this and corrupt our cost data.
2009-11-16 10:58:43 -05:00
KWSys Robot
8ec9935099
KWSys Nightly Date Stamp
2009-11-15 23:57:13 -05:00
Luis Ibanez
7f601830a2
COMP: Fixing type declarations and type conversions that could potentially
...
truncate 64 bits types into 32 bits types.
2009-11-15 15:57:06 -05:00
Eric Noulard
147aa6bf80
CPackRPM: tolerate redhat specific clean BUILD ROOT pre-build macro (bug 9872)
...
Eric
2009-11-15 13:55:42 -05:00
Alexander Neundorf
04d3f576b1
Document X11_X11_LIB and X11_X11_INCLUDE_PATH
...
Alex
2009-11-15 13:26:59 -05:00
Alexander Neundorf
0f457937f4
Split some logic of FindQt4.cmake into separate files, which are included automatically.
...
Qt4Macros.cmake: all the "public" macros of FindQt4.cmake
Qt4ConfigDependentSettings.cmake: the code for detecting the
Qt-configuration dependent additional libraries, e.g. when linking statically.
There should be no functional changes in this patch.
The patch reduces the length of FindQt4.cmake from 1700 lines to around 1000
lines, which is still long enough, but this should make the file a easier to
handle (and it is similar to what we do in KDE with FindKDE4Internal.cmake
and KDE4Macros.cmake)
Ok by Clinton.
Alex
2009-11-15 13:02:19 -05:00
KWSys Robot
bc303427bf
KWSys Nightly Date Stamp
2009-11-14 23:57:18 -05:00
Bill Hoffman
22fb266d06
use different tar format to handle longer file names
2009-11-14 08:48:32 -05:00
KWSys Robot
57865607f4
KWSys Nightly Date Stamp
2009-11-13 23:57:24 -05:00
Bill Hoffman
f8b9a2681b
for the Cmake build we do not want to have -Werror or force -Wall
2009-11-13 22:48:31 -05:00
Bill Hoffman
b5cbafe273
exclude warnings from cmbzip2
2009-11-13 22:47:26 -05:00
Bill Hoffman
28664b96f7
Show the current file when there is a tar error
2009-11-13 16:07:42 -05:00
Will Dicharry
eb7e4498c4
Fixed parallel HDF5 detection when HDF5_INCLUDE_DIRS has multiple items.
2009-11-13 13:25:05 -05:00
Will Dicharry
3b8cab3a46
Changed HDF5_INCLUDE_DIR to HDF5_INCLUDE_DIRS to conform to standards.
2009-11-13 13:09:38 -05:00
Dave Partyka
3154cde792
BUG: rename MPI_PACKAGE_DIR and MPI_PREFIX_PATH vars to be prefixed with _ to prevent conflicts with known variable names in other projects.
2009-11-13 10:57:01 -05:00
Dave Partyka
279e4ec33b
BUG: fix MPI_BASE_DIR var to be called _MPI_BASE_DIR to prevent conflicts with known variable names in other projects.
2009-11-13 10:52:28 -05:00
Bill Hoffman
6db9f9b483
get rid of the rest of the libarchive warnings by not seeing them..
2009-11-13 08:46:56 -05:00
Bill Hoffman
a875845be9
fix warning for borland
2009-11-13 07:39:10 -05:00
KWSys Robot
e28636ba61
KWSys Nightly Date Stamp
2009-11-12 23:57:29 -05:00
Bill Hoffman
6e8aa6cb52
Fix regression with CPACK_NSIS_PACKAGE_NAME, if the project is setting the CPACK_NSIS_DISPLAY_NAME then use that as the default value and not the CPACK_PACKAGE_INSTALL_DIRECTORY, also make sure it escapes \ correctly.
2009-11-12 17:58:37 -05:00
Alexander Neundorf
fb8d583054
also search for "qmake-mac", which is installed by macports ( http://lists.kde.org/?l=kde-core-devel&m=125797773120427&w=2 )
...
Alex
2009-11-12 12:55:19 -05:00
Bill Hoffman
3e5d2bda4d
suppress another warning.
2009-11-12 10:53:00 -05:00
Bill Hoffman
dc5d1edcfd
Fix missing return value.
2009-11-12 10:52:32 -05:00
Bill Hoffman
bd60a2469a
remove the last of the windows W4 warnings
2009-11-12 10:17:55 -05:00
Bill Hoffman
d91d04a47a
Remove a few more warnings
2009-11-12 07:42:21 -05:00
KWSys Robot
0a5b247761
KWSys Nightly Date Stamp
2009-11-11 23:57:35 -05:00
Eric Noulard
33358ff4ff
CPackRPM:: add support for USER specified post/pre [un]install scripts (fix bug 8988)
...
Eric
2009-11-11 15:55:44 -05:00
Eric Noulard
c0814f4155
CPackRPM:: support user supplied "Provides" in spec file (fix bug 9584)
...
Eric
2009-11-11 15:27:44 -05:00
Bill Hoffman
1b48d361d8
fix number of callers to work with newer versions of valgrind
2009-11-11 08:43:15 -05:00