Commit Graph

3788 Commits

Author SHA1 Message Date
Brad King 3dc80f8d8c Add copyright notice to (Unix|Windows)Paths.cmake
This commit adds our copyright notice to these non-trivial platform
modules.
2009-10-05 11:47:05 -04:00
Clinton Stimpson bca63bb738 When getting include dirs for moc, also watch for framework includes and use -F instead of -I. 2009-10-05 11:21:30 -04:00
Brad King c118fd4c55 Find locally installed software first
This commit re-orders the search path prefix list from

  /
  /usr
  /usr/local

to

  /usr/local
  /
  /usr

so that locally-installed software is preferred.

This makes the search consistent with the Filesystem Hierarchy Standard:

  http://www.pathname.com/fhs/

See issue #9657.
2009-10-05 11:09:15 -04:00
Brad King 282b4e3776 Fix module docs to be manpage (groff) friendly
Most problems are fixed (or rather worked-around) by making long '====='
separators pre-formatted (i.e. prefixed with two spaces).  In order to
preserve visual view, the code examples themselves are prefixed with 3
spaces.

This commit fixes the following man warnings:

$ cmake --help-man - | LANG=C MANWIDTH=80 man --warnings -l - > /dev/null
  <standard input>:6024: warning [p 105, 1.7i]: can't break line
  <standard input>:6027: warning [p 105, 2.7i]: cannot adjust line
  <standard input>:6027: warning [p 105, 2.8i]: can't break line
  <standard input>:7142: warning [p 117, 7.8i]: can't break line
  <standard input>:7171: warning [p 117, 11.8i]: can't break line
  <standard input>:8878: warning [p 136, 9.0i]: can't break line
  <standard input>:8887: warning [p 136, 11.5i]: cannot adjust line
  <standard input>:8887: warning [p 136, 11.7i]: can't break line
  <standard input>:8904: warning [p 136, 14.2i]: can't break line

Patch from Modestas Vainius.  See issue #9659.
2009-10-05 10:28:05 -04:00
Brad King 451d68b7e3 Support GNU/kFreeBSD
GNU/kFreeBSD = FreeBSD kernel + userspace with glibc.  Linux.cmake
doesn't contain anything too OS specific, so we can forward to it.

Here are outputs of /bin/uname on author's machine:
  uname -p ==> i386
  uname -o ==> GNU/kFreeBSD
  uname -s ==> GNU/kFreeBSD
  uname -r ==> 5.4-1-686

Patch from Modestas Vainius.  See issue #9659.
2009-10-05 10:26:50 -04:00
Brad King a0e63cff1d FindQt3: Prefer (moc|uic)-qt3 names over (moc|uic)
On Debian moc and uic from Qt3 have '-qt3' suffixes.  The latter names
might come from Qt4, so prefer the version-specific names.

Patch from Modestas Vainius.  See issue #9659.
2009-10-05 10:25:36 -04:00
Brad King 940733997a Remove old license from FindPkgConfig.cmake module
This module was contributed under a BSD-like license.  We added CMake's
OSI-approved BSD License on top of it.  With the author's permission,
this commit removes the old license text and puts the author's copyright
notice in the block referring to the new license.
2009-10-05 09:13:29 -04:00
David Cole b272c61945 Fix issue #8649 - move the location of CPACK_NSIS_EXTRA_INSTALL_COMMANDS so that it is not excluded from execution when 'Do not create shortcuts' is checked. 2009-10-04 14:19:43 -04:00
Alexander Neundorf e364dc784f some syncing with the FindQt4.cmake from KDE
-remove the parentheses in the if() conditions, they don't change the
result, and without them these lines are identical to the ones in
FindQt4.cmake from KDE
-mention which qmake was used for finding Qt

Alex
2009-10-04 11:31:30 -04:00
Alexander Neundorf 3563e6f44e -add the additional features for the dbus macros from KDE's FindQt4.cmake
Alex
2009-10-03 12:04:15 -04:00
Brad King c513962701 Create INTERPROCEDURAL_OPTIMIZATION build feature
This commit creates target and directory properties to enable the Intel
interprocedural optimization support on Linux.  Enabling it adds the
compiler option '-ipo' and uses 'xiar' to create archives.

See issue #9615.
2009-10-02 13:52:13 -04:00
Brad King d455eeb6d7 Fix typo in Intel xiar search code
This renames the variable '_intel_xair_hints' to '_intel_xiar_hints'.
2009-10-02 13:24:32 -04:00
Bill Hoffman 07c3597a86 Fix the documentation to say what it really does. Bug #9638 2009-10-02 08:44:51 -04:00
Alexander Neundorf 61a1ec5f20 document how the minimum version can be specified
Alex
2009-10-01 16:48:19 -04:00
Clinton Stimpson 86459a89a1 Add documentation for Cocoa flag and move Motif under X11 flag. 2009-10-01 16:41:00 -04:00
Clinton Stimpson 023162256d QtHelp depends on QtNetwork 2009-10-01 16:12:39 -04:00
Brad King cc11846dbf Add missing copyright notice to CMake.cmake module 2009-10-01 14:05:33 -04:00
Philip Lowman e8cdd54f74 Some bugfixes, also added public function for closer integration btwn GoogleTest & CTest, contributed by Dan Blezek.
Other minor changes:
* Enhanced documentation & added examples
* _INCLUDE_DIRS and _LIBRARIES was being set regardless of _FOUND
* Fixed status message to include library rather than include dir
* Improved detection of MSVC compiled libraries
* Added a variable (GTEST_BOTH_LIBRARIES) for libgtest + libgtest_main
2009-10-01 01:12:40 -04:00
David Cole f95bc6b5ad Eliminate ExternalProject's use of CMAKE_CFG_INTDIR subdir for Makefile generators. It was causing problems with parallel make -j invocations. Keep it for multi-configuration build systems so that Debug and Release stamp files remain separate. 2009-09-30 16:22:36 -04:00
Bill Hoffman 122c7f6179 Fix for bug #9611, some more paths for OpenJDK. 2009-09-30 14:15:23 -04:00
Bill Hoffman b5bc1d9f74 Fix for bug #9611 do not hard code archs for search paths of java, look at the machine type. 2009-09-30 09:59:00 -04:00
Bill Hoffman 86c3a39e86 Fix bug#9619 add a link to module maintainers page in readme.txt for Modules 2009-09-30 09:53:48 -04:00
Brad King e1729238c9 Add initial XL C compiler flags for safer builds
This commit adds some default initial C flags for the XL compiler.  The
most important is "-qhalt=e" which causes the compiler to error-out on
non-severe error messages.  This is necessary to get try-compiles to
fail when bad arguments are passed to a function.
2009-09-30 09:38:23 -04:00
Brad King 6d434ee6cc Split XL compiler information files
This moves platform-independent XL compiler flags into separate
"Compiler/XL-<lang>.cmake" modules.  Platform-specific flags go in
"Platform/<os>-XL-<lang>.cmake" modules.
2009-09-30 09:37:35 -04:00
Brad King f40406ed6b Fix default install prefix on Haiku
Since Haiku does not have /usr (and therefore /usr/local), this commit
changes the default install prefix to the equivalent directory of
/boot/common.

See issue #9607.
2009-09-30 08:31:53 -04:00
Brad King 869440f75a Fix shared library creation flag for XL on Linux
See issue #9617.
2009-09-29 13:56:57 -04:00
James Bigler b0744ad969 Updated the license on top of each file. 2009-09-29 00:07:46 -04:00
James Bigler c66fb80171 Removed support for cutil library and header file.
Cutil was never intented to be used outside of the SDK.  The removal of this
code is in support of this.  The CUDA_SDK_ROOT_DIR will continue to be
supported, in case users wish to use this to find files in the SDK.  There are
also two examples of how to use CUDA_SDK_ROOT_DIR to find header files and
libraries if users so wish.
2009-09-28 23:41:40 -04:00
James Bigler a26dac2202 Fixed CUDA_PROPAGATE_HOST_FLAGS, added path for Mac SDK.
The CUDA_PROPAGATE_HOST_FLAGS was incorrect in that it prevented the CUDA_NVCC_FLAGS_CONFIG variable from getting filled.

Also, added a search path for the CUDA SDK install on Macs.
2009-09-28 23:17:13 -04:00
David Cole 23dbb3b803 Fix issue #9412 - remove RPATH from files copied by BundleUtilities.cmake on Linux. Thanks to Clinton Stimpson for the patch. 2009-09-28 17:43:52 -04:00
David Cole b5265c2475 Fix issue #9395 - only return true for .exe files on Windows from the is_file_executable function. Makes behavior of this function conceptually consistent with Mac and Linux behavior. Thanks to Clinton Stimpson for the patch. 2009-09-28 17:35:40 -04:00
Brad King 3a666595c9 Convert CMake non-find modules to BSD License
This adds copyright/license notification blocks CMake's non-find
modules.  Most of the modules had no notices at all.  Some had notices
referring to the BSD license already.  This commit normalizes existing
notices and adds missing notices.
2009-09-28 11:46:51 -04:00
Brad King c4bb9c9d42 Convert CMake find-modules to BSD License
This adds copyright/license notification blocks CMake's find-modules.
Many of the modules had no notices at all.  Some had notices referring
to the BSD license already.  This commit normalizes existing notices and
adds missing notices.
2009-09-28 11:45:50 -04:00
Brad King 393b09cb85 Convert FindCUDA helper newlines from CRLF to LF
These files were committed to the repository with Windows newlines.
This converts them to Unix newlines so they will show up natively.
2009-09-28 11:04:33 -04:00
Alexander Neundorf b53217339d Correct comments and use ASM${ASM_DIALECT} env. var instead of ASM env. var to initialize the the assembler to use.
Alex
2009-09-26 05:20:03 -04:00
Alexander Neundorf bed34fd7c7 document the RUBY_VERSION variable
Alex
2009-09-26 05:08:20 -04:00
Brad King 1a527daa3b Convert newlines from CRLF to LF
These files were committed to the repository with Windows newlines.
This converts them to Unix newlines so they will show up natively.
2009-09-25 15:42:53 -04:00
James Bigler d468145fa2 Documentation fixes, new CUDA_PROPAGATE_HOST_FLAGS, changed output directory.
- Finished updating and formatting documentation.
- Added CUDA_PROPAGATE_HOST_FLAGS (Default ON) that can disable the C flag
propagation to the host compiler.
_ Changed the output directory for support files from
${CMAKE_CURRENT_BINARY_DIR} to ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles.  This
will hopefully reduce the clutter in the binary directory.
2009-09-25 00:28:12 -04:00
David Cole c181408ad8 BUG: Fix issue #8177. Modify the system PATH for all users when requested during an NSIS based installer run. Thanks to Bart Janssens for the patch. 2009-09-24 14:59:24 -04:00
James Bigler b7142e9214 Updated formatting of documentation plus a little reorganization. 2009-09-23 01:01:51 -04:00
James Bigler fb9d7d3c59 Added a command to make the output directory. This is to fix the XCode build that uses a different output directory than other systems, and rather than try to match that we'll just make it. 2009-09-23 00:50:16 -04:00
Clinton Stimpson 36606b6d73 add support for finding qcollectiongenerator executable. fixes #9248. 2009-09-22 18:44:24 -04:00
Clinton Stimpson 3551bc31f1 Add support for Qt configured with custom qtlibinfix (see issue 9571). Also fix CMP 15 warnings. 2009-09-22 16:28:13 -04:00
Brad King 5195a664b9 Skip implicit link info for multiple OS X archs
Implicit link information contains architecture-specific libraries and
directories.  The link information cannot be explicitly specified safely
when CMAKE_OSX_ARCHITECTURES contains more than one architecture.

As a result, we currently cannot support mixed-language C++/Fortran
targets and OS X universal binaries simultaneously.  In order to avoid
conflicts for simple C/C++ cases, we now simply skip detection of
implicit link information in this case.
2009-09-22 16:02:39 -04:00
Philip Lowman 30e3dba27c Make Boost easier to find 2009-09-21 23:42:39 -04:00
Clinton Stimpson ad5a455bb5 Fix issue 9581. Qt 4.5+ needs gobject-2.0. 2009-09-21 23:07:44 -04:00
Philip Lowman bc79890205 Add a blank line to my contributed find modules to prevent copyright info from showing up in CMake docs 2009-09-21 22:38:12 -04:00
Philip Lowman 448f88d46b Fix Bug #9158: FindBoost.cmake does not work properly with nmake and icl 2009-09-21 22:21:51 -04:00
Philip Lowman a8f4d4c9ba Fix glitch where we were accidently unsetting CMAKE_FIND_LIBRARY_PREFIXES 2009-09-20 23:55:47 -04:00
Philip Lowman a927ea410f Forgot to mark Protobuf cache variables as advanced 2009-09-20 21:15:33 -04:00
Philip Lowman 450c30b52b [NEW Module] FindAlsa audio library (Advanced Linux Sound Architecture) 2009-09-20 20:20:25 -04:00
Philip Lowman 301c038aeb [NEW Module] Find and use Google's Protocol Buffers library & compiler 2009-09-20 20:12:39 -04:00
Philip Lowman 9c2a38b836 Fix boost library detection with Sun Studio compiler (Issue #9153) 2009-09-20 11:33:06 -04:00
Philip Lowman 42618d5524 Improve readability 2009-09-20 08:03:45 -04:00
Brad King 180c60a86f Fix check for -isysroot on OS X
Previously we checked for this flag by parsing the version number of GCC
out of 'gcc --version', but this is not reliable because the format can
vary greatly.  Now we run 'gcc -v --help' and look for '-isysroot' in
the list of options.

We also now store the result on a per-language basis in the per-compiler
info file "CMake<LANG>Compiler.cmake".  This is necessary to make it
accessible from try-compile projects so that they generate correctly.
2009-09-19 10:14:31 -04:00
Alexander Neundorf 196d9a54aa The preprocessing and assembly rules also need the <DEFINES>, otherwise different reults are created.
Alex
2009-09-19 04:33:10 -04:00
Bill Hoffman 58818d5168 Add detection of gcc versions that do not support isysroot option and do not use it for them. 2009-09-18 14:22:20 -04:00
David Cole cba1dd59fd Better error message tells user possible ways to resolve the error. 2009-09-18 12:56:49 -04:00
Brad King 83957d9e0d Fix CHECK_(C|CXX)_COMPILER_FLAG for XL and SunPro
These compilers warn and return 0 for unrecognized flags.  We fix the
compiler flag check macros by looking for a warning in the output.  We
also update the regex for GNU on older Macs.  See issue #9516.
2009-09-18 09:49:44 -04:00
Brad King 53fb07ef5d Fix CHECK_(C|CXX)_COMPILER_FLAG for HP
This compiler warns and returns 0 for unrecognized flags.  We fix the
compiler flag check macros by looking for a warning in the output.
See issue #9516.
2009-09-17 17:16:43 -04:00
Brad King 7e3d437d0a Fix CHECK_(C|CXX)_COMPILER_FLAG for GNU and MSVC
These compilers warn and return 0 for unrecognized flags.  We fix the
compiler flag check macros by looking for a warning in the output.
See issue #9516.
2009-09-17 15:32:54 -04:00
Brad King ca76645ab7 Add FAIL_REGEX to CHECK_(C|CXX)_SOURCE_COMPILES
This teaches the CHECK_C_SOURCE_COMPILES and CHECK_CXX_SOURCE_COMPILES
macros to recognize a FAIL_REGEX option.  If they see the regular
expression in the output of the test compilation, the check fails.
2009-09-17 15:29:01 -04:00
Brad King 80af3ae35d Cleanup generic compiler check macro documentation
This commit improves formatting and style of the documentation for the
general-purpose compiler check macros:

  CHECK_C_COMPILER_FLAG
  CHECK_C_SOURCE_COMPILES
  CHECK_C_SOURCE_RUNS
  CHECK_CXX_COMPILER_FLAG
  CHECK_CXX_SOURCE_COMPILES
  CHECK_CXX_SOURCE_RUNS

This sytle is more consistent with CMake command documentation.
It also looks nicer in the generated documentation text files.
2009-09-17 15:28:51 -04:00
Alexander Neundorf 308e972412 The check for include dirs and builtin macros also works with the Intel compiler
Alex
2009-09-17 13:08:35 -04:00
Bill Hoffman ea282284d5 Fix for bug #9466. Change the implementation of OSX arch lists. If no ARCHs are specified by the user then no flags are set. We no longer use CMAKE_OSX_ARCHITECTURES_DEFAULT. 2009-09-17 11:53:02 -04:00
Alexander Neundorf 9d967ed47b Put compiler defined macros into eclipse project files
Now gcc is queried also for the builtin definitions, and they are then added
to the .cproject file. This should make the preprocessor highlighting in
eclipse work better (#9272)
Patch mostly from Miguel.

Alex
2009-09-16 14:37:21 -04:00
Bill Hoffman 72f524efc1 Bug #09476, add more search paths for jni. 2009-09-16 14:20:20 -04:00
Bill Hoffman 0b937cc4ae Fix for bug#9553, print a warning if pkg-config is not found. 2009-09-16 12:40:37 -04:00
Brad King b5e558e291 Fix XL C++ compiler flags on Linux
In Platform/Linux.cmake we add GNU flags as default for the platform
which breaks non-GNU compilers.  Later we should refactor these flag
files to put compiler-specific flags only in files loaded for each
compiler.  Until then this commit fixes the XL C++ compiler flags on
Linux by erasing the GNU flags.  See issue #9469.
2009-09-16 12:33:24 -04:00
James Bigler eaaf71d7b3 Initial version of FindCUDA script. Still needs documentation formatting. 2009-09-15 02:38:20 -04:00
Alexander Neundorf 72f32c2b98 fix #9152: find ZLIB quietly if PNG is searched QUIETLY
Alex
2009-09-14 15:53:07 -04:00
Bill Hoffman da29eb892b Change FindPythonLibs to use the standard _DIR instead of _PATH but stay backwards compatible 2009-09-14 09:34:57 -04:00
Alexander Neundorf cde1005442 major improvement of FindRuby.cmake
-now supports specifying minimum required version
-now supports ruby 1.8 and 1.9
-uses find_package_handle_standard_args() now
-fix #6212 and using a lot of ideas from the file attached there

Alex
2009-09-12 06:25:58 -04:00
Alexander Neundorf ea46c6e8a9 use HINTS instead of PATHS and also look for libruby-static.a (which is built by default)
Alex
2009-09-12 04:38:11 -04:00
Alexander Neundorf c6a10370bb Don't pass *.S files to the assembler, they must go through gcc, because they must be preprocessed
Alex
2009-09-12 02:15:30 -04:00
Brad King 4debb7ac69 Bias Fortran compiler search with C/C++ compilers
When CMAKE_Fortran_COMPILER and ENV{FC} are not defined CMake searches
for an available Fortran compiler.  This commit teaches the search code
to look for compiler executables next to the C and C++ compilers if they
are already found.  Furthermore, we bias the compiler executable name
preference order based on the vendor of the C and C++ compilers, which
increases the chance of finding a compatible compiler by default.
2009-09-09 16:39:47 -04:00
David Cole 6149e8f7e8 Missed another CMAKE_CFG_INTDIR reference in the previously previous commit. 2009-09-08 17:28:49 -04:00
David Cole 883338584f Missed a CMAKE_CFG_INTDIR reference in the previous commit. 2009-09-08 16:11:19 -04:00
Brad King fd47a2ae96 Drop old CMake "build settings" export/import
The CMakeExportBuildSettings and CMakeImportBuildSettings modules used
to export compiler paths and flags from one project and import them into
another.  The import process would force the settings on the including
project.

Forcing settings helped long ago when compiler ABIs changed frequently
but is now just a nuisance.  We've deemed the behavior harmful so this
commit simply removes it.  The modules and macros now error out if
included or called from a project that requires CMake 2.8 or higher.
2009-09-08 15:55:41 -04:00
David Cole 002ae925c3 Use more verbose/descriptive names for the "public API" functions in the ExternalProject.cmake module. Follow the cmake function naming convention, using a ModuleFileName_ prefix. Locate stamp files under a CMAKE_CFG_INTDIR subdir of the stamp dir so that debug and release builds have separate stamp files for Visual Studio builds. If no CMAKE_GENERATOR argument is given to ExternalProject_Add, default to using the parent project's cmake generator. 2009-09-08 15:37:15 -04:00
David Cole b71332914f Oops. Close strings with double quotes. Where they're supposed to be. 2009-09-04 18:19:06 -04:00
David Cole 5655ac46f0 Add MPICH2 and Microsoft HPC paths, add paths to find mpiexec. Now it works better automatically on Windows. Thanks to Dave Partyka for developing the patch. 2009-09-04 18:02:05 -04:00
Ken Martin f686dbecb6 some white space fixes for the book 2009-09-03 15:29:29 -04:00
David Cole 5624be360e Add test step to ExternalProject builds. Rename SVN_TAG to SVN_REVISION since it is a more accurate name. 2009-09-03 12:11:14 -04:00
Zach Mullen 69fd641adb Fixed ctest output where max test index is not the same width as the total number of tests. Also some preliminary changes for batching ctest jobs 2009-09-02 10:08:40 -04:00
Bill Hoffman 8710cc6422 Add support for embeded manifests for Intel C/C++/Fortran compilers 2009-09-01 16:33:51 -04:00
Bill Hoffman 76d059e3fb Add a module to determine if the intel linker supports manifest creation 2009-09-01 16:23:07 -04:00
Clinton Stimpson d6e8ffa927 use -o flag instead of > for qdbuscpp2xml 2009-09-01 15:21:06 -04:00
Bill Hoffman e9a170b108 Move /MANIFEST flag into -E vs_link. This is so it can be used by the intel compilers without having to specifiy it in the intel compiler files 2009-09-01 14:33:26 -04:00
Brad King 2eca4dd2d1 Use Intel for Linux flags only on Linux
The commit "Split Intel compiler information files" moved some Linux
specific flags into the platform-independent Intel compiler info files.
This moves them back.
2009-09-01 13:55:13 -04:00
Brad King dc78838737 Fix FortranCInterface_VERIFY for non-C++ case
The verification program entry point (main) is defined in a C source
file, so the C compiler should be used to link when only Fortran and C
are involved.  The C++ compiler should still be used when the CXX option
is enabled.
2009-09-01 13:03:12 -04:00
Brad King 78160cee6e Make FortranCInterface_VERIFY verbose on failure
We enable verbose build output in the try_compile of the simple project.
This makes valuable information available in the case of failure.
2009-09-01 08:52:43 -04:00
Will Dicharry ea34662053 Fixed link order dependence in FindHDF5 module for static link. 2009-08-31 18:18:34 -04:00
Will Dicharry 71ff183b5b In FindHDF5, added C library names to CXX search libraries. 2009-08-31 10:32:08 -04:00
David Cole 1171bcfc69 Add missing argument to _ep_write_downloadfile_script. 2009-08-26 06:52:43 -04:00
Will Dicharry c9686f62af Fixed HDF5 Find module error that caused no list to be passed into remove duplicates when HDF5 is not found. 2009-08-24 13:24:57 -04:00
Will Dicharry e6734068ef Add HDF5 find module and select_library_configurations module. 2009-08-24 12:04:35 -04:00
Brad King a9be85da2e Create FortranCInterface_VERIFY function
This function builds a simple test project using a combination of
Fortran and C (and optionally C++) to verify that the compilers are
compatible.  The idea is to help projects report very early to users
that the compilers specified cannot mix languages.
2009-08-24 08:49:35 -04:00
Brad King 14f7a043e3 Teach FortranCInterface to load outside results
We split the main detection logic into a Detect.cmake support module and
load it only when detection results are not already available.  This
allows results computed by the main project to be used in try-compile
projects without recomputing them.  The call to try_compile() need only
to pass FortranCInterface_BINARY_DIR through the CMAKE_FLAGS option.
2009-08-24 08:49:07 -04:00
Brad King 9ee0f9801a Split SunPro compiler information files
This moves platform-independent SunPro compiler flags into separate
"Compiler/SunPro-<lang>.cmake" modules.  Platform-specific flags are
left untouched.
2009-08-21 10:32:26 -04:00
Brad King 2ce6a7d0fb Split Intel compiler information files
This moves platform-independent Intel compiler flags into separate
"Compiler/Intel-<lang>.cmake" modules.  Platform-specific flags are
left untouched.
2009-08-21 09:54:42 -04:00
Brad King f64f9940af Teach FortranCInterface to verify languages
This module requires both C and Fortran to be enabled, so error-out if
they are not.
2009-08-20 16:21:53 -04:00
Philip Lowman 4bf4cbd8a2 Add Boost 1.39 & 1.40. Move ${Boost_INCLUDE_DIR}/lib to front of library search. 2009-08-19 22:28:46 -04:00
David Cole 0470a0c1ad Remove DownloadFile.cmake and UntarFile.cmake from the Modules directory. Put functionality directly into ExternalProject.cmake itself so that these modules do not end up in the upcoming release of CMake. 2009-08-19 12:19:12 -04:00
Philip Lowman 232b14f488 Find module for the Bullet physics engine 2009-08-16 23:07:15 -04:00
Philip Lowman c577608958 A find module for the Google C++ Testing Framework 2009-08-16 22:12:04 -04:00
Philip Lowman dac3903793 Checking in the FindFLEX.cmake & FindBISON.cmake attached to Issue #4018 after some minor improvements
* Improved examples
* Switched to FindPackageHandleStandardArgs
* Cleaned up indentation
* Sanitized else()/endif() blocks
2009-08-13 00:11:23 -04:00
Philip Lowman 5905f8f6c0 Fixes Issue #8994 2009-08-12 22:40:56 -04:00
Philip Lowman 1cde761faf Find module for GnuTLS, the GNU Transport Layer Security library (Issue #9228) 2009-08-12 22:25:31 -04:00
Philip Lowman fe18d13f79 Improved error output and documentation
* Fixed errant output when version number not found
* Improved error output when REQUIRED is passed
* Improved docs and example
2009-08-12 21:58:14 -04:00
Brad King 45313dc943 Quote the target name for Borland tlib tool
The Borland librarian tool "tlib" requires that the output target name
be quoted if it contains the character '-' (and perhaps a few others).
This commit restores the use of the TARGET_QUOTED rule variable
replacement for this purpose.  Otherwise no static library can have a
'-' in its name.

This problem was exposed by the 'Testing' test when it builds the
pcStatic library with the '-dbg' suffix.
2009-08-12 09:09:41 -04:00
Brad King 115ecc5750 Teach compiler id about VisualAge -> XL rebranding
IBM rebranded its VisualAge compiler to XL starting at version 8.0.  We
use the compiler id "XL" for newer versions and "VisualAge" for older
versions.  We now also recognize the "z/OS" compiler, which is distinct
from XL.
2009-08-07 10:13:07 -04:00
Brad King 34c6588b6e Move flag to Compiler/VisualAge-Fortran module
The CMAKE_Fortran_DEFINE_FLAG value applies to the IBM Fortran compilers
on all platforms.  This moves the setting to the platform-independent
compiler information file.
2009-08-07 10:12:34 -04:00
Brad King ee7231c03f Use NetBSD to initialize OpenBSD configuration
We teach Modules/Platform/OpenBSD.cmake to load NetBSD first since the
platforms are so similar.  This enables RPATH support on OpenBSD.
2009-08-07 09:56:20 -04:00
Brad King f33bcd6c50 Teach FortranCInterface about g77 mangling
The old GNU g77 Fortran compiler uses the suffix '__' for symbols
containing an underscore in their name.
2009-08-06 07:53:41 -04:00
Brad King 8dd02cb78d Sort FortranCInterface global mangling symbols
This just cleans up the list ordering so more entries can be added while
keeping everything organized.
2009-08-06 07:53:32 -04:00
Brad King edcddb522c Cleanup FortranCInterface for PGI and GCC 4.2
This documents the purpose of the extra my_module_.c and mymodule.c
source files, and sorts the symbols.
2009-08-05 17:07:36 -04:00
Bill Hoffman 71287734a9 Teach FortranC interface for Intel, PGI, and gcc 4.2 2009-08-05 16:55:57 -04:00
David Cole 6e54b18b5d Remove AddExternalProject.cmake. ExternalProject.cmake supercedes/replaces it. 2009-08-05 15:39:41 -04:00
David Cole fe0b121da9 Overhaul GetPrerequisites and BundleUtilities: make fixup_bundle do something useful on Windows and Linux.
Formerly, fixup_bundle was useful only on the Mac for making standalone bundle applications that could be drag-n-drop moved to anyplace in the file system. fixup_bundle is not just for the Mac any more. It will now analyze executable files on Windows and Linux, too, and copy necessary non-system dlls to the same folder that the executable is in. This should work with dlls that you build as part of your build and also with 3rd-party dlls as long as you give fixup_bundle the right list of directories to search for those dlls. Many thanks to Clinton Stimpson for his help in ironing out the details involved in making this work.
2009-08-05 14:59:14 -04:00
Brad King 80f0201b37 Rewrite FortranCInterface module
This is a new FortranCInterface.cmake module to replace the previous
prototype.  All module support files lie in a FortranCInterface
directory next to it.

This module uses a new approach to detect Fortran symbol mangling.  We
build a single test project which defines symbols in a Fortran library
(one per object-file) and calls them from a Fortran executable.  The
executable links to a C library which defines symbols encoding all known
manglings (one per object-file).  The C library falls back to the
Fortran library for symbols it cannot provide.  Therefore the executable
will always link, but prefers the C-implemented symbols when they match.
These symbols store string literals of the form INFO:symbol[<name>] so
we can parse them out of the executable.

This module also provides a simpler interface.  It always detects the
mangling as soon as it is included.  A single macro is provided to
generate mangling macros and optionally pre-mangled symbols.
2009-08-05 13:40:29 -04:00
Brad King 6843448379 Pass Fortran90 test result to try-compile
This stores CMAKE_Fortran_COMPILER_SUPPORTS_F90 in the Fortran compiler
information file CMakeFiles/CMakeFortranCompiler.cmake instead of in
CMakeCache.txt.  This file makes the result available to try-compile
projects.
2009-07-30 13:46:51 -04:00
Brad King fcab87c9f8 Do not always propagate linker language preference
The commit "Consider link dependencies for link language" taught CMake
to propagate linker language preference from languages compiled into
libraries linked by a target.  It turns out this should only be done for
some languages, such as C++, because normally the language of the
program entry point (main) should be used.

We introduce variable CMAKE_<LANG>_LINKER_PREFERENCE_PROPAGATES to tell
CMake whether a language should propagate its linker preference across
targets.  Currently it is true only for C++.
2009-07-30 10:59:37 -04:00
Brad King 35f36727c5 Set CMAKE_<LANG>_VERBOSE_FLAG variables for PGI
We set the variables to contain "-v", the verbose front-end output
option for PGI compilers.  This enables detection of implicit link
libraries and directories for these compilers.
2009-07-29 16:38:06 -04:00
Brad King 0ea43ee128 Set CMAKE_<LANG>_VERBOSE_FLAG variables for Intel
We set the variables to contain "-v", the verbose front-end output
option for Intel compilers.  This enables detection of implicit link
libraries and directories for these compilers.
2009-07-29 16:07:27 -04:00
Brad King edad475e26 Recognize linker commands without paths
This teaches the implicit link line parsing code to recognize link lines
that do not have a full path to the linker executable.  At least one
version of the Intel compiler on Linux invokes the linker as just "ld"
instead of "/usr/bin/ld".
2009-07-29 16:07:19 -04:00
Brad King 836447663e BUG: Parse implicit link editor -z*extract options
The Sun Fortran compiler passes -zallextract and -zdefaultextract to the
linker so that all objects from one of its archives are included in the
link.  This teaches the implicit options parser to recognize the flags.
We need to pass them explicitly on C++ link lines when Fortran code is
linked.
2009-07-28 08:36:11 -04:00
Brad King 071ce33ec9 ENH: Install all Modules and Templates
This removes the file-wise installation rules for Modules and Templates
and instead installs the whole directories.  This approach is much less
error-prone.  The old approach was left from before CMake had the
install(DIRECTORY) command.
2009-07-24 13:17:41 -04:00
Brad King 31678a3c27 BUG: Install new fortran compiler id source.
The extension of the id source file was changed from .F90 to .F so this
fixes the install rule.
2009-07-24 12:55:42 -04:00
Brad King efaf335bf2 BUG: Skip implicit link information on Xcode
Xcode adds extra link directories that point at the build tree, so
detection of implicit link directories is not reliable.  Since Fortran
is not supported in Xcode we will not need implicit link information yet
anyway.
2009-07-23 16:19:29 -04:00
Brad King 07ea19ad1f ENH: Implicit link info for C, CXX, and Fortran
This teaches CMake to detect implicit link information for C, C++, and
Fortran compilers.  We detect the implicit linker search directories and
implicit linker options for UNIX-like environments using verbose output
from compiler front-ends.  We store results in new variables called

  CMAKE_<LANG>_IMPLICIT_LINK_LIBRARIES
  CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES

The implicit libraries can contain linker flags as well as library
names.
2009-07-23 10:07:25 -04:00
Brad King 797e49a1cc ENH: Load platform-independent per-compiler files
This teaches the language configuration modules to load per-compiler
information for each language using the compiler id but no system name.
They look for modules named "Compiler/<id>-<lang>.cmake".  Such modules
may specify compiler flags that do not depend on the platform.
2009-07-23 10:06:31 -04:00
Ken Martin 699a059768 ENH: just converted case to lower for the book 2009-07-21 12:45:37 -04:00
Philip Lowman 1c794c0438 BUG: Fix include path detection with SDLDIR env var (issue #9086).
Also removed some superfluous search paths.
2009-07-18 01:05:04 -04:00
Philip Lowman dfb2d35375 ENH: Also add ARCHLIB/CORE to include search paths so perl.h can be found on non-standard install prefixes 2009-07-17 23:51:46 -04:00
Philip Lowman a94af4df64 ENH: Improve detection of perl.h/libperl, issue #7898 2009-07-17 23:31:17 -04:00
Clinton Stimpson e13176e92b BUG: fix relative paths from different drives on Windows 2009-07-16 18:53:20 -04:00
David Cole 85733c17c5 BUG: Re-fix issue #8682. Use new variable CPACK_NSIS_PACKAGE_NAME in appropriate places rather than CPACK_NSIS_DISPLAY_NAME. CPACK_NSIS_DISPLAY_NAME is the Add/Remove control panel's description string for the installed package. Using it as the "Name" of the NSIS installer package made the CMake installer itself use really long strings in the installer GUI. This fix still allows for the original intent of the first fix for #8682 -- the ability to separate the installer name from the default install directory, but it uses a new/different variable to achieve the separation. 2009-07-16 11:48:30 -04:00
Bill Hoffman d10d57fedd ENH: remove debug message 2009-07-15 12:43:09 -04:00
Bill Hoffman 6d80f66456 ENH: do not use /INCREMENTAL:YES with VS 10 compiler 2009-07-15 12:18:37 -04:00
Brad King 69e366f49b ENH: Check _SGI_COMPILER_VERSION for compiler id
Some SGI compilers define _SGI_COMPILER_VERSION in addition to the old
_COMPILER_VERSION preprocessor symbol.  It is more distinctive, so we
should check it in case the old one is ever removed.
2009-07-14 15:17:21 -04:00
Brad King eff381185a BUG: Avoid SGI preprocessor bug for Fortran Id
The SGI preprocessor /usr/lib/cpp produces bad output on this code:

  #if 1
  A
  #elif 1
  B
  #else
  C
  #endif

Both 'A' and 'C' appear in the output!  We work around the problem by
using '#elif 1' instead of '#else'.

This fixes detection of the SGI Fortran compiler id in -o32 mode.
2009-07-14 15:16:59 -04:00
Alexander Neundorf 1e20be319f STYLE: add documentation for MACRO_ADD_FILE_DEPENDENCIES()
Alex
2009-07-14 14:44:27 -04:00
Brad King de6f88d06f ENH: Create Fortran ABI detection framework
This invokes CMakeDetermineCompilerABI.cmake for Fortran at the same
place it is already done for C and CXX.
2009-07-13 11:24:01 -04:00
Brad King a03bb5a28f ENH: Check tarball filename in ep_add
This teaches the ExternalProject module to check the download URL file
name.  If it is not a tarball (.tar, .tgz, .tar.gz) it is an error
because UntarFile does not yet understand other archive formats.
2009-07-13 10:46:32 -04:00
Brad King 87434fc38f BUG: Teach UntarFile to delete dir on error
When tarball extraction fails we should still cleanup the temporary
extraction directory.  Otherwise the next attempt will create a new
directory and the first one will never be removed.
2009-07-13 10:46:20 -04:00
Brad King 82c081ba35 BUG: Fix rpath-link flag for SunPro C++ on Linux
This teaches Modules/Platform/Linux-SunPro-CXX.cmake the -rpath-link flag.  The
SunPro C++ compiler does not have a '-Wl,' option, so we just pass the flag
directly.

This problem was exposed by the ExportImport test now that it links an
executable through the C++ compiler with the -rpath-link flag.
2009-07-13 10:40:15 -04:00
Alexander Neundorf 7048373296 STYLE: don't load CMakeDetermineSystem and CMakeSystemSpecific directly from
cmCTestScriptHandler, but have it load the new script CTestScriptMode.cmake
-> that makes it more flexible, also add a simple test that the system name
has been determined correctly

Alex
2009-07-12 04:51:51 -04:00
Brad King d4d467dbd5 ENH: Teach CTest to handle Mercurial repositories
This creates cmCTestHG to drive CTest Update handling on hg-based work
trees.  Currently we always update to the head of the remote tracking
branch (hg pull), so the nightly start time is ignored for Nightly
builds.  A later change will address this.

See issue #7879.  Patch from Emmanuel Christophe.  I modified the patch
slightly for code style, to finish up some parsing details, and to fix
the test.
2009-07-10 11:08:05 -04:00
Bill Hoffman 5c4208f50e ENH: only 5 failing tests for VS 10 2009-07-10 09:12:39 -04:00
Brad King a30a41e5ca ENH: Identify HP C compiler
This compiler does not enable ANSI mode by default.  When identifying
the C compiler we try passing -Aa in case it is the HP compiler.
2009-07-08 09:14:56 -04:00
David Cole 10f4e911f0 BUG: Allow arbitrary text in values for some keywords. (And avoid warning that the arbitrary text is an unknown keyword.) 2009-07-02 17:38:30 -04:00
David Cole 04fb177de1 BUG: cmd_set logic was missing from update and patch steps. Fix it so that UPDATE_COMMAND "" means "no update step even though this is a CVS/SVN repository..." 2009-07-02 13:17:55 -04:00
Alexander Neundorf 93169dbd56 BUG: recognize system include paths also when the languages are set to
something different from "C", by resetting them to "C" (#9122)

Alex
2009-06-28 05:59:42 -04:00
Bill Hoffman 7491f52992 ENH: first pass at VS 10, can bootstrap CMake, but many tests still fail 2009-06-25 16:41:57 -04:00
Brad King ef756b96e4 ENH: Identify Fortran compilers with fixed format
This enhances the Fortran compiler id detection by using a source that
can compile either as free or fixed format.  As long as the compiler
knows it should preprocess the source file (.F) the identification can
work.  Even free-format compilers may try fixed-format parsing if the
user specifies certain flags, so we must support both.
2009-06-25 08:45:19 -04:00
Brad King 031379abe6 ENH: New ExternalProject.cmake module interface
This creates new module ExternalProject.cmake to replace the prototype
AddExternalProject.cmake module.  The interface is more refined, more
flexible, and better documented than the prototype.

This also converts the ExternalProject test to use the new module.  The
old module will be removed (it was never in a CMake release) after
projects using it have been converted to the new module.
2009-06-24 15:03:26 -04:00
Bill Hoffman 1287fc1fbf ENH: boost lib is often found under the boost include dir 2009-06-23 16:40:50 -04:00
Bill Hoffman 65aa0b8765 ENH: add additional place to look for boost so it works out of the box on windows 2009-06-23 16:31:41 -04:00
Bill Hoffman 34744b6bc0 BUG: remove warning in test of compiler so -Werror does not fail 2009-06-22 10:02:51 -04:00
Brad King b4b52451ae BUG: Look in arch-specific HPUX implicit link dirs
On HP-UX machines some system libraries appear in architecture-specific
implicit linker search paths.  We need to add these paths to our system
library search path.  However, at the time we construct the search path
we do not know the target architecture.

A full solution requires re-organizing platform configuration files so
that the target architecture can be known when needed.  Until that
happens we can avoid the problem by searching in both 32-bit and 64-bit
implicit link directories.  By telling CMake that they are implicit
directories the generated link lines will never pass the paths, leaving
the linker free to find the library of the proper architecture even if
the find_library call finds the wrong one.
2009-06-19 17:09:36 -04:00
Bill Hoffman dbc4e2f101 ENH: add path for 64 bit on old hp 2009-06-15 13:22:00 -04:00
Bill Hoffman b6fc0a78ff ENH: put the 64 bit paths first 2009-06-15 13:17:54 -04:00
Bill Hoffman 62a634aeba ENH: add more search paths on HPUX 2009-06-15 12:39:12 -04:00
Bill Hoffman 8446a48054 ENH: use .exe on vms 2009-06-11 15:25:48 -04:00
Brad King 41b0f92c6a ENH: Enable basic OpenVMS platform support
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.
2009-06-10 13:04:04 -04:00
Brad King d2b108150f BUG: Recognize .so shared libraries on HP-UX
HP-UX uses both .sl and .so as extensions for shared libraries.  This
teaches CMake to recognize .so shared libraries so they are treated
properly during link dependency analysis.
2009-06-03 15:08:30 -04:00
Alexander Neundorf 79ed6b8ebc BUG: fix #9031: newer rpm versions complain about the "#%" lines
Alex
2009-05-29 16:09:56 -04:00
Brad King a6bc1c34b1 ENH: Auto-import symbols for cygwin executables
This enables the --enable-auto-import linker flag on Cygwin when linking
executables.  It works with the old gcc 3.x compiler and is necessary
for the new gcc 4.x compiler.  See issue #9071.
2009-05-27 11:33:37 -04:00
David Cole 08817ac400 BUG: Rearrange paths to find correct installations of Visual Studio. Patch devenv.modified_search_order.patch came from issue #7919. 2009-05-26 09:55:10 -04:00
Clinton Stimpson c171d57ed0 ENH: Better error message for those who switch from Qt3 to Qt4 and don't clean their cache file. 2009-05-19 11:38:18 -04:00
Brad King 2bb13f2ca5 ENH: Remove CTest public.kitware.com drop default
Previously CTest would drop dashboard submissions at public.kitware.com
on the PublicDashboard project if there was no configuration.  The
server no longer supports forwarding to cdash.org, so there is no point
in this default.  Furthermore, there should be no default at all because
it could leak information about proprietary projects that are not
configured correctly.
2009-05-15 15:39:43 -04:00
Brad King a524e07152 ENH: Teach CTest to handle Bazaar repositories
This creates cmCTestBZR to drive CTest Update handling on bzr-based work
trees.  Currently we always update to the head of the remote tracking
branch (bzr pull), so the nightly start time is ignored for Nightly
builds.  A later change will address this.  Patch from Tom Vercauteren.
See issue #6857.
2009-05-14 16:13:52 -04:00
Alexander Neundorf ca3e9623e9 STYLE: add documentation for CPackRPM (#9029)
Alex
2009-05-14 15:31:18 -04:00
Alexander Neundorf a36465bc36 STYLE: remove these files now that I added them with a more consistent name
as CMakeFind<GENERATOR>.cmake
(should have been in the same commit...)

Alex
2009-05-12 15:17:10 -04:00
Alexander Neundorf f43e36a65d BUG: apply patch from Eric Noulard, so cpack works with rpmbuild 4.6.0, #8967
Alex
2009-05-12 15:13:10 -04:00
Alexander Neundorf ea8c04a4f8 STYLE: rename the files from CMake<GENERATOR>.cmake to
CMakeFind<GENERATOR>.cmake, so it is more consistent e.g. with
CMakeFindXcode.cmake

Alex
2009-05-12 15:11:16 -04:00
Alexander Neundorf 8e03bfb57d STYLE: first lower-casing the string makes comparing its contents easier
Alex
2009-05-10 06:01:59 -04:00
Alexander Neundorf 352fb9ff66 ENH: move the code which queries gcc for the system include dirs from
CMakeSystemSpecificInformation.cmake into a separate file,
CMakeEclipseCDT4.cmake
-if CMAKE_EXTRA_GENERATOR is set, i.e. either CodeBlocks or KDevelop3 or
EclipseCDT4, load a matching cmake script file, which can do things specific
for this generator
- added such files for Eclipse, KDevelop and CodeBlocks, one thing they all
do is they try to find the respective IDE and store it in the
CMAKE_(KDEVELOP3|CODEBLOCKS|ECLIPSE)_EXECUTABLE variable.
This could be used by cmake-gui to open the project it just generated with
the gui (not sure this is possible with eclipse).

Alex
2009-05-10 06:00:27 -04:00
Alexander Neundorf e0e93a3912 ENH: when cross compiling, e.g. for WinCE, don't use VCExpress, since this doesn't support it
This is the first patch to add support for WinCE to cmake (#7919)

Alex
2009-05-09 08:15:53 -04:00
Clinton Stimpson 22f1c78677 BUG: Fix spaces in file paths for lupdate command 2009-05-06 11:21:22 -04:00
Clinton Stimpson 2d22e11a4a ENH: Add support for QtScriptTools in Qt 4.5. 2009-05-06 09:44:36 -04:00
Clinton Stimpson f4f5da869c ENH: Add support for QtScriptTools in Qt 4.5. 2009-05-06 09:42:01 -04:00
Brad King 0d40703f49 ENH: Teach UntarFile to preserve file timestamps
After extracting the tarball in a temporary directory we copy the tree
to the destination directory.  The 'cmake -E copy_directory' command
does not preserve file timestamps, so we use file(COPY) instead.
2009-04-29 15:07:09 -04:00
Alexander Neundorf 753385d639 ENH: search also for mpeg2dec/mpeg2.h, as the documentation says, and as it
is also installed by plain libmpeg2 (#8455)
Also mark the variables as advanced.

Alex
2009-04-21 18:18:35 -04:00
Alexander Neundorf f1149df8cf ENH: add even more search directories for debian-like systems (see #8821)
Alex
2009-04-21 17:12:32 -04:00
Alexander Neundorf e16d1e37f3 ENH: add one more search directory (see #8919)
Alex
2009-04-21 17:09:29 -04:00
Alexander Neundorf 879f2f98fe STYLE: fix typos in the docs
Alex
2009-04-19 12:47:01 -04:00
Bill Hoffman ad113d4df2 BUG: fix cmake so that if you configure with a bad env for cl, then with a good path, it will configure correctly 2009-04-18 14:37:04 -04:00
Bill Hoffman be7824c369 ENH: make sure CTEST_CURL_OPTIONS work from script mode 2009-04-17 14:44:01 -04:00
Philip Lowman 63a1e45076 ENH: New function for determining Visual Studio service pack 2009-04-14 00:50:23 -04:00
Bill Hoffman 4ec691a9d1 ENH: add ability to control ssl cert checking 2009-04-10 12:15:03 -04:00
Brad King 68248be52e ENH: Allow lists in AddExternalProject arguments
The add_external_project function separates its arguments with ';'
separators, so previously no command line argument could contain one.
When specifying CMAKE_ARGS, some -D argument values may need to contain
a semicolon to form lists in the external project cache.

This adds add_external_project argument LIST_SEPARATOR to specify a list
separator string.  The separator is replaced by ';' in arguments to any
command created to drive the external project.  For example:

  add_external_project(...
    LIST_SEPARATOR ::
    CMAKE_ARGS -DSOME_LIST:STRING=A::B::C
    ...)

passes "-DSOME_LIST:STRING=A;B;C" to CMake for the external project.
2009-04-09 13:56:08 -04:00
David Cole 698cf0c886 BUG: Fix issue #8682. Use CPACK_NSIS_DISPLAY_NAME in appropriate places rather than CPACK_PACKAGE_INSTALL_DIRECTORY. Clean separation of these two variables (which have the same value by default) allows an easy workaround for issue #7881, too. 2009-04-07 15:31:51 -04:00
David Cole a20b1ecabc BUG: Fix issue #8804. Add vtk-5.4 lib path to the FindVTK.cmake module. 2009-03-31 16:15:55 -04:00
Brad King a30b84e4cc BUG: Fix AddExternalProject config command id
This fixes the get_configure_command_id function to not mistake
CONFIGURE_COMMAND values that run "cmake -P" or "cmake -E" for a CMake
project configuration.  These values just help run scripts.
2009-03-31 10:13:01 -04:00
Brad King 88184bb698 ENH: Simpler AddExternalProject install step
This simplifies the implementation with add_external_project_step.
2009-03-30 11:38:43 -04:00
Brad King bf09570615 ENH: Simpler AddExternalProject build step
This simplifies the implementation with add_external_project_step.
2009-03-30 11:38:26 -04:00
Brad King f3ba510a65 ENH: Simpler AddExternalProject configure step
This simplifies the implementation with add_external_project_step.
2009-03-30 11:38:05 -04:00
Brad King 385eb4dea7 ENH: Simpler AddExternalProject patch step
This simplifies the implementation with add_external_project_step.
2009-03-30 11:37:50 -04:00
Brad King aa7e41c16e ENH: Simpler AddExternalProject update step
This simplifies the implementation with add_external_project_step.
2009-03-30 11:37:29 -04:00
Brad King feef81b34f ENH: Simpler AddExternalProject download step
This simplifies the implementation with add_external_project_step.
2009-03-30 11:37:03 -04:00
Brad King d2175580e7 ENH: Generalize AddExternalProject step creation
This creates function 'add_external_project_step' to centralize creation
of external project steps.  Users may call it to add custom steps to
external project builds.
2009-03-30 11:36:32 -04:00
Brad King c45c862ef4 ENH: Factor argument parsing in AddExternalProject
The add_external_project function parses its arguments and puts them in
properties of the target it creates.  This factors out implementation of
the behavior for use by other functions in the module.
2009-03-30 11:35:50 -04:00
Brad King 5bc6869551 ENH: Teach AddExternalProject a 'complete' step
This separates creation of the project completion sentinel file from the
'install' step to allow more steps to be added in between later.
2009-03-30 11:35:22 -04:00
Alexander Neundorf 9b8281eadc ENH: mark the two variables as advanced
-remove unnecessary deault search dirs

Alex
2009-03-27 17:11:38 -04:00
Clinton Stimpson ff561cd1d3 ENH: Do a recheck of QT_MAC_USE_COCOA when qmake executable changes. 2009-03-26 11:04:18 -04:00
Clinton Stimpson 6a6ade8de2 ENH: Support OUTPUT_LOCATION property for qm files.
Fixes #8492.
2009-03-25 15:29:46 -04:00
Philip Lowman 45a3397bac ENH: NEW: FindGTK2 module 2009-03-22 17:13:31 -04:00
Philip Lowman 1a0512b061 BUG: LIST(REMOVE_ITEM...) was being called on a variable that could be empty. 2009-03-20 23:52:32 -04:00
Clinton Stimpson 55a6042d9c BUG: Need to fix find of qtmain library when qmake executable is changed. 2009-03-19 15:44:54 -04:00
Brad King 566c8bb15b STYLE: Reminder note for add_external_project work 2009-03-18 11:01:25 -04:00
Brad King 2cc46c12f8 ENH: Add patch step for add_external_project
The patch step runs parallel to the update step since it does not make
sense to have both.  Configuration of the step requires specification of
a PATCH_COMMAND argument to add_external_project.
2009-03-18 11:01:02 -04:00
Brad King 6ae0ff626a ENH: Improve add_external_project interface
This rewrites the keyword/argument parsing and handling in the
AddExternalProject module to use arguments more literally:

  - The strict keyword-value pairing is gone in favor of keywords with
    arbitrary non-keyword values.  This avoids requiring users to escape
    spaces and quotes in command lines.

  - Customized step command lines are now specified with a single
    keyword <step>_COMMAND instead of putting the arguments in a
    separate entry (previously called <step>_ARGS).

  - Build step custom commands now use VERBATIM mode so that arguments
    are correctly escaped on the command line during builds.
2009-03-18 11:00:30 -04:00
Philip Lowman 10da3f74ea BUG: Eliminates detection of Boost system library prior to 1.35 (see issue #8734) 2009-03-16 22:28:35 -04:00
Brad King 493f88ce55 ENH: Allow projects to disable per-rule echo lines
This creates global property RULE_MESSAGES which can be set to disbale
per-rule progress and action reporting.  On Windows, these reports may
cause a noticable delay due to the cost of starting extra processes.
This feature will allow scripted builds to avoid the cost since they do
not need detailed information anyway.  This replaces the RULE_PROGRESS
property created earlier as it is more complete.  See issue #8726.
2009-03-16 16:55:58 -04:00
Brad King 2f651c2e59 ENH: Allow projects to disable per-rule progress
This creates global property RULE_PROGRESS which can be set to disbale
per-rule progress reporting.  On Windows, progress reports may cause a
noticable delay due to the cost of starting an extra process.  This
feature will allow scripted builds to avoid the cost since they do not
need detailed progress anyway.  See issue #8726.
2009-03-16 16:22:19 -04:00
Alexander Neundorf cbb7a509e8 ENH: when using the Eclipse project generator, run gcc so that it tells us
its system include directories. These are catched in CMakeSystemSpecificInformation.cmake
(only with the Eclipse generator) and then written by the Eclipse generator
in the Eclipse project file. This way Eclipse can find the standard headers
(#7585)
Not sure CMakeSystemSpecificInformation.cmake is the best place to do this.

Alex
2009-03-13 16:52:58 -04:00
Philip Lowman cd3984eea3 STYLE: Moved functions/macros to top of file so main is more readable. 2009-03-12 21:06:08 -04:00
Alexander Neundorf 8d5b090188 STYLE: fix documentation: the second short description discarded the first
one, but the first one was the correct one (i.e. the one which mentioned
that CheckC[XX]SourceRuns.cmake also tries to run the executable)

Alex
2009-03-11 18:13:53 -04:00
David Cole 6d242ca2dc STYLE: Use $ style variable dereference instead of @ style. 2009-03-05 10:08:03 -05:00
Bill Hoffman f9dd6a38c5 ENH: add file back bug use cmake image 2009-03-04 12:30:23 -05:00
Brad King ba5cbf0fb1 ENH: Better recursive make in AddExternalProject
This teaches AddExternalProject to run "$(MAKE)" for build and install
steps of CMake-based external projects when using a Makefile generator.
It allows the external project to participate in a parallel make invoked
on the superproject.
2009-03-04 11:45:42 -05:00
Brad King 726114077d ENH: Allow empty arguments in external project API
This uses the get_property command to simplify property lookup in the
AddExternalProject module.  It distinguishes for build and install
argument properties the cases of unset and set to empty.
2009-03-04 09:21:16 -05:00
Bill Hoffman 5308afa3f7 ENH: remove unused file 2009-03-03 07:56:44 -05:00
Philip Lowman feb21f1dc0 STYLE: Fix documentation bug regarding Boost_<COMPONENT>_LIBRARY (COMPONENT
should be uppercase).
2009-03-02 21:09:36 -05:00
Philip Lowman f0edae98ea ENH: Detect perl & python scripts based on CXXTEST_INCLUDE_DIR (patch from
Tyler Roscoe on mailing list).
2009-03-02 20:29:38 -05:00
Brad King 19d9c824a8 BUG: Fix ASM source file extension default list
This replaces @ASM_DIALECT@ syntax with ${ASM_DIALECT} syntax so it will
be replaced correctly.  Patch from Derek Bruening.  See issue #8639.
2009-02-27 13:08:05 -05:00
Miguel A. Figueroa-Villanueva 3dce55fde0 BUG: Fix copy/paste error in previous commit that references wrong variable
(wxWidgets_INCLUDE_DIRS instead of wxWidgets_DEFINITIONS).
2009-02-25 17:17:34 -05:00
Alexander Neundorf bc8f2f50a8 ENH: add patch from Debian, which adds support lrelease-qt4 and lupdate-qt4
http://patch-tracking.debian.net/patch/series/view/cmake/2.6.3-1/FindQt4_qt4_lupdate_lrelease.diff

Alex
2009-02-25 16:29:29 -05:00
Brad King cb788e8f6d ENH: Re-enable system include dir suppression
This creates variable CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES to
specify implicit include directories on a per-language basis.  This
replaces the previous platform-wide variable.  It is necessary to
avoid explicit specification of -I/usr/include on some compilers
(such as HP aCC) because:

  1.) It may break ordering among system include directories defined
      internally by the compiler, thus getting wrong system headers.
  2.) It tells the compiler to treat the system include directory
      as a user include directory, enabling warnings in the headers.

See issue #8598.
2009-02-25 11:44:46 -05:00
Miguel A. Figueroa-Villanueva cf55e01ada BUG: Using PROPERTY COMPILE_DEFINITIONS_DEBUG to support Debug only preprocessor options (e.g., _DEBUG __WXDEBUG__). 2009-02-24 16:49:15 -05:00
Brad King 39f8b91125 BUG: Remove implicit include dir suppression
We used to suppress generation of -I/usr/include (and on OSX also
-I/usr/local/include).  This behavior seems to cause more trouble than
it's worth, so I'm removing it until someone encounters the original
problem it fixed.  See issue #8598.
2009-02-24 15:37:09 -05:00
Philip Lowman a58e183636 BUG: Fix issue #8576 FindBoost regression finding static libs, impacts MinGW and Intel/Windows compilers. 2009-02-24 00:49:01 -05:00
Clinton Stimpson 08ca8f5053 ENH: Support COMPONENTS argument to find_package().
See bug #8542.
2009-02-19 16:04:57 -05:00
Clinton Stimpson abdcf91422 ENH: Support version argument in find_package().
See bug #8542.
2009-02-19 15:51:43 -05:00
David Cole 553ddde8d1 BUG: Allow third component of Mac OSX sw_vers output to be empty. Mac OSX 10.5 was recently reinstalled on dashmacmini3 and pointed out the fact that this expression is faulty when the reported version is simply 10.5 rather than 10.5.x... for example. This fixes it. 2009-02-17 16:59:58 -05:00
Brad King 0d34d44917 STYLE: Note find_package COMPONENTS in modules doc
This mentions the COMPONENTS option of find_package in the module author
documentation file "Modules/readme.txt".  See issue #8539.
2009-02-16 10:33:09 -05:00
Clinton Stimpson 2b4a472e81 ENH: Allowing finding a relocated Qt installation which contains a qt.conf to override the hardcoded paths in qmake.
Fixes #8532.
2009-02-13 18:52:02 -05:00
Brad King 0e067ad3d1 ENH: Create include(CTest) launcher interface
This defines a new CTest configuration variable CTEST_USE_LAUNCHERS.
When set to true it puts 'ctest --launch' in RULE_LAUNCH_* properties
and enables the CTest configuration option 'UseLaunchers'.  Currently
this works only for Makefile generators.
2009-02-11 15:18:13 -05:00
Clinton Stimpson 54e258414d ENH: Change FILEPATH to STRING for a list of libraries. 2009-02-10 18:13:24 -05:00
Bill Hoffman 016d17f0cb ENH: change include command 2009-02-10 12:56:32 -05:00
Brad King b604b98c56 ENH: Define RULE_LAUNCH_* properties
This defines global, directory, and target properties
RULE_LAUNCH_COMPILE, RULE_LAUNCH_LINK, and RULE_LAUNCH_CUSTOM.  Their
values specify 'launcher' command lines which are prefixed to compile,
link, and custom build rules by Makefile generators.
2009-02-10 08:51:15 -05:00
Philip Lowman 39888c4ae1 STYLE: Clarified example to illustrate need to call target_link_libraries() in response to Issue #8485. Changed CMake commands to lowercase. Added licensing info to copyright 2009-02-09 23:05:38 -05:00
Philip Lowman 17656ace03 BUG: Resolves Issue #8393, Remove workarounds in FindBoost once UNC-Path bug
is fixed
2009-02-09 22:39:31 -05:00
Philip Lowman cae2da8d16 STYLE: Improved examples, spelling & grammar in documentation 2009-02-09 22:34:13 -05:00
Clinton Stimpson dda19cd36f ENH: Support .hpp with automoc. 2009-02-09 16:42:19 -05:00
Christopher Harvey e18a33e491 ENH: Made the documentation for FindDevIL.cmake cleaner. Changed the XXX_LIBRARYs to XXX_LIBRARIES. 2009-02-09 16:25:48 -05:00
Clinton Stimpson f26c235aba BUG: When detecting if qmake executable is changed, don't error if path
contains regex chars.
2009-02-07 12:23:02 -05:00
Clinton Stimpson 56ade2af43 ENH: Add support for building with Qt's ActiveX support on Windows. 2009-02-05 23:01:38 -05:00
David Cole 3ad6aa6a98 BUG: Add debug message calls to figure out ExternalProject test failure on AIX dashboard. 2009-02-04 18:24:20 -05:00
Bill Hoffman 5b2b40d34b BUG: fix potential issue with empty strings 2009-02-03 08:38:34 -05:00
Bill Hoffman 377bf9dbd1 BUG: include should not have .cmake 2009-02-02 16:30:04 -05:00
Philip Lowman de70cc194b BUG: Fixes configure error if you don't specify a version with find_package() 2009-01-31 13:57:48 -05:00
Philip Lowman 1897b563d9 BUG: Fix library detection for GDAL on most Linux distributions (Issue #7445) 2009-01-31 01:50:40 -05:00
Philip Lowman 78bbf5a0de ENH: Added FindOpenSceneGraph.cmake which is intended to wrap any of the existing Findosg* modules (or even user specified modules in CMAKE_MODULE_PATH) and aggregate the include dirs & libraries while providing a COMPONENT frontend and version checking (Fixes Issue #6973). Also added a note to Findosg.cmake to refer new users to the module. 2009-01-30 20:09:16 -05:00
Philip Lowman 4b45824294 ENH: Added OSG_ROOT as supported env var (it's in the wild already). Cleaned
up FindOpenThreads to support PATH_SUFFIXES.  Removed superfluous WIN32 registry
checks which should have been $ENV{} checks.
2009-01-30 16:55:57 -05:00
Philip Lowman 1569f5d0e4 BUG: Fix other modules not respecting QUIET and REQUIRED 2009-01-30 15:13:07 -05:00
Philip Lowman 901b4b6c3f BUG: The QUIET and REQUIRED find attributes on each Findosg* module were not
being respected.
2009-01-30 14:33:08 -05:00
Philip Lowman 6ccd60dee3 ENH: Added a mark_as_advanced() wrapper function. 2009-01-30 14:29:26 -05:00
Philip Lowman 25325c8f4d BUG: Fixes detection of lua libraries installed from FreeBSD ports (Issue #8421) 2009-01-30 03:02:49 -05:00
David Cole 75fb6798ab BUG: Remove unnecessary double quotes from SET statements. Hopefully resolves the strange and difficult to diagnose (or reproduce) test failures on the dashmacmini2 Continuous dashboard. 2009-01-29 14:57:38 -05:00
Brad King 7ca59f1724 BUG: Fix OS X dylib version flags for more linkers
Some OS X linkers want a 'dylib_' prefix on the -compatiblity_version
and -current_version flags while others do not.  This passes the flags
through gcc instead since it never wants the prefix and translates the
flags for the linker correctly.
2009-01-29 13:41:58 -05:00
Clinton Stimpson f9710e22ec ENH: Also find .moc files if there are spaces between # and include.
Fixes #8433.
2009-01-29 13:26:01 -05:00
Bill Hoffman 9b0fe5738b BUG: fix for # 8413 add more haiku searching 2009-01-29 11:42:07 -05:00
Philip Lowman 6f000b55c9 STYLE: Reworded some of the OS-X code comments 2009-01-28 22:56:38 -05:00
Clinton Stimpson 26238d7d9a ENH: Better way to add framework includes. 2009-01-28 15:04:52 -05:00
Bill Hoffman d38c0de82f ENH: clean up status and change order for more common compilers first 2009-01-28 12:55:06 -05:00
Bill Hoffman 0dd0e2d6e6 ENH: add openmp support 2009-01-28 12:45:03 -05:00
David Cole 2cd839142d BUG: Fix careless typo that only caused test failures on clean builds... 2009-01-28 06:10:12 -05:00
David Cole 9e3705b5b8 BUG: Try to fix the universal binary continuous dashboard on dashmacmini2. I am deducing that the value of CMAKE_OSX_ARCHITECTURES_DEFAULT is responsible for the failure, although I cannot reproduce it on other builds or even by running the test via ctest interactively *on* the continuous dashboard's build... 2009-01-27 15:51:43 -05:00
David Cole 2853326e7a BUG: Only set CMAKE_OSX_DEPLOYMENT_TARGET on Mac OSX 10.4 or later. The gcc that runs on 10.3 and earlier does not understand the compiler flag it maps to... 2009-01-27 11:50:41 -05:00
David Cole 1dee719cdc BUG: Fix issue #6195. Add CMAKE_OSX_DEPLOYMENT_TARGET cache variable to specify the target deployment runtime OS version of the built executables on Mac OSX. Thanks to Mike Jackson for the patch. 2009-01-27 10:30:55 -05:00
Clinton Stimpson aad46d7989 BUG: Fixed recent regression when finding some includes. 2009-01-26 10:12:37 -05:00
Clinton Stimpson f1916357f2 ENH: Should have a -F for framework includes on Mac. Fixes ParaView build with Qt 4.5 on Mac. 2009-01-23 17:37:44 -05:00
Clinton Stimpson b2d52b07ad ENH: Add convenience for identifying Cocoa based Qt. 2009-01-23 16:52:15 -05:00
David Cole c58f2a5830 ENH: Turn off CPACK_BINARY_TBZ2 and CPACK_BINARY_ZIP by default. Strictly speaking, this changes behavior from cpack 2.6, but now that cpack returns a non-zero exit code when it encounters an error, and it is an error to try to use a generator that is not available... It makes sense to turn these off by default since not everybody has these generators installed. It is easy for a project to turn these options back on if they need to: simply set(CPACK_BINARY_TBZ2 ON) or set(CPACK_BINARY_ZIP ON) before include(CPack) in your CMakeLists.txt... 2009-01-23 13:36:22 -05:00
Philip Lowman 138c445781 ENH: Better support for "fltk-config" binary, added options so the user
doesn't have to have everything in order for FLTK_FOUND to be true.  #7809
2009-01-23 00:30:22 -05:00
David Cole 3a4f76949a BUG: Fix issue #8402. Add a drag and drop bundle generator to the Mac build of CPack. Add a test of it in the CPackComponents test. Thanks to Clinton Stimpson for the patch. 2009-01-22 12:12:44 -05:00
Philip Lowman 7939529d0c BUG: Fixes detection of FLTK on Gentoo (Issue #7809) 2009-01-21 23:52:37 -05:00
Philip Lowman 570d6b4aa9 BUG: Fixes #8376: FindFLTK fails because include file can be FL/Fl.H and CMake
only looks for FL/Fl.h.  Verified: all FLTK header files in 1.1.9 are .H ...
how bizarre.
2009-01-21 22:43:22 -05:00
David Cole c647ed54d9 BUG: Fix issue #7833: Add file extension handling to CPack generated installers for OSXX11 applications. Also modify the X11 test to build such an installer on Mac builds that test CPack and have X11 available. Thanks to Wes Turner for the patch. 2009-01-21 11:54:30 -05:00
Brad King d2f27558df STYLE: Fix if/endif mismatch in FindKDE4 2009-01-21 09:49:37 -05:00
Philip Lowman 163af93449 BUG: Fix detection of boost libraries without any compiler encoding (e.g.
Gentoo 1.37 system installed boost).  Fixes issue #8404 reported on mailing
list.
2009-01-19 22:51:27 -05:00
Philip Lowman 47588ac8d0 BUG: Fixes Issue #8054 and more. DOXYGEN_DOT_FOUND now exists, errant
mark_as_advanced variables removed, documentation cleaned up and OSX stuff
isolated to it's own section, support added for DOXYGEN_SKIP_DOT, support
added to call FindPackageHandleStandardArgs to avoid output on every CMake
run.
2009-01-19 22:28:09 -05:00
Philip Lowman 4dae139ad4 BUG: Missing "icpc" as a possible CXX compiler for Intel C++. Also refactored
gcc -dumpversion code and regex to a function.
2009-01-19 21:30:04 -05:00
Philip Lowman 9aaa9f7529 BUG: Switch FindBoost.cmake to use CMAKE_COMPILER_IS_GNUCXX (Issue #8398) 2009-01-19 19:21:10 -05:00
Philip Lowman d1640b11de BUG: Fixed Issue #7331 Bugs in Findosg*.cmake. Also added OPENTHREADS_LIBRARIES. 2009-01-19 13:33:36 -05:00
Philip Lowman d69e68609c BUG: Reverted change made in 1.27, should be unnecessary (Issue #7508) 2009-01-19 05:14:30 -05:00
Philip Lowman b87e0687bd BUG: Resolve Issue #7508, FindBoost fails to find boost on SuSE 10.3 2009-01-19 02:35:03 -05:00
Philip Lowman ab36f5a11e ENH: Added 1.38 since it'll be out soon. More documentation and clarified examples, addressed autolinking issue on MSVC 2009-01-19 02:27:32 -05:00
Philip Lowman 6d37f93a38 BUG: Do not check for GCC version encoding in filenames on Boost libraries prior to 1.35. Eliminate "lib" prefix except on MSVC. 2009-01-19 01:02:46 -05:00
Philip Lowman f7ba5a7fc8 BUG: Fixed additional issues with autodetecting compiler tags properly including Issue #6926 2009-01-18 17:19:54 -05:00
Philip Lowman ee91442a90 BUG: Fixes problem with _boost_ABI_TAG appending to itself if FindBoost is called more than once (Issue #7460) 2009-01-18 16:40:53 -05:00
Philip Lowman d077940f94 STYLE: minor cleanup 2009-01-18 15:53:45 -05:00
Philip Lowman c4e85549c9 BUG: Removed some code which was squashing Boost_LIBRARIES on WIN32 under the auspices of forcing the user to use autolinking, but it only did this squashing on the first call to FindBoost. Subsequent calls to FindBoost would not have Boost_LIBRARIES squashed so this code was doing nothing. If you link your target_link_libraries() against dynamic boost libraries it appears from tools like Dependency Walker that the pragma calls to autolink to the static boost libraries are ignored. It's therefore too late to make this squash apply to all calls to FindBoost because that would break users that have not setup autolinking properly. For now this fix is largely cosmetic since the original code never worked anyways (see version 1.5 introduced on 4/22/08). 2009-01-18 15:41:18 -05:00
Philip Lowman 909dd8af48 BUG: Fixed documentation bug with Boost_USE_MULTITHREADED, removed OPTION() call since it would be useless and confusing after an initial configure. 2009-01-18 15:17:31 -05:00
Philip Lowman 5913dc1e88 BUG: Fixed superfluous and duplicate dirs in Boost_LIBRARY_DIR. Employed workaround for Issue #8378. Resolves Issue #8099 2009-01-18 14:40:48 -05:00
Philip Lowman 34b9dcc3b2 BUG: Fixed issues using FindBoost with BoostPro packaged releases. Fixed
regression for bjam users on Win32 introduced in 1.4.2.4 (7/13/08).  This
commit partially or completely resolves Issues #8173, #8326, #7943, #7725!
2009-01-16 04:07:03 -05:00
Philip Lowman 20f2a086d3 BUG: fixed bug #7529: FindBoost fails to find boost on SuSE 11.0 due to GCC
reporting version x.y and not x.y.z
2009-01-15 02:07:03 -05:00
Philip Lowman 0864c71c3b BUG: Fixes bug #8059. Also added Boost_DEBUG variable for troubleshooting. 2009-01-15 01:22:15 -05:00
Alexander Neundorf 4a6ea82257 ENH: fix #7913: find also python 2.6 on windows
Alex
2009-01-10 08:46:37 -05:00
Alexander Neundorf b4956a574a BUG: fix #8122, _firstPoFile was not empty because it was no real variable
but just a macro argument -> make it a real variable

Alex
2009-01-10 08:39:35 -05:00
Alexander Neundorf 097af4b86e STYLE: fix typo
Alex
2009-01-09 20:26:07 -05:00
Alexander Neundorf fe3945bee1 STYLE: this is not necessary anymore for kdevelop, the kdevelop generator
now generates the project so that the environment variable VERBOSE is set to
1 when make is executed by kdevelop (and additionally this didn't work,
since CMAKE_GENERATOR never matches KDevelop3, this is now in
CMAKE_EXTRA_GENERATOR)

Alex
2009-01-09 20:18:25 -05:00
Philip Lowman 206c09c4f6 BUG: Fixed CXXTEST_INCLUDE_DIRS so it will work properly with NOTFOUND.
Also eliminated superfluous CXXTEST_FOUND assignment and cleaned up the code
and added additional documentation. Tagged v1.0.
2009-01-08 04:47:40 -05:00
David Cole b640257884 BUG: Fix install_name_tool problem on the Mac when a PROJECT(... NONE) is followed by multiple calls to ENABLE_LANGUAGE. Use find_program to set the CMAKE_INSTALL_NAME_TOOL variable so it gets saved in the cache as a full path to the install_name_tool executable rather than a simple set which eventually goes out of scope. 2008-12-30 09:11:54 -05:00
David Cole b77d00b7f6 ENH: New location to look for "dot" 2008-12-26 12:06:38 -05:00
David Cole 5d9e78e918 ENH: Re-work of fix committed yesterday for the Watcom WMake dashboard. Fix it properly by using the SYMBOLIC source file property to indicate to WMake when the sentinel file is not actually written by the update step. 2008-12-24 10:10:40 -05:00
Miguel A. Figueroa-Villanueva 1e5d400100 BUG: Fixed placement of initial wxWidgets_FOUND=TRUE statement, which allowed
some cases to breakaway from tests without resetting to FALSE (BUG: 8188).
2008-12-24 04:31:33 -05:00
Alexander Neundorf 903b0a8150 BUG: use FindPkgConfig.cmake instead of UsePkgConfig.cmake, sync with KDE
svn and fix bug #8290

Alex
2008-12-22 03:00:08 -05:00
David Cole 468c9e250b ENH: Add the update step in between download and build. Add UPDATE_ARGS and UPDATE_COMMAND handling. Output a -complete sentinel in synch with the -install sentinel, but do not list it as an OUTPUT of the custom command. That breaks the chaining of add_custom_commands between custom targets, but allows for a file-level dependency expression that will cause proper incremental rebuilds. When earlier targets rebuild, subsequent dependent targets will also rebuild. CVS and SVN update commands are always out-of-date so that they always run to get the latest source. To suppress that behavior on a per-external project basis use an explicit empty string for UPDATE_COMMAND. The source will still be checked out from the repository prior to the update step by the download step. 2008-12-19 10:35:16 -05:00
Bill Hoffman 46feb1302c BUG: fix for #8298 look for libexpat as well 2008-12-18 21:53:56 -05:00
Brad King d5c1191349 ENH: Use 32-bit and 64-bit Program Files folders
On 64-bit Windows there may be two Program Files folders, one for 32-bit
binaries and one for 64-bit binaries.  When we compute
CMAKE_SYSTEM_PREFIX_PATH we should put both folders in the path.
2008-12-17 09:23:30 -05:00
Clinton Stimpson 515ce9315d BUG: Fix for #8247.
Add QT_TRANSLATIONS_DIR pointing to the Qt translation files, and docs for it.
      Also add docs for QT_BINARY_DIR.
2008-12-15 18:48:48 -05:00
Philip Lowman 9b9578e098 ENH: Added FindCxxTest module to assist others in using the CxxTest unit testing framework within CTest 2008-12-11 22:05:30 -05:00
David Cole 09084d89fb ENH: Default to the same cmake used for configuring when building and installing. If none specified default to the cmake used to configure the outer/aggregating project. 2008-12-09 15:31:28 -05:00
Brad Davis 5fe7b17d98 ENH: adding functionality for finding Squish, adding Squish tests from CMake, and running Squish tests from ctest 2008-12-08 17:39:30 -05:00
David Cole 98afdd0e37 BUG: Make sure all directories used as working directories exist at CMake configure time as well as having custom commands that create them. Necessary for the Borland Makefiles generator to generate short path names in the makefile build rules. Also, make sure all custom commands chain together properly through the use of the sentinel files. 2008-12-08 14:58:59 -05:00
David Cole dba2c51d90 ENH: Make it easier to use configure/make/make-install as the build steps for an external project. Add capability of customizing the download step. Add tests of empty projects. Better comments and error checking in AddExternalProject.cmake. In tests, use KWStyle from CVSHEAD to see if QNX continuous can build the latest KWStyle. Make KWStyle test depend on all previous test external projects so it builds last to catch other issues before any KWStyle compile errors. 2008-12-05 15:18:32 -05:00
David Cole 930827d48c ENH: First draft of add_external_project functionality. Tweaks, dashboard fixing, more tests and documentation certain to follow as it gets used by others... 2008-12-04 13:27:48 -05:00
Bill Hoffman 24bff45d1b BUG: make sure list is not size 0 before sort 2008-12-04 09:12:31 -05:00
Bill Hoffman c553c29e9f ENH: fix curses on haiku 2008-12-03 16:13:17 -05:00
Bill Hoffman e87d252e95 BUG: #7904 add rpm package depend 2008-12-03 14:37:13 -05:00
Clinton Stimpson 25eeb3c47c BUG: Revert 1.138. 2008-11-25 16:56:44 -05:00
Bill Hoffman c224659b66 BUG: fix for #8089, fix rebuild with fortran and -D 2008-11-14 17:45:56 -05:00
David Cole d78eab74eb BUG: Because of Windows registry madness, we could not find the redistributables directory on Win64 builds... Add a search directory based on devenv (CMAKE_MAKE_PROGRAM) location so we can find it despite the madness. 2008-11-13 17:12:41 -05:00
Alexander Neundorf 73117edf04 BUG: the modules shipped with cmake don't need
CMAKE_MINIMUM_REQUIRED(VERSION), because the cmake they are shipped with is
always ok. Additionally, if a Find-module does CMAKE_MINIMUM_REQUIRED(), it
changes the policies as they may be set up by the project. So this shouldn't
be done in a Find-module (or surrounded by policy-push/pop commands)

Alex
2008-11-13 16:46:08 -05:00
Christopher Harvey 00d1ffd812 ENH: Added First revision of FindDevIL.cmake 2008-11-12 12:26:53 -05:00
Bill Hoffman 619151d014 ENH: fix fortran flags on g77 windows 2008-11-11 13:58:55 -05:00
Bill Hoffman a4f04d5817 ENH: fix fortran flags on sun 2008-11-11 13:58:31 -05:00
Alexander Neundorf 73183bc215 STYLE: add some comment, so it says at least a bit what it is good for
Alex
2008-11-05 18:51:46 -05:00
Clinton Stimpson e8e4160cce BUG: Fix #7969. Fix moc output files if source dir contains regex characters. 2008-11-05 17:56:55 -05:00
Alexander Neundorf 19046aa98c ENH: add support for the MS masm and masm64 assemblers, works with nmake,
not (yet) with the Visual Studio generators

Alex
2008-11-05 17:27:41 -05:00
Clinton Stimpson 49db4e53a1 BUG: Fix #7934. phonon doesn't always depend on QtDBus. 2008-11-05 16:54:26 -05:00
Alexander Neundorf b1606e6bde STYLE: mention cdash (not only dart)
Alex
2008-11-03 16:23:43 -05:00
Bill Hoffman a8b17d9e9a ENH: fix for intel module on linux 2008-10-31 07:50:28 -04:00
Bill Hoffman b7f75016a6 ENH: better output if module linkage is not found 2008-10-30 17:48:03 -04:00
Bill Hoffman 6066a3fca6 ENH: fix uppercase version so defines are not upper as well 2008-10-30 16:50:12 -04:00
Bill Hoffman c0e7bcd4ae ENH: fix check for intel windows module mangling 2008-10-29 19:49:18 -04:00
Bill Hoffman 574530c07d ENH: fix check for intel windows module mangling 2008-10-29 19:34:12 -04:00
Bill Hoffman 4dd0afd069 ENH: add check for intel windows module mangling 2008-10-29 17:40:35 -04:00
Bill Hoffman ae70a5b327 ENH: add check for intel windows module mangling 2008-10-29 17:40:05 -04:00
Bill Hoffman 5995ff36df ENH: fix upper case 2008-10-29 17:37:01 -04:00
Bill Hoffman 351ef7c187 ENH: only check for module linkage if f90 is available 2008-10-29 12:24:07 -04:00
Bill Hoffman 4cb360afd2 ENH: fix for xlf module linkage 2008-10-29 11:50:20 -04:00
Bill Hoffman 84a4222314 ENH: add test for FortranCInterface 2008-10-29 10:58:40 -04:00
Bill Hoffman 3155ff600d ENH: add support for g77 extra _ at the end of functions that have an _ in the name... 2008-10-28 19:53:54 -04:00
Bill Hoffman 2866984b4d ENH: add support for module functions 2008-10-27 21:42:41 -04:00
Bill Hoffman 3a97e4699c ENH: add fortran link discovery module 2008-10-27 15:23:14 -04:00
Petr Gotthard fce34113e0 BUG: Fixed CMAKE_FIND_LIBRARY_PREFIXES related error on Win32 systems. 2008-10-27 05:23:54 -04:00
Petr Gotthard de25f5d131 BUG: removed unused CMakeFindFrameworks include 2008-10-25 14:25:33 -04:00
Petr Gotthard d572f60ba4 ENH: added a module to find M&S HLA RTI 2008-10-25 12:20:03 -04:00
Clinton Stimpson 66db462bbe BUG: Fix find of assistant on Mac. 2008-10-24 17:48:35 -04:00
David Cole 86ded1ba58 ENH: Activate GetPrerequisites code on Linux. Thanks to Mike Arthur for finishing it off. 2008-10-24 11:39:10 -04:00
Clinton Stimpson f33943036e BUG: Fix regression in finding QtAssistant 2008-10-20 13:31:50 -04:00
Miguel A. Figueroa-Villanueva 0325639f30 BUG: Fix to find wxWidgets_LIB_DIR for windows platform more generally;
supports gcc, nmake, and visual studio in all configurations.
2008-10-20 11:50:04 -04:00
Miguel A. Figueroa-Villanueva a003ac39d3 BUG: Added unicode paths for wxWidgets_LIB_DIR search and the 2.8.9 suffix for wxWidgets_ROOT_DIR search. 2008-10-19 21:14:55 -04:00
Clinton Stimpson b82eb2b9b3 ENH: better way to find uic and moc. 2008-10-15 18:05:07 -04:00
Bill Hoffman e099dccf4b ENH: remove extra set 2008-10-15 10:49:54 -04:00
Bill Hoffman 9d9582ffef ENH: fix problem where rc language recursively included itself because CMAKE_BASE_NAME was used from c compiler, do the same fix for other uses of CMAKE_BASE_NAME 2008-10-14 16:07:11 -04:00
Bill Hoffman 9430c3f335 ENH: better error message for mis-configured nmake environment 2008-10-14 11:42:45 -04:00
Clinton Stimpson 9b2744f6fe ENH: When changing the qmake pointed to, re-find all of Qt's includes, libraries, etc...
This makes it much easier to switch between Qt versions.
2008-10-13 22:12:54 -04:00
Clinton Stimpson ca8c4ea4a6 BUG: Fix find of dbus dependency in Qt 4.4 2008-10-13 19:39:47 -04:00
David Cole f1f168371a BUG: Fix for issue #5193. Base result of FindMFC.cmake mostly on a TRY_COMPILE result. Gives accurate answer about whether MFC is available. 2008-10-10 17:43:56 -04:00
Brad King db4f2bdffc BUG: Avoid boost versions less than required
Construction of a list of candidate versions used to produce search
paths now discards versions less than requested by the user.
See issue #7783.
2008-10-09 17:04:11 -04:00
Brad King 7876a5098b BUG: Pass definitions to rc with Makefiles
The build rule to run the resource compiler on Windows with a Makefiles
generator should include the placeholder to add the definition flags.
See issue #7769.
2008-10-09 13:52:30 -04:00
Clinton Stimpson db0e1fd675 ENH: Fix #7784. Fix link of glib when needed. 2008-10-07 10:35:22 -04:00
Bill Hoffman 9d6cec87e0 BUG: fix for 5705, link in standard libs for mingw 2008-10-02 12:11:02 -04:00
Bill Hoffman 12be7c21d0 ENH: find perl with FindPerl not find_program, bug: 6243 2008-10-01 16:10:45 -04:00
Bill Hoffman ad63a47d02 BUG: fix for 7451 2008-10-01 14:19:20 -04:00
Bill Hoffman 6a1a1b632d BUG: fix for bug 4772, enable_language should now work on linux with correct flags 2008-10-01 13:24:51 -04:00
Bill Hoffman 3677e5b233 BUG: fix for 7746 2008-09-26 20:09:26 -04:00
Bill Hoffman cf5609221b BUG: fix for 7704 2008-09-25 17:02:06 -04:00
Clinton Stimpson 33e87980cb ENH: Fix #7433. Put list of files in a .pro file and call lupdate on it,
instead of putting the list of files on the command line.
2008-09-22 15:00:31 -04:00
Clinton Stimpson ae9f9e6994 BUG: remove debug statements. 2008-09-22 14:00:37 -04:00
Brad King 434a99bbeb ENH: Teach find_library to find OpenBSD-style libs
OpenBSD shared libraries use a ".so.<major>.<minor>" extension and do
not have a symlink with just a ".so" extension.  Its "ld" is capable of
finding the library with the best version.  This change adds support for
finding such libraries.  See issue #3470.
2008-09-22 11:08:17 -04:00
Bill Hoffman 924fae24cf BUG: 7435, remove warning for not setting DESTDIR 2008-09-22 09:56:24 -04:00
Bill Hoffman d07fefc9ee BUG: 7435 fixes to add optional post-install 2008-09-19 17:45:37 -04:00
Bill Hoffman 2394760388 ENH: try to make this work if ncurses lib is found bug not the ncurses header 2008-09-18 15:23:00 -04:00
Clinton Stimpson 139cae931e ENH: For #7433, add a bit more documentation and add ability
to specify extra flags to lupdate.
2008-09-18 10:56:58 -04:00
Matthew Leotta 20141bea1a ENH: added a module to find Coin3D 2008-09-17 14:29:18 -04:00
Brad King 79a3807340 BUG: Fix FindBoost versioned find
To locate the boost include directory, all search paths and versioned
path suffixes should be passed to one call of FIND_PATH.  Previously the
test for one version would find an unversioned system boost even when
the user set BOOST_ROOT (since the NO_DEFAULT_PATH option is not used).
See issue #7456.
2008-09-16 10:30:32 -04:00
Bill Hoffman 64fc597de2 ENH: add initial support for HAIKU OS from bug# 7425 2008-09-15 17:53:28 -04:00
Bill Hoffman 0e5319f21d BUG: fix for 6586, set THREADS_FOUND 2008-09-11 11:41:00 -04:00
Brad King 994262e5cc ENH: Improve find_package version numbering
Make the number of version components specified explicitly available.
Set variables for unspecified version components to "0" instead of
leaving them unset.  This simplifies version number handling for find-
and config-modules.  Also support a fourth "tweak" version component
since some packages use them.
2008-09-10 10:11:48 -04:00
Bill Hoffman b4475cf7e8 ENH: fix docs, bug 7590 2008-09-09 14:12:48 -04:00
Alexander Neundorf 1bcf48de98 BUG: only check for a toolchain prefix (e.g. "arm-linux-" in
"arm-linux-gcc") if we are cross compiling and the compiler is gcc

Alex
2008-09-08 17:43:31 -04:00
Bill Hoffman 43837fb3e1 ENH: do not add the same thing to the PATH again and again 2008-09-08 11:23:01 -04:00
Alexander Neundorf 281e441100 BUG: #7359 make llvm-gcc work, by explicitely excluding "llvm-" from _CMAKE_TOOLCHAIN_PREFIX
(use the (relatively) new CMAKE_MATCH_x variables set by all regex operations)

Alex
2008-09-07 16:54:01 -04:00
David Cole 6f8bdd276c ENH: Add BundleUtilities.cmake and supporting changes to GetPrerequisites.cmake. Function copy_and_fixup_bundle in BundleUtilities helps to make standalone bundle applications on the Mac by pulling in prerequisite non-system libraries and frameworks as needed. Uses otool and install_name_tool to do analysis and fixups. Project-specific hooks for deciding where to embed libraries and for resolving item names into full path file names are also provided. 2008-09-06 12:20:07 -04:00
Bill Hoffman 3c96dc6086 BUG: make sure the intel compiler uses the intel linker 2008-09-02 14:47:41 -04:00
Bill Hoffman 9fef50d56f BUG: remove Catalan as 2.29 does not have it 2008-09-02 14:46:45 -04:00
Brad King f89dae7a94 ENH: Create Info.plist files in OS X Frameworks
A Mac OS X Framework should provide a Resources/Info.plist file
containing meta-data about the framework.  This change generates a
default Info.plist for frameworks and provides an interface for users to
customize it.
2008-09-02 12:06:32 -04:00
Clinton Stimpson 87a31b5b7f ENH: For #7433, add documentation that directories also can be specified to
update the translation files.
2008-08-30 09:39:33 -04:00
David Cole 862b3cae2c BUG: Do not use "Default" as a language, remove 2nd occurence of "English", and remove three other languages not supported by older versions of NSIS. Tested with version 2.18 of NSIS on gaia.kitware. 2008-08-26 16:43:27 -04:00
Clinton Stimpson 5990594331 ENH: Add comments about pre-processor defines and moc. 2008-08-26 16:04:36 -04:00
Clinton Stimpson 263a4229e5 ENH: Use COMPILE_DEFINTIONS instead of DEFINITIONS. 2008-08-26 11:50:15 -04:00
Clinton Stimpson 607e4eb4b4 ENH: Add -DWIN32 for moc on Windows. Final fix for #7465. 2008-08-26 11:22:27 -04:00
Clinton Stimpson dbdca3440a ENH: Add -D preprocessor defines to the moc commands.
Needed to fix #7465.
2008-08-25 19:41:56 -04:00
Bill Hoffman 532e5d144c BUG: remove extension from inserts 2008-08-22 06:56:51 -04:00
Bill Hoffman 2739331c95 ENH: sort languages and use list from NSIS 2.22 2008-08-21 15:13:22 -04:00
Bill Hoffman 2d7893180c BUG: remove some languages that are not supported in older versions of NSIS 2008-08-21 13:55:57 -04:00
Bill Hoffman 08cb1db528 ENH: try to fix error 2008-08-20 18:00:57 -04:00
Bill Hoffman 2f20b9d33b BUG: fix for bug 7104 look for GL in X11R6 dirs 2008-08-19 15:59:58 -04:00
Bill Hoffman 77def5ed14 BUG: fix for bug 6775, FindPHP4 did not honor required 2008-08-19 14:28:43 -04:00
Bill Hoffman 736da84b4f BUG: fix for 6710 CMAKE_OSX_SYSROOT should be a PATH 2008-08-19 14:23:38 -04:00
Bill Hoffman 1d57093baf BUG: fix for 7446 NSIS support for other languages 2008-08-19 14:07:10 -04:00
Alexander Neundorf 03b434af8e BUG: fix closing ENDIF()
Alex
2008-08-17 05:38:02 -04:00
Alexander Neundorf 502841c974 BUG: fix closing IF()
Alex
2008-08-17 05:11:51 -04:00
Alexander Neundorf db4bebe5c8 BUG: fix #7447, FindModulesExecuteAll test fails if both Qt3 and KDE4 can be
found in the system

Qt3 and Qt4 cannot be used together in one project.
Now Qt3/KDE3 and Qt4/KDE4 handle the case that this is done nevertheless
properly, i.e. they fail with FATAL_ERROR if it was REQUIRED and they fail
with just MESSAGE(STATUS ...) and RETURN() if it was not REQUIRED

BUG: make FindQt4 error out with FATAL_ERROR also if it was searched QUIET

Alex
2008-08-16 19:11:53 -04:00
Alexander Neundorf bf4b0bfdd7 STYLE: remove some unnecessary lines
STYLE: everything uppercase in this file

Alex
2008-08-16 17:14:01 -04:00
Alexander Neundorf 5295385c34 ENH: also search in /usr/X11R7, remove /usr/lib and /usr/local/lib, they are
part of the standard search paths (partly sync wih KDE)

Alex
2008-08-16 07:38:12 -04:00
Alexander Neundorf ae31d88145 ENH: add more names for libtiff, mark TIFF_INCLUDE_DIR and TIFF_LIBRARY as
advanced (sync with KDE)

Alex
2008-08-16 07:29:53 -04:00
Alexander Neundorf 58afad0968 ENH: also search for xmllint, which comes with libxml2 (sync with FindLibXml2.cmake from KDE)
Alex
2008-08-16 07:22:59 -04:00
Alexander Neundorf 7f69a773ab ENH: add more names of linpng (sync with the KDE version)
Alex
2008-08-16 07:10:09 -04:00
Alexander Neundorf 35175120b1 STYLE: /usr/local/bin is in the path anyway
STYLE: this file is mostly uppercase commands, so make all commands
uppercase
ENH: add a status message in case pkgconfig didn't find the package (sync
with the one from KDE)

Alex
2008-08-16 07:01:49 -04:00
Bill Hoffman 0ea69917d9 ENH: add platform file for bounds checker 2008-08-15 15:07:56 -04:00
Alexander Neundorf 2a31328b97 BUG: fix documentation, the variables are named LUA50_FOUND and LUA51_FOUND
(in all released versions)

Alex
2008-08-14 15:34:59 -04:00
Brad King b8fc8b324d ENH: Improve robustness of compiler INFO strings
Compiler INFO strings built at preprocessing time encode information
that must appear as a string literal in the resulting binary.  We must
make sure the strings appear in the final binary no matter what compiler
and flags are used.  The previous implementation worked in most places
but failed with the GNU linker's --gc-sections option which managed to
discard the string.  Instead we make the program return value depend on
an element of the string indexed by a runtime program parameter, which
absolutely requires the string to be present.
2008-08-07 09:09:45 -04:00
Brad King 397336a244 ENH: Add preprocessor and assembly rules for Intel 2008-08-06 16:05:01 -04:00
Alexander Neundorf c2348da286 BUG: fix #7452, bad closing ENDIF() statement
Alex
2008-08-05 16:06:14 -04:00
Brad King aaa88d33a9 ENH: Build large archives incrementally
Creation of archive libraries with the unix 'ar' tool should be done
incrementally when the number of object files is large.  This avoids
problems with the command line getting too many arguments.
2008-08-04 11:37:19 -04:00
Miguel A. Figueroa-Villanueva 6cdbaf1422 STYLE: Fixed module list in documentation; Magick should be MagickCore. 2008-08-01 20:38:37 -04:00
David Cole bab77e53e3 BUG: Fix issue #6610. Use 64-bit system binaries when using the 64-bit MSVC compiler. Thanks to Clinton Stimpson for the patch. 2008-07-30 15:43:14 -04:00
Bill Hoffman d34068e2d4 BUG: #7416 fix error when jpeg is not found 2008-07-29 16:41:29 -04:00
Douglas Gregor f0dac4d017 BUG: Be more careful with Boost_MINOR_VERSION in FindBoost module 2008-07-28 15:40:04 -04:00
Douglas Gregor c2a782a621 BUG: Work around Boost 1.36.0 bug fix on Darwin by setting the mangled compiler name to -xgccVERSION 2008-07-28 14:33:40 -04:00
Miguel A. Figueroa-Villanueva 363727f600 ENH: Updated FindImageMagick to:
- Find newer additions such as animate, compare, etc.
- Find development api: Magick++, MagickCore, MagickWand
- Use FindPackageHandleStandardArgs to output standard messages.
2008-07-23 02:47:36 -04:00
Bill Hoffman 8aae78d204 ENH: change to correct line feed 2008-07-22 13:35:07 -04:00
Bill Hoffman 87f3a15a80 ENH: change to correct line feed 2008-07-22 13:34:09 -04:00
Alin Elena a57fc5585a ENH: FindBLAS.cmake, FindLAPACK.cmake modules were redesigned so now you have three new variables BLA_VENDOR (you can specify the VENDOR), BLA_STATIC (gets the static version of libs), BLA_F95 (gets the fortran 95 interface). BLA_VENDOR can be specified as an environment variable. Intel mkls libs need FindThreads to be found correctly so you will need to enable the C/CXX 2008-07-22 07:15:31 -04:00
Bill Hoffman 7183a632f0 ENH: get out of module if no fortran 2008-07-21 15:34:11 -04:00
Bill Hoffman e1a2c08628 ENH: this should fail only if required is sent to find package 2008-07-21 15:11:03 -04:00
Alin Elena 834dd533ed ENH: checks if Fortran is enbaled. If not an error message is produced. 2008-07-21 13:40:31 -04:00
Alin Elena dbb89f47aa ENH: Modules/CheckFortranFunctionExists.cmake helps gfortran to check the existence of a file
ENH: Modules/FindLAPACK.cmake returns the full list of libraries required to link against Lapack
2008-07-21 04:56:26 -04:00
Alexander Neundorf fdd99aa361 BUG: #7333, search dirs for Fedora
Alex
2008-07-20 15:50:13 -04:00
Alexander Neundorf ef2424c9da BUG: #7360: add support for FreeBSD
BUG: #7345: add support for ppc

Alex
2008-07-20 15:45:49 -04:00
Alexander Neundorf f889f9e35f BUG: fix #6416: provide JNI_LIBRARIES and JNI_INCLUDE_DIRS
Alex
2008-07-20 15:39:02 -04:00
Douglas Gregor fa458957ab ENH: Use the HINTS feature of find_library to find the right libraries for
MPI, and act a bit more intelligently when MPI cannot be found.
2008-07-18 08:17:23 -04:00
Douglas Gregor 89a39b48c3 ENH: FindBoost can now find the upcoming Boost 1.46 2008-07-14 13:52:53 -04:00
Miguel A. Figueroa-Villanueva 8adb6b9be2 ENH: Improved support for finding wxWidgets in MinGW environment. 2008-07-13 18:06:22 -04:00
Brad King 4e5e3161a3 BUG: Fix dylib versioning flags for old OSX.
- ld flags -dylib_compatibility_version and -dylib_current_version
    are libtool flags -compatibility_version and -current_version
  - OSX 10.3 does not like the dylib_ prefixes.
2008-07-09 17:45:45 -04:00
David Cole 71f61636b6 ENH: One more patch from Doug Gregor including PackageMaker functionality for componentized-for-the-end-user and download-some-bit-on-demand installers. 2008-07-09 13:38:56 -04:00
Brad King 0d54001276 ENH: Set version info for shared libs on OSX.
- Map SOVERSION major.minor.patch to compatibility_version
  - Map VERSION major.minor.patch to current_version
  - See issue #4383.
2008-07-09 10:09:46 -04:00
David Cole 83ec8c3593 ENH: Further refinement of the CPack components functionality from Doug Gregor.
Details:
==========

 - New cpack_add_component, cpack_add_component_group, and
cpack_add_install_type "commands" defined as macros in the CPack
module.
 - Documentation for all of the variables and commands in the CPack module.
 - Added get_cmake_property(... COMPONENTS) to CMake to ask for the
names of all components. Used in the CPack module to automatically
build component-based installers. (Set CPACK_MONOLITHIC_INSTALL to
turn off component-based installation).
 - A group can declare its PARENT_GROUP, to build an arbitrary
hierarchy of groups.
 - New CPack command cpack_configure_downloads, which creates an
installer that downloads only the selected components on-the-fly.
Those components marked DOWNLOADED will be separate packages
downloaded on-the-fly (or, all packages can be marked as such with the
ALL option to cpack_configure_downloads). Individual components are
compressed with ZIP at installer-creation time and
downloaded/uncompressed by the installer as needed. This feature is
only available on Windows with NSIS at the moment.
 - NSIS installers can install themselves and enable the "Change"
button in Add/Remove programs, allowing users to go back and install
or remove components. This can be disabled through
cpack_configure_downloads, because it's only really useful is most of
the application's functionality is in downloaded components.
 - Bug fix: automatically install everything whose COMPONENT was not
specified (it's a hidden, required group)
 - Bug fix: fixed removal of components when re-running the NSIS
installer and unchecking components
 - Bug fix: NSIS installers now only install/remove the minimal
number of files when re-run to update the installation (or by clicking
"Change" in Add/Remove programs)
2008-07-08 11:52:25 -04:00
Miguel A. Figueroa-Villanueva 5aa8ec2067 BUG: Add new library richtext. Reported in #7284 thanks to earith. 2008-07-06 04:57:40 -04:00
Clinton Stimpson 65ad7ba830 BUG: Watch for empty qconfig.pri files. Fixes #7287. 2008-07-05 11:57:57 -04:00
Douglas Gregor 247b7cc551 COMP: Find Boost as installed by the BoostPro/Boost Consulting installers on Windows 2008-07-03 18:19:39 -04:00
Douglas Gregor 566647d34f ENH: Cleanup FindBoost module, fixing several small bugs and providing better diagnostic information when things go wrong 2008-07-03 15:49:41 -04:00
Alexander Neundorf 0a012cc428 BUG: fix 7230: don't ignore first parameter if it's not ALL
Alex
2008-06-29 18:58:50 -04:00
Bill Hoffman c59603f48e BUG: don't run KDE4_KDECONFIG_EXECUTABLE if it is notfound 2008-06-26 13:14:28 -04:00
Bill Hoffman 6b12da90ea ENH: undo optional because we need it 2008-06-24 16:47:31 -04:00
Bill Hoffman 32d4be94a9 ENH: rc is not so optional at least with 2005 and newer, as it is used to embed the manifest files 2008-06-24 15:50:17 -04:00
Bill Hoffman 2b21d8e16b ENH: make rc optional 2008-06-23 13:37:58 -04:00
Alexander Neundorf ef71462e3e BUG: modify the compiler flags only if KDE3 has actually been found
Alex
2008-06-18 19:02:20 -04:00
Alexander Neundorf 8fc2142364 STYLE: use uppercase to be consistent with the rest of the file
Alex
2008-06-18 18:57:21 -04:00
Alexander Neundorf 24e584f7a8 BUG: the variable is _KDE4_USE_FLAGS
ENH: I guess this is also true for gcc 2.95 ?

Alex
2008-06-18 16:39:46 -04:00
Bill Hoffman 14f65b3efb ENH: use correct variable 2008-06-18 12:23:50 -04:00
David Cole 79e255a7d3 ENH: Apply patch for feature request #7170. Thanks to Tim Shead for contributing... 2008-06-18 09:53:29 -04:00
Bill Hoffman a2e5cb25e7 ENH: fix for findall 2008-06-18 09:22:04 -04:00
Bill Hoffman 7a977df566 ENH: try to module run test 2008-06-18 08:42:51 -04:00
Bill Hoffman 858b221c32 ENH: try to module run test 2008-06-18 08:37:32 -04:00
David Cole e8825d320b BUG: Workaround PackageMaker 3.0 issue for new CPack components feature. Thanks again to Doug Gregor for the patch. 2008-06-18 07:08:33 -04:00
Bill Hoffman 5991cfb42d ENH: no fatal error if not required 2008-06-17 21:46:34 -04:00
Miguel A. Figueroa-Villanueva 6eddfbdd91 ENH: Added support for MSYS as a unix style search. 2008-06-17 18:02:24 -04:00
Bill Hoffman ebe5eba1a0 ENH: make find blas work if there is no fortran compiler 2008-06-17 13:27:19 -04:00
David Cole 1105a86c52 ENH: Add patch for feature request #6847 - CPack components for NSIS and PackageMaker installers. Thanks to Doug Gregor for all the hard work involved with implementing this patch! Also added new test CPackComponents that is conditionally executed only when NSIS or PackageMaker installer builders are available. 2008-06-17 11:39:26 -04:00
Bill Hoffman 64498a1287 STYLE: fix indent for file 2008-06-17 11:29:25 -04:00
Alexander Neundorf e1909b9ebf BUG: don't fail with FATAL_ERROR if REQUIRED was not used
Alex
2008-06-16 18:37:15 -04:00
Bill Hoffman d07a4675d2 ENH: fix find module stuff for test 2008-06-16 15:19:44 -04:00
Miguel A. Figueroa-Villanueva 6c97713a27 BUG: Fix so that MinGW use win32_find_style (6478). Also, consolidated search styles selection into a single variable, so that they are mutually exclusive. 2008-06-16 14:15:52 -04:00
Miguel A. Figueroa-Villanueva 973b03994a BUG: Fixed incorrectly matched FOREACH (7008). 2008-06-13 16:33:29 -04:00
Brad King e2ec3b671b ENH: Cleanup Find* modules with new HINTS feature
- The find_* commands now provide a HINTS option.
  - The option specifies paths to be preferred over the system paths.
  - Many Find* modules were using two find calls with NO_DEFAULT_PATH
    to approximate the behavior, but that blocked users from overriding
    things with CMAKE_PREFIX_PATH.
  - This commit uses the HINTS feature to get desired behavior in
    only one find command call.
2008-06-09 16:04:06 -04:00
Alexander Neundorf 0543448907 STYLE: apply patch from Thomas Klausner (NetBSD): use "=" for testing
strings for equality instead of "=="

This also matches what the man page for test says
"s1 = s2       True if the strings s1 and s2 are identical."

Alex
2008-06-09 15:50:11 -04:00
Clinton Stimpson dcdcd00ffa BUG: Fix for #7118.
Relative paths going outside the current source dir resulted in badly
      placed moc source files in the build dir (or out of the build dir).
2008-06-06 01:36:39 -04:00
Clinton Stimpson 7676ac8891 ENH: Some Linux distros don't install xorg-devel, png-devel, etc... when
qt4-devel is installed.  Finding them was required to support building
      against static Qt.  Changing it so they are ignored if not found.
2008-06-03 10:29:11 -04:00
Eric Wing db59f49ecf BUG: fixed Lua50 to be Lua51 in FIND_PACKAGE_HANDLE_STANDARD_ARGS call. 2008-06-02 14:53:27 -04:00
Clinton Stimpson ec1cf2f621 ENH: Find debug libs from static Qt on Windows. 2008-05-26 11:17:45 -04:00
Bill Hoffman c3bc99d5a1 ENH: use PATHS keyword 2008-05-23 15:25:26 -04:00
Brad King 40d06f542c ENH: Extend previous patch from Mathieu Malaterre to apply override to the build tool also. 2008-05-21 14:02:40 -04:00
Clinton Stimpson db52ce45fa ENH: Make Qt not found if the QtCore library can't be found.
Also report an error when trying to use MSVC with Qt built by mingw.
2008-05-21 13:36:37 -04:00
Clinton Stimpson e8af880a7d ENH: Similar to how qmake does it...
Don't add compile flags for dependent modules the user didn't specify.
      But still add the link libs.  This reduces the number of
      unecessary compile flags.
2008-05-19 18:07:00 -04:00
Brad King e0b26f4aea BUG: Fixes for FindSubversion
- Split log out from Subversion_WC_INFO into Subversion_WC_LOG
  - Fix report of log info to be in <var-prefix>_WC_LAST_CHANGED_LOG
    as documented (instead of Subversion_LAST_CHANGED_LOG)
  - Fix setting of LC_ALL environment variable to be inside macro
  - Patch from Tanguy Krotoff
  - See issue #7047
2008-05-19 10:03:59 -04:00
Brad King 1203774d52 ENH: Add basic flags for Portland Group fortran compiler. 2008-05-17 17:35:35 -04:00
Brad King c1b8ad4e1d ENH: Allow users to specify a custom Info.plist template
- Create MACOSX_BUNDLE_INFO_PLIST target property to specify template.
  - Look for MacOSXBundleInfo.plist.in in CMAKE_MODULE_PATH by default.
  - See issue #6983.
2008-05-17 12:53:56 -04:00
Brad King 5515515086 ENH: Add Linux-PGI-Fortran platform file to support the Portland Group Fortran compiler (PGI). 2008-05-16 17:56:43 -04:00
Brad King 0c6ba12efd ENH: Teach Fortran compiler identification about the Portland Group compiler (PGI). 2008-05-16 17:50:24 -04:00
Alexander Neundorf 3e6decf312 BUG: make the toolchain-prefix recognition work with prefixes which contain
dots (as in arm-unknown-nto-qnx6.3.0-gcc.exe), NAME_WE returns only up to
the 6, instead of everything in front of the .exe

Alex
2008-05-15 12:07:43 -04:00
Bill Hoffman 8d88da106f BUG: if CPACK_NSIS_MODIFY_PATH was OFF then the PATH was automatically modified 2008-05-13 16:57:49 -04:00
Alexander Neundorf 83c3bf7acc STYLE: use IF(NOT ...) instead of IF() ELSE() ... ENDIF()
Alex
2008-05-12 18:11:42 -04:00
Alexander Neundorf 3a738a49c3 BUG: fix #6375: print the variables which were not found, so it's easier to
see what went wrong

Alex
2008-05-11 05:12:16 -04:00
Alexander Neundorf b837ade944 BUG: fix #6993
FindCurses.cmake is now almost exactly reverted back to the state when
CURSES_LIBRARY and CURSES_INCLUDE_PATH where set for compatibility but not
in the cache. It is important that CURSES_CURSES_LIBRARY and
CURSES_NCURSES_LIBRARY really contain the path to these files.
Later on CURSES_LIBRARY is set to the one of the two which will be
used as curses library. This is now done in the cache, without FORCE.
So preloading the cache still seems to work (at least what I tested).

Alex
2008-05-10 19:07:47 -04:00
Douglas Gregor a1f1b712c5 BUG: Fix FindBoost version variable names to correct bug in Boost version detection 2008-05-09 21:26:57 -04:00
Clinton Stimpson f4a299a11f ENH: Qt/Mac binary install puts QtCLucene library in a different place than the
normal Qt frameworks.  Let's find it.
2008-05-09 11:50:56 -04:00
Clinton Stimpson 30ff492aad ENH: Allow finding phonon and QtDBus on Mac. Fixes #6950. 2008-05-03 17:55:05 -04:00
Sebastien Barre 7dd720cebb ENH: X11_SM_LIB should be advanced as well 2008-05-03 15:27:40 -04:00
Bill Hoffman 36cf25e6a2 ENH: recognize vs 9 and possible 10 or greater when they come out... 2008-05-02 11:25:25 -04:00
Brad King 80d045b01e ENH: When GetPrerequisites.cmake runs dumpbin while running inside the VS IDE environment make sure the tool does not produce extra output. 2008-05-01 18:49:31 -04:00
Bill Hoffman 637596a157 BUG: remove typo 2008-04-30 15:53:33 -04:00
Bill Hoffman e29ca248a3 BUG: fix for 6918 ncurses should work without curses 2008-04-30 15:42:48 -04:00
Brad King a56e04593a ENH: Make /opt/SUNWspro/lib, /opt/SUNWspro/prod/lib, and /usr/ccs/lib implicit link directories on the Sun when using the SunPro compiler. 2008-04-30 14:13:11 -04:00
Bill Hoffman e1b2fb4c75 ENH: add more fortran flags 2008-04-30 11:33:54 -04:00
Bill Hoffman d4fdbeed64 ENH: allow users to set sysroot 2008-04-28 13:53:14 -04:00
Alexander Neundorf 9b02cf44a6 ENH: remove FindKDE.cmake, which was obsolete (i.e. disabled using SEND_ERROR) since cmake 2.4.0, agreed by Bill
Alex
2008-04-27 11:41:29 -04:00
Alexander Neundorf 7500dd50ef BUG: don't fail with FATAL_ERROR if REQUIRED was not used
Alex
2008-04-27 07:35:21 -04:00
Alexander Neundorf 4f961bce0a BUG: don't use CMAKE_MINIMUM_REQUIRED() in find modules, it can change the
policy settings done in the projects cmake files (and it doesn't make sense
since it is always part of the correct cmake version)

Alex
2008-04-26 13:25:07 -04:00
Bill Hoffman 779a2abda3 ENH: allow users to turn off extra checks 2008-04-25 10:47:34 -04:00
Bill Hoffman 7c6c8fc365 ENH: remove c flags from cxx config file 2008-04-25 09:49:42 -04:00
Bill Hoffman 764229b5a2 ENH: rename Linux-ifort to Linux-Intel-Fortran 2008-04-25 09:43:01 -04:00
Bill Hoffman 5f68965608 ENH: make sure all required headers are checked before checking type size 2008-04-25 09:09:06 -04:00
Bill Hoffman 6482d38bdf ENH: do not clear find variables 2008-04-25 09:07:02 -04:00
Bill Hoffman 0bc5e03dce ENH: do not force the intel ar on C from CXX 2008-04-24 22:00:08 -04:00
Bill Hoffman a3e1dde968 ENH: support intel compiler on linux 2008-04-24 21:54:13 -04:00
Douglas Gregor 629620f9d4 ENH: FindBoost always sets Boost_LIBRARY_DIRS when it finds the Boost libraries 2008-04-22 13:32:07 -04:00
Douglas Gregor d278ba74b5 ENH: Integrated FindBoost improvements changes from Andreas Pakulat, Mike Jackson, and myself 2008-04-22 13:14:51 -04:00
Bill Hoffman 7f5446b2ef BUG: fix for bug 6834 RC should not get all COMPILE_FLAGS from a target and should work the same way as it does in the vs ide 2008-04-22 11:10:19 -04:00
Douglas Gregor 7e5921eff4 BUG: As a last resort, FindMPI will look for mpi.h in the path 2008-04-22 09:54:23 -04:00
Douglas Gregor cecb98c618 BUG: Use -showme:incdirs and -showme:libdirs when we need them 2008-04-22 09:41:07 -04:00
Bill Hoffman a97a1426c0 ENH: fix FFFLAGS to be FLAGS 2008-04-22 09:35:23 -04:00
Alexander Neundorf 21578050a7 BUG: fix handling of assembler executable (with path) #6858
Alex
2008-04-21 18:51:55 -04:00
Bill Hoffman 20e9be907f ENH: use xiar for the intel compiler 2008-04-21 18:26:09 -04:00
Bill Hoffman aa10b4e33c ENH: fix init flags getting stuffed into the compile line by force. 2008-04-21 13:04:15 -04:00
Alexander Neundorf e20f1dd26c ENH: use a common CPACK_BINARY_ prefix for the binary package generators
Alex
2008-04-17 17:23:21 -04:00
David Cole 052b82c382 BUG: There are compiler problems with wxWidgets and INCLUDE_DIRECTORIES(SYSTEM ...) use on the Mac. Set variable wxWidgets_INCLUDE_DIRS_NO_SYSTEM on the Mac in FindwxWidgets.cmake to avoid these problems. 2008-04-16 11:31:13 -04:00
Brad King 820901dd13 ENH: Clarify message about checking for compiler ABI information. 2008-04-14 15:25:57 -04:00
Bill Hoffman 8350a17101 ENH: fix x11 launch script for leopord x11 is auto-started for us on that os. 2008-04-11 10:41:28 -04:00
Douglas Gregor 1100b52c7e ENH: Deal with 32-bit and 64-bit variants of Microsoft's MPI properly 2008-04-10 16:54:20 -04:00
Clinton Stimpson 44ce8ea362 BUG: Fix typo reported in #6790. 2008-04-10 10:01:01 -04:00
Bill Hoffman 7dcbe5e1f5 ENH: have jni look more places on linux 2008-04-08 16:09:36 -04:00
Clinton Stimpson 7d85462cc3 BUG: Fix problem with last patch when trying to take substr of shorter strings
than expected.  Fixes #6730.
2008-04-07 19:43:04 -04:00
Clinton Stimpson fcd09ca90f BUG: Fix 6726. Create correct moc rule for configured headers in binary dir. 2008-04-07 11:23:02 -04:00
Bill Hoffman 61af8d8b32 ENH: add vs9 mfc libraries 2008-04-03 12:29:11 -04:00
Bill Hoffman 05060801d9 BUG: make sure all paths extracted from qmake are converted to cmake paths because on windows they will have \ instead of / and you can get odd escaping errors 2008-04-02 11:05:51 -04:00
Alexander Neundorf 3e572f9bab STYLE: add documentation for QT4_CREATE_MOC and QT4_AUTOMOC (#6687)
Alex
2008-04-01 17:59:21 -04:00
Bill Hoffman 38a99f54e3 ENH: add CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA variable 2008-04-01 17:51:18 -04:00
Bill Hoffman d00476610d ENH: remove trailing space 2008-04-01 09:56:41 -04:00
Douglas Gregor 5b3e62c7bc ENH: Enhance FindMPI module by properly handling backward compatibility with the older module, adding documentation, and coping with multiple include and linker paths 2008-03-31 10:55:32 -04:00
David Cole b03c246a00 ENH: Add Intel compiler module files for the Mac. Thanks to Mike Jackson for contributing. 2008-03-31 08:04:12 -04:00
Alexander Neundorf fb8a779c43 STYLE: add a comma to make it better understandable, also use STATUS as the
other MESSAGE() calls do

Alex
2008-03-28 19:09:39 -04:00
Bill Hoffman e40fe909a6 ENH: allow deb to work without dpkg 2008-03-28 14:08:07 -04:00
Brad King db5582c32d ENH: Patch from Mathieu Malaterre to add documentation for his previous patch for CMakeImportBuildSettings. 2008-03-28 14:07:13 -04:00
Brad King d71c6ba49a ENH: Patch from Mathieu Malaterre to allow users to tell CMakeImportBuildSettings to not force compiler settings. 2008-03-28 13:26:31 -04:00
Bill Hoffman 79e581ab80 ENH: remove hard codeded arch 2008-03-28 11:49:48 -04:00
Bill Hoffman c761fd772f ENH: remove hard codeded arch 2008-03-28 11:47:24 -04:00
Bill Hoffman 7eeec39538 ENH: make this backwards compatible with older FindCurses 2008-03-28 10:12:01 -04:00
Bill Hoffman cb1cdada76 ENH: make this backwards compatible with older FindCurses 2008-03-28 10:08:27 -04:00
Clinton Stimpson e8b85ae12d ENH: Add QT_VERSION_MAJOR, QT_VERSION_MINOR, QT_VERSION_PATCH variables. 2008-03-27 15:18:35 -04:00
Alexander Neundorf 6502177306 ENH: use CPACK_PACKAGE_VERSION instead of
CPACK_PACKAGE_VERSION_MAJOR.CPACK_PACKAGE_VERSION_MINOR.CPACK_PACKAGE_VERSION_PATCH
for creating the package file name

Alex
2008-03-26 20:12:17 -04:00
Bill Hoffman a8ecf11edf ENH: remove use of undefined cdr 2008-03-24 15:41:16 -04:00
Bill Hoffman 1727e6d932 ENH: fix if 2008-03-24 15:40:52 -04:00
Alin Elena dc108e0dfc ENH: FindBLAS.cmake&FindLAPACK updated to support intel mkl 10 2008-03-24 11:49:48 -04:00
Alin Elena 05c7777eb7 ENH: FindBLAS.cmake&FindLAPACK updated to support intel mkl 10 2008-03-24 11:49:35 -04:00
David Cole 9453489919 BUG: Remove reference to PROJECT_SOURCE_DIR so that the Subversion_WC_INFO macro may be called from a ctest or cmake script. 2008-03-20 11:44:25 -04:00
Clinton Stimpson 44ad24c13a BUG: Fix issue when Qt from Linux distro is used
and glib and dbus development packages aren't installed.
2008-03-19 16:14:06 -04:00
Clinton Stimpson 181c39d58a BUG: Don't clear output strings before using. 2008-03-19 15:27:09 -04:00
Clinton Stimpson 9d7e09f332 STYLE: Improve documentation by expanding on how UseQt4.cmake fits in. 2008-03-18 18:37:28 -04:00
Alexander Neundorf ae16aa9679 STYLE: fix documentation again: QT_LIBRARIES exists if you use Qt4 via UseQt4.cmake
Alex
2008-03-18 17:54:40 -04:00
Alexander Neundorf caa6de5b89 STYLE: fix documentation, QT_LIBRARIES doesn't exist, and also didn't exist
in cmake 2.4.3, the first stable cmake 2.4.x release

Alex
2008-03-18 17:26:50 -04:00
Clinton Stimpson 5eb8133af4 ENH: Satisfy QtDBus dependencies for builds with static Qt.
Finish fix for #6607.
2008-03-18 16:30:14 -04:00
Clinton Stimpson 317d1705af ENH: For Mac OS X, remove QuickTime link for Qt 4.3+ and add AppKit link for Qt 4.2+. 2008-03-17 14:53:02 -04:00
Brad King 7a888b68da ENH: Added FindPackageMessage module
- Defines FIND_PACKAGE_MESSAGE function to help display
    find result messages only once
  - Added use of it to FindPackageHandleStandardArgs
  - Added use of it to FindQt4, and FindX11
  - This cleans up repeated messages in big projects
2008-03-17 11:10:42 -04:00
Brad King 98e06794dd ENH: Avoid printing message about unknown repository type repeatedly in CTest. 2008-03-17 11:10:32 -04:00
Brad King 9f54e1f043 ENH: Patch from Maik to add per-configuration default flags to GCC and Intel Fortran compilers on Linux. 2008-03-17 08:55:05 -04:00
David Cole 6b31f40e40 BUG: Go back to using "." so the Java test passes on the nightly nmake dashboards again. Still need a solution that works with both nmake and Visual Studio builds. 2008-03-15 20:10:02 -04:00
Alexander Neundorf e6cb6129e8 ENH: preparations for cross compiling KDE4
Alex
2008-03-14 18:16:06 -04:00
Clinton Stimpson 0f005630d3 BUG: Fix typo to find QAssistantClient header. 2008-03-14 14:28:29 -04:00
Clinton Stimpson f874cd684c ENH: Satisfy QtNetwork and QtOpenGL dependencies for builds with static Qt.
Partial fix for #6607.
2008-03-14 13:29:16 -04:00
Clinton Stimpson 58a2872f2e ENH: Automatically add dependent modules.
For example, if QT_USE_QTXMLPATTERNS is on, QT_USE_QTNETWORK is turned on.
      The equivalent happens in a qmake .pro file when QT += xmlpatterns is specified.
2008-03-14 13:16:58 -04:00
Clinton Stimpson f4c319b60b ENH: Support static Qt 4.4 builds using QtHelp module. 2008-03-14 12:11:01 -04:00
Clinton Stimpson 5a112028b7 ENH: Add support for Qt 4.4's phonon module.
Add new Qt 4.4 modules in UseQt4.cmake
2008-03-13 19:12:46 -04:00
Bill Hoffman ed795d283f ENH: fix c flags for 2003 free command line tools 2008-03-13 16:42:31 -04:00
Brad King d46ff28ac9 ENH: Convert CMAKE_LINK_OLD_PATHS to policy CMP0003.
- Policy is WARN by default so projects will build
    as they did in 2.4 without user intervention
  - Remove CMAKE_LINK_OLD_PATHS variable since it was
    never in a release and the policy supercedes it
  - Report target creation backtrace in warning message
    since policy should be set by that point
2008-03-13 16:23:18 -04:00
Clinton Stimpson 7634b36364 ENH: Add support for new modules in Qt 4.4. Fixes #6316.
Simplify and clarify some documentation.

BUG:  Fix order of include paths (from KDE's FindQt4)
      Fix find of Designer components debug library on Windows.
2008-03-13 15:29:28 -04:00
David Cole 908a2b462d COMP: Conditionalize the last change so that the fix only applies to WIN32. Leave it the way it was elsewhere, the new way does not work on the Mac continuous dashboard... 2008-03-13 15:03:20 -04:00
David Cole 4cd5a8a690 BUG: Fix the Java test for Visual Studio builds. Before this, it had been trying to include "BuildLog.htm" in the .jar file because it was using "." as the list of files to include in the .jar file. Use "*.class" instead of "." to prevent this silliness. 2008-03-13 14:29:26 -04:00
Bill Hoffman 0deb9012a6 BUG: fix bug 6594 look for glut in more places on windows 2008-03-13 10:56:40 -04:00
Sebastien Barre 4f1a79110c ENH: for some reasons there was never a FindCVS module? 2008-03-10 18:51:08 -04:00
Sebastien Barre a760693518 ENH: for some reasons there was never a FindCVS module? 2008-03-10 18:48:41 -04:00
Alexander Neundorf ee72506471 ENH: use the standard find_package_handle_standard_args() for lua 5.0 and
5.1

Alex
2008-03-10 13:26:11 -04:00
Brad King 70c2dc8a64 ENH: Make compiler id detection more robust
- Split INFO strings in source into multiple pieces
    to make sure assembly or other listings produced
    by the compiler are never matched by the regex
  - Store INFO strings via pointer instead of array
    to convince some compilers to store the string
    literally in the binary
  - This should help make it work for sdcc 2.8.0 RC1
2008-03-10 09:32:25 -04:00
Alexander Neundorf 8aac17471c BUG: make compiler id detection (almost) work again with sdcc 2.8.0 RC1,
mail sent to Brad for the remaining issue
don't match
INFO:compiler[" COMPILER_ID "]
which appears in the assembler file generated from the C file by sdcc, but
make sure the first character after the [ is no double quote

Alex
2008-03-09 19:20:43 -04:00
Bill Hoffman 29fe247016 ENH: add new version of FindMPI, fix it to work with MPICH2 on windows 2008-03-07 19:58:29 -05:00
Brad King 2a06c660bf ENH: Patch from Maik to add more fortran extensions. 2008-03-05 15:55:21 -05:00
Clinton Stimpson c39a8c39aa ENH: Allow users to recover from trying to use an improperly installed Qt
without removing their cache, fixing their environment and trying again.
2008-03-05 12:53:44 -05:00
Eric Wing 68bcb056eb BUG: Fixed PATH_SUFFIXES copy/paste bug (0006201) 2008-03-05 03:11:15 -05:00
David Cole 31efe9e9f6 ENH: Add script GetPrerequisites.cmake to help analyze what shared libraries executable files depend on. Primary uses are to determine what shared libraries should be copied into Mac OSX bundle applications to create standalone bundles apps and to determine what shared library files need to be installed for an executable to run on any platform. Requires native platform tools dumpbin, otool and ldd to generate results. 2008-03-04 08:18:40 -05:00
Brad King 8364ce8ff9 STYLE: Remove trailing whitespace. 2008-03-03 20:31:51 -05:00
Brad King 8868244de0 STYLE: Remove trailing whitespace. 2008-03-03 20:24:18 -05:00
Brad King b6684a79b5 STYLE: Remove trailing whitespace. 2008-03-03 15:56:04 -05:00
Brad King 079c5e22f7 STYLE: Remove trailing whitespace. 2008-03-03 11:57:02 -05:00
Brad King 5f8feedbac STYLE: Fixed docs of new CMakeForceCompiler 2008-03-03 11:18:49 -05:00
Brad King e124891b0c ENH: Restore CMAKE_FORCE_C_COMPILER and CMAKE_FORCE_CXX_COMPILER macros in CMakeForceCompiler module. 2008-03-03 11:16:32 -05:00
Brad King 34c76d4304 ENH: Use builtin chrpath instead of relinking ELF targets
- Add cmSystemTools::ChangeRPath method
  - Add undocumented file(CHRPATH) command
  - When installing use file(CHRPATH) to change the rpath
    instead of relinking
  - Remove CMAKE_CHRPATH lookup from CMakeFindBinUtils
  - Remove CMAKE_USE_CHRPATH option since this should
    always work
2008-03-01 12:51:07 -05:00
Brad King 230c8972f7 BUG: Do not place $(CMAKE_COMMAND) in link scripts. 2008-03-01 09:08:34 -05:00
Bill Hoffman 22dc873ef0 ENH: allow cdash not to trigger 2008-02-29 14:58:33 -05:00
Bill Hoffman b548b34a11 ENH: add vs9 stuff, still need msvc9 mfc 2008-02-29 14:36:33 -05:00
Brad King dfe2ea6406 ENH: Handle large object file lists on some platforms
- Use a response file when enabled by
    CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_OBJECTS
  - Enable for C and CXX with cl (MSVC)
  - Enable for Fortran with ifort (Intel Fortran)
2008-02-27 17:10:45 -05:00
Brad King e840a9dff3 BUG: Apply patch from bug#6445. Add preprocessor definitions to assembly and preprocessing build rules. 2008-02-27 14:31:09 -05:00
Brad King 83c5f1b3f0 ENH: Add support to C compiler identification for void return type from main. Cross-compilers for embedded platforms may require it. 2008-02-25 18:47:19 -05:00
Alexander Neundorf 09829174a3 BUG: fix rpmbuild bug, which expands variables in comments :-/
apparently rpmbuild can't handle paths with spaces and can't handle
variables in comments...

Alex
2008-02-25 14:23:24 -05:00
Brad King 9211b0d234 ENH: Improvied compiler identification robustness
- Write a single source file into the compiler id directory
  - This avoid requiring the compiler to behave correctly with
    respect to include rules and the current working directory
  - Helps to identify cross-compiling toolchains with unusual
    default behavior
2008-02-25 09:23:14 -05:00
Brad King 58480575a3 ENH: Simplify make build rule generation by removing use of OBJECTS_QUOTED and TARGET_QUOTED rule variables and updating the generation of OBJECTS to always use the newer cmLocalGenerator::Convert method. 2008-02-24 14:05:21 -05:00
Brad King fd37a6ec3d ENH: Better linker search path computation.
- Use linker search path -L.. -lfoo for lib w/out soname
    when platform sets CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME
  - Rename cmOrderRuntimeDirectories to cmOrderDirectories
    and generalize it for both soname constraints and link
    library constraints
  - Use cmOrderDirectories to order -L directories based
    on all needed constraints
  - Avoid processing implicit link directories
  - For CMAKE_OLD_LINK_PATHS add constraints from libs
    producing them to produce old ordering
2008-02-21 11:41:11 -05:00
Brad King 068d0d9b91 BUG: Fix passing of nodefaultrpath flag to linker through c++ compiler. 2008-02-18 12:01:41 -05:00
Bill Hoffman ef537ffec7 ENH: have cpack work with DESTDIR install and ingest qt framework libs into cmake-gui 2008-02-18 10:26:28 -05:00
Bill Hoffman 1871f06ad6 BUG: fix double cmakefiles directory 2008-02-17 17:40:01 -05:00
Bill Hoffman 703be12c58 ENH: add script to ingest library depends into a bundle 2008-02-16 16:33:08 -05:00
Alexander Neundorf a8f493686a STYLE: use global property instead of helper target to collect all python
modules from a source tree

Alex
2008-02-15 18:26:37 -05:00
Brad King ed76198b84 ENH: Cleanup building of OS X bundle content
- Fixes repeated rebuild of bundles by Makefile generators
 - Add special rules to copy sources to their
   MACOSX_PACKAGE_LOCATION bundle directory
 - Remove MacOSX_Content language hack
   - Remove EXTRA_CONTENT property
   - Remove MACOSX_CONTENT
   - Remove corresponding special cases in object names
2008-02-15 11:22:23 -05:00
Brad King 67f8c0fd10 ENH: Allow multiple OS X applications bundles to be created in a single build directory. Converted Info.plist files to be generated directly instead of configured with make variables. The MACOSX_BUNDLE_* variables are now properties (and vars for compatibility). 2008-02-14 15:31:08 -05:00
Brad King b459ec9f57 ENH: Updated DEFINE_PROPERTY command to be more extendible and more consistent with new SET_PROPERTY and GET_PROPERTY signatures. 2008-02-14 13:36:23 -05:00
Brad King 5b02a4a864 ENH: Re-enable diagnosis of non-unique target names.
- Re-enable enforcement in cmMakefile::EnforceUniqueName
  - Improve error message to help user resolve the problem
  - Fix Modules/CTestTargets.cmake to not duplicate testing targets
  - Move commands used by the changes to Modules/CTestTargets.cmake
    to build during bootstrap: DEFINE_PROPERTY, GET_PROPERTY
2008-02-14 11:58:32 -05:00
Brad King 8375bb4768 ENH: Remove unnecessary compiler force macros. The compiler ID can now be detected without linking an executable. 2008-02-14 10:50:43 -05:00
Clinton Stimpson f868fe3abd BUG: Fix error when paths have + in them. (special regex characters) 2008-02-14 01:11:20 -05:00
Sebastien Barre 5ee18d5c55 ENH: fix advanced bug 2008-02-13 17:00:20 -05:00
Brad King 9439cbd4ba BUG: Fix FindQt4.cmake QT4_CREATE_MOC_COMMAND macro to work with spaces in the path while using the @ syntax on MSYS builds. 2008-02-13 14:35:10 -05:00
Brad King f0cee3fe4c ENH: Fix eCos.cmake to not require a forced compiler
- Search for libtarget.a explicitly
  - Do not complain about compiler id during try-compile
2008-02-11 17:01:02 -05:00
Brad King a75079d9e0 ENH: When detecting the compiler id try compiling only to an object file. 2008-02-11 17:00:54 -05:00
Brad King 5a834b0bb0 ENH: Remove CMAKE_ANSI_CFLAGS variable and instead always add ansi flags to CMAKE_C_COMPILE_OBJECT. We should not require every project to reference CMAKE_ANSI_CFLAGS. 2008-02-11 15:31:32 -05:00
Clinton Stimpson a8c4244916 ENH: Better way to have escaping done correctly for all generators. 2008-02-08 12:01:54 -05:00
Clinton Stimpson e6c9f302f2 BUG: Fix arg for moc parameter file so it works with unix makefiles, when the
build dir has a space in it.
2008-02-07 23:26:42 -05:00
Bill Hoffman 4f44c7875f BUG: fix for bug 6117 pkgconfig 2008-02-07 13:19:38 -05:00
Alexander Neundorf 10dfc89731 STYLE: use a function instead of a macro, to keep FAIL_MESSAGE local
patch from Miguel

Alex
2008-02-06 17:02:53 -05:00
Brad King 847c8403fe BUG: Added TARGET_ARCHIVES_MAY_BE_SHARED_LIBS global property to help compute proper rpath information on AIX when shared libraries have names like "libfoo.a". 2008-02-04 15:22:10 -05:00
Brad King c12a7e388d BUG: When configuring compiler information files into the CMakeFiles directory in the project build tree, use IMMEDIATE option for CONFIGURE_FILE explicitly. It is needed in case the user sets CMAKE_BACKWARDS_COMPATIBILITY to 2.0 or lower. 2008-02-04 10:04:23 -05:00
Brad King bbbb2be765 BUG: When forcing the C and CXX compilers do not try to detect the ABI information. Cleanup configured language compiler info files by always using @ONLY. This addresses bug#6297. 2008-02-03 17:24:50 -05:00
Brad King f2dfa8925b ENH: Enable dependent library search paths on more platforms
- NetBSD needs dependent library paths in -rpath-link option.
  - kFreeBSD needs dependent library paths in -rpath-link option.
2008-02-02 08:58:53 -05:00
Clinton Stimpson 593c213f16 BUG: When preserving relative paths for moc generated files,
also consider paths to headers in the build directory.
2008-02-01 13:52:04 -05:00
Clinton Stimpson d94087ab44 ENH: Use new COMPILE_DEFINITIONS_* with set_property to
add Qt release/debug defines.
2008-02-01 12:02:19 -05:00
Brad King f49ec94e9f ENH: Enable dependent library search paths on more platforms
- HP-UX needs dependent library paths as -L options.
  - IRIX needs dependent library paths as -L options.
  - Sun needs dependent library paths as -L options.
  - FreeBSD needs dependent library paths in -rpath-link option.
2008-02-01 09:57:41 -05:00
Brad King 82fcaebe28 ENH: Pass dependent library search path to linker on some platforms.
- Move runtime path ordering out of cmComputeLinkInformation
    into its own class cmOrderRuntimeDirectories.
  - Create an instance of cmOrderRuntimeDirectories for runtime
    path ordering and another instance for dependent library
    path ordering.
  - Replace CMAKE_DEPENDENT_SHARED_LIBRARY_MODE with explicit
    CMAKE_LINK_DEPENDENT_LIBRARY_FILES boolean.
  - Create CMAKE_LINK_DEPENDENT_LIBRARY_DIRS boolean.
  - Create variables to specify -rpath-link flags:
      CMAKE_SHARED_LIBRARY_RPATH_LINK_<LANG>_FLAG
      CMAKE_EXECUTABLE_RPATH_LINK_<LANG>_FLAG
  - Enable -rpath-link flag on Linux and QNX.
  - Documentation and error message updates
2008-02-01 08:56:00 -05:00
Brad King 2cff26fa52 ENH: Support linking to shared libs with dependent libs
- Split IMPORTED_LINK_LIBRARIES into two parts:
      IMPORTED_LINK_INTERFACE_LIBRARIES
      IMPORTED_LINK_DEPENDENT_LIBRARIES
  - Add CMAKE_DEPENDENT_SHARED_LIBRARY_MODE to select behavior
  - Set mode to LINK for Darwin (fixes universal binary problem)
  - Update ExportImport test to account for changes
2008-01-31 15:45:31 -05:00
Ken Martin 934949edd0 ENH: use ctest to drive dashboards for make targets as opposed to tclsh 2008-01-31 13:23:04 -05:00
Brad King 3a05425309 BUG: Move decision to switch library paths found in implicit link directories to use -l options from cmFindLibraryCommand to cmComputeLinkInformation. Existing projects may depend on find_library returning a full path. This slightly weakens cmComputeLinkInformation but is necessary for compatibility. 2008-01-31 07:50:40 -05:00
Brad King 66e0b4212f ENH: Added build rule variables CMAKE_<LANG>_ARCHIVE_CREATE, CMAKE_<LANG>_ARCHIVE_APPEND, and CMAKE_<LANG>_ARCHIVE_FINISH to support creation of static archive libraries out of a large number of objects. See bug #6284. 2008-01-29 20:46:25 -05:00
Clinton Stimpson b90d3114c5 ENH: Make lupdate and lrelease executables advanced variables. 2008-01-29 17:01:00 -05:00
Sebastien Barre 6e70424fc8 ENH: need quotes 2008-01-29 15:10:37 -05:00
Clinton Stimpson bb52f45ebb ENH: Allow QT4_WRAP_CPP to work with dir1/myobject.h dir2/myobject.h
Fixes #5067.
2008-01-29 13:07:52 -05:00
Brad King b4b9e1d44b BUG: Fix dynamic exports executable link option for Sun C compiler on Linux. 2008-01-29 07:48:22 -05:00
Brad King 41c2895b75 ENH: Added version support to Config mode of find_package command.
- Added EXACT option to request an exact version.
  - Enforce version using check provided by package.
  - Updated FindPackageTest to test versioning in config mode.
2008-01-28 20:38:48 -05:00
Clinton Stimpson 404db8811e ENH: Improve find for glib/gthread when Qt is configured to use it.
Fixes #6220.
2008-01-28 19:20:00 -05:00
Sebastien Barre 59d29d6079 ENH: Update Tcl/Tk 8.5 2008-01-26 01:11:04 -05:00
Sebastien Barre bd28610ec3 ENH: update for Tcl/Tk 8.5 2008-01-25 13:07:59 -05:00
Sebastien Barre 7bba5ac956 ENH: typo 2008-01-24 19:42:14 -05:00
Sebastien Barre af9987ed79 ENH: update for Tcl/Tk 8.5 2008-01-24 19:31:24 -05:00
Brad King 11ad0bace4 ENH: Remove sparcv9 architecture subdir added earlier. The new implicit link directory policy takes care of the problem. 2008-01-23 17:53:18 -05:00
Brad King 4d4c0c8466 BUG: CMAKE_EXECUTABLE_RUNTIME_CXX_FLAG should get its default value from CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG, not CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG. 2008-01-23 16:35:25 -05:00
Sebastien Barre 99198a0765 ENH: update for Tcl/Tk 8.5 2008-01-23 16:27:36 -05:00
Brad King f27379e3f7 ENH: Added CMAKE_LINK_OLD_PATHS compatibility mode for linker search paths. 2008-01-23 15:22:38 -05:00
Sebastien Barre ae356560a0 ENH: keep cleaning up Tcl/Tk modules 2008-01-23 14:07:09 -05:00
Brad King 09af624dee BUG: Fix generation of Watcom link lines.
- Work-around bug in Watcom command line parsing for spaces in paths.
  - Add 'library' option before libraries specified by file path.
2008-01-23 13:30:55 -05:00
Brad King e417fb7100 ENH: Enable library search path suffix for sparcv9 architecture. This should be generalized to a platform file later. 2008-01-23 09:53:33 -05:00
Clinton Stimpson eba5032389 ENH: Add macros to handle translations. Fixes #6229. 2008-01-22 10:11:29 -05:00
Brad King 96fd5909d9 ENH: Implement linking with paths to library files instead of -L and -l separation. See bug #3832
- This is purely an implementation improvement.  No interface has changed.
  - Create cmComputeLinkInformation class
  - Move and re-implement logic from:
      cmLocalGenerator::ComputeLinkInformation
      cmOrderLinkDirectories
  - Link libraries to targets with their full path (if it is known)
  - Dirs specified with link_directories command still added with -L
  - Make link type specific to library names without paths
    (name libfoo.a without path becomes -Wl,-Bstatic -lfoo)
  - Make directory ordering specific to a runtime path computation feature
    (look for conflicting SONAMEs instead of library names)
  - Implement proper rpath support on HP-UX and AIX.
2008-01-22 09:13:04 -05:00
Brad King 2b48e716b3 ENH: Cleanup chrpath feature by not displaying exe format or placing non-advanced options in cache. 2008-01-21 20:57:23 -05:00
Brad King a28b197b11 ENH: Generalize the check for sizeof void* to detect more ABI information. 2008-01-21 18:30:17 -05:00
Brad King f41b1e8e91 ENH: Implement version support in the find_package command module mode. Version numbers provided to the command are converted to variable settings to tell the FindXXX.cmake module what version is requested. This addresses issue #1645. 2008-01-21 08:48:33 -05:00
Brad King 9de44ef28a BUG: FindX11 module should search for SM library instead of returning -lSM. 2008-01-20 16:02:38 -05:00
Sebastien Barre 2469403849 ENH: Tcl/Tk 8.6 alpha schedule for May 2008. 2008-01-18 19:02:38 -05:00
Bill Hoffman c0bb73787d ENH: make sure msvc90 gets set 2008-01-18 16:06:10 -05:00
Alexander Neundorf fc8ce17433 ENH: remove RAISE_SCOPE() again and instead add SET(<var> <value> PARENT_SCOPE)
Alex
2008-01-18 15:52:54 -05:00
Bill Hoffman e5a4da5b3c ENH: make sure MSVC90 is set 2008-01-18 15:19:19 -05:00
Sebastien Barre 0bbae2a5b2 ENH: cleanup FindPerl and FindTcl (use ActiveState CurrentVersion, and support Tcl/Tk 8.5) 2008-01-18 14:02:51 -05:00
Sebastien Barre 87d9660f8d ENH: cleanup FindPerl and FindTcl (use ActiveState CurrentVersion, and support Tcl/Tk 8.5) 2008-01-18 13:51:25 -05:00
Sebastien Barre 03dfe8356f ENH: cleanup FindPerl and FindTcl (use ActiveState CurrentVersion, and support Tcl/Tk 8.5) 2008-01-18 13:46:10 -05:00
Sebastien Barre 4f37eacfdb ENH: cleanup FindPerl and FindTcl (use ActiveState CurrentVersion, and support Tcl/Tk 8.5) 2008-01-18 13:15:12 -05:00
Brad King 8d1d5500c8 ENH: Enable use of COMPILE_DEFINITIONS property for Fortran sources. 2008-01-17 19:58:01 -05:00
Brad King 669db35aa4 ENH: Changed signature of GET_PROPERTY command to be more powerful and extendible. 2008-01-17 17:19:13 -05:00
Brad King b8357db11d ENH: Rename SET_PROPERITES command to SET_PROPERTY and give it a more powerful signature. 2008-01-17 15:54:49 -05:00
Brad King 18b9e7db6c ENH: Enable CMAKE_<lang>_DEFINE_FLAG for COMPILE_DEFINITIONS property implementation. 2008-01-17 10:00:19 -05:00
David Cole a5ac316155 BUG: Eliminate message - it pops up an annoying dialog whenever you run CMakeSetup in a project with java wrapping turned on. 2008-01-16 10:04:36 -05:00
Brad King 2a78288064 ENH: Convert Modules/Platform specification of system search paths to use CMAKE_SYSTEM_PREFIX_PATH when possible. 2008-01-16 09:51:57 -05:00
Brad King 52718dbbf2 BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
Alexander Neundorf 8e5e423f78 STYLE: fix infinished comment
Alex
2008-01-15 19:56:42 -05:00
Bill Hoffman c598da4328 BUG: fix for bug 6231, bad regex for sunos, worked by chance, but better to have it right 2008-01-15 14:19:32 -05:00
Alexander Neundorf b33e1c5cc3 BUG: according to the binutils mailing list chrpath doesn't work when cross
compiling

Alex
2008-01-14 19:02:30 -05:00
Alexander Neundorf 4bcce925ea BUG: set LC_ALL to C, so message from svn are not translated, which can lead
to problems (since the output is parsed, which fails then)

Brad, Bill, can you think of any reasons this change might create problems ?

Alex
2008-01-14 17:19:20 -05:00
Brad King 8262ccfd4e ENH: Create COMPILE_DEFINITIONS property for targets and source files. Create <config>_COMPILE_DEFINITIONS property as per-configuration version. Add Preprocess test to test the feature. Document limitations on Xcode and VS6 generators. 2008-01-14 09:20:58 -05:00
Bill Hoffman 3f45a27a6b ENH: add support for xlf with -WF,-D for -D 2008-01-11 17:38:41 -05:00
Bill Hoffman c3b7f618d1 ENH: add support for xlf with -WF,-D for -D 2008-01-11 17:37:38 -05:00
Clinton Stimpson 510f578f8b ENH: For moc commands on Windows, use @param_file method to allow arguments
longer than Windows' command length limitation.
      Fixes #6221.
2008-01-11 12:40:24 -05:00
Alexander Neundorf 3d6f10650e BUG: it seems on some installations boost is installed under boost-1_34 ,
see #5030

FindBoost.cmake recommends using LINK_DIRECTORIES(), is this really good ?

Alex
2008-01-10 18:52:19 -05:00
Bill Hoffman f61305e88c BUG: fix for bug 4145 much better findSwig 2008-01-10 16:22:52 -05:00
Brad King d6a21fc25c BUG: Removed stray debugging message. 2008-01-10 14:47:19 -05:00
Brad King 63fa1180f9 BUG: Need to install fortran compiler id source. 2008-01-10 14:47:00 -05:00
Brad King a83ef917af STYLE: Move VisualAge id macro to correct block. 2008-01-10 11:58:07 -05:00
Bill Hoffman a40147abce ENH: add support for visual age fortran on linux 2008-01-10 10:50:46 -05:00
Brad King b761da39c1 ENH: Patch from Maik to add preprocessor directive handling to Fortran dependency scanning. Also added -fpp flag to Intel Fortran compiler on Windows by default. 2008-01-09 10:30:11 -05:00
Brad King 52eb0ccac7 BUG: Restore old interface of "make foo.o" and "make foo.i" even though object file names now include source extensions. For Java we also need to always remove the source extension (.java -> .class). This fixes the re-opening of bug #6169. 2008-01-07 16:12:37 -05:00
Brad King 4b2218045d ENH: Add support to CMAKE_DETERMINE_COMPILER_ID macro to try building the id source more than once with different extra flags added to the compiler. Use the support to correctly identify the Intel Fortran compiler on windows which does not preprocess by default without special flags. 2008-01-07 10:27:28 -05:00
Miguel A. Figueroa-Villanueva 4c6dcc0ed9 BUG: Support cross-compiling; wx-config should be searched for in target platform ONLY (bug 6187). 2008-01-05 20:37:51 -05:00
Miguel A. Figueroa-Villanueva d1f2e3ff97 ENH: Generalized the WXWIDGETS_ADD_RESOURCES to support header generation, xrs file generation, and other options (BUG: 6162). 2008-01-05 11:19:29 -05:00
Alexander Neundorf eed9b1b0da ENH: rename variables from GIFLIB_* to GIF_*
-add standard QUIET and REQUIRED handling
-add GIF_LIBRARIES variable as readme.txt says
-add name giflib to the names for the gif library
-remove some unnecessary search paths for the lib (they are already part of
the standard search paths, see Modules/Platform/UnixPaths.cmake)
-FindFreetype.cmake: use PATH_SUFFIXES include again for the headers with
the CMAKE_PREFIX_PATH variable

Alex
2008-01-04 12:38:34 -05:00
Alexander Neundorf daa45056c9 STYLE: rename FindGIFLIB.cmake to FindGIF.cmake, as discussed with Eric
Alex
2008-01-04 12:29:29 -05:00
Alexander Neundorf b67a35e081 BUG: fix spelling of the xf86misc and xf86vmode variables
Alex
2008-01-04 11:56:18 -05:00
Eric Wing 4726811487 ENH: Added all lowercase 'openal' to library search names in hopes of addressing
bug 6201 (won't detect on Gentoo).
2008-01-04 11:42:08 -05:00
Alexander Neundorf d18fb61c76 STYLE: use FIND_PACKAGE_HANDLE_STANDARD_ARGS() to handle QUIET and REQUIRED
-remove some unnecessary search paths (they are part of the default paths)
-don't use PATH_SUFFIXES for include/ when searching for a header, that's very uncommon style
-add FREETYPE_LIBRARIES as the variable which should be used by the user (as documented in readme.txt)

Alex
2008-01-04 07:29:40 -05:00
Alexander Neundorf 473e5bb475 STYLE: renamed FindFreeType.cmake to FindFreetype.cmake to make it more
compatible with the one in KDE4

Alex
2008-01-04 07:25:27 -05:00
Bill Hoffman fc6497883c BUG: fix for bug 6151 2008-01-02 17:12:33 -05:00
Alexander Neundorf 474629568c ENH: check the magic code of the executable file to determine the executable
file format. Tested for ELF on x86 Linux, COFF and Mach-O prepared but
commented out since I don't have such systems available. Please have a look
a CMakeDetermineCompilerId.cmake and enable the test for them too.

Only add the option for using chrpath if the executable format is ELF

Alex
2008-01-02 16:52:12 -05:00
Alexander Neundorf 5097640671 ENH: add more ruby paths: sitearch, sitelib, vendorarch, vendorlib (#5531)
-make these variables cached and ADVANCED
-remove unused QUIETLY code
-document RUBY_LIBRARY

Alex
2008-01-02 12:32:17 -05:00
Alexander Neundorf 8e644c9dfa BUG: make FindRuby work with the libs for MSVC, which can have additional
pre- and suffixes (#5642)

Alex
2008-01-02 11:43:28 -05:00
Bill Hoffman b479c6a8a9 ENH: add ability to have manifest files and incremental linking with make and nmake 2008-01-01 15:13:41 -05:00
Brad King 19037da40f ENH: Add SunPro fortran module flags on SunOS. 2007-12-30 16:34:49 -05:00
Brad King b2e8c07af8 ENH: Implemented Fortran module output directory and search path flags. 2007-12-30 16:11:38 -05:00
David Cole 764f6838a7 ENH: Give Mac installers package relocation capability. Default location is still the same for backwards compatibility, but packages will now be relocatable by default like they are on Windows via the NSIS installer. New CPack variables for controlling this functionality are CPACK_PACKAGE_DEFAULT_LOCATION and CPACK_PACKAGE_RELOCATABLE. 2007-12-26 16:57:13 -05:00
Miguel A. Figueroa-Villanueva bfeeb88b1f STYLE: Refactored common libs into a variable, modified comments, and cleaned use of monolithic build. 2007-12-22 10:15:04 -05:00
Eric Wing a5b3ab4eee BUG: Fixed modules to set FOO_FOUND when both headers and libraries are found.
BUG: FindSDL now has flag it responds to so it will not find/link against SDLmain. This is required to build libraries instead of applications since they don't have main().
ENH: All modules have a predictable search order, where environmental variables are searched before system paths. This is designed to make automation easier for those that need to automatically build projects without intervention but may be using alternative install locations for isolated testing.
ENH: New modules for OpenSceneGraph, Freetype, GDAL, Lua, QuickTime, GIFLIB, Producer, OpenThreads.
STYLE: Added documentation explaining peculuar SDL_LIBRARY_TEMP variable in SDL
  module when library find is incomplete.
2007-12-20 20:59:44 -05:00
Clinton Stimpson fffb0bd908 ENH: Better QT4_EXTRACT_OPTIONS macro. 2007-12-19 16:48:04 -05:00
Alexander Neundorf 04136a558a BUG: make CMAKE_USE_CHRPATH a simple variable instead an option, since an
option is not scriptable and so breaks the toolchain test
or maybe option() should be made scriptable ?

Alex
2007-12-19 03:55:11 -05:00
Alexander Neundorf 3ae731fab7 ENH: add support for chrpath, so the RPATH in ELF files can be changed when
installing without having to link the target again -> can save a lot of time

chrpath is handled very similar to install_name_tool on the mac. If the
RPATH in the build tree file is to short, it is padded using the separator
character.
This is currently disabled by default, it can be enabled using the option
CMAKE_USE_CHRPATH. There are additional checks whether it is safe to enable
it. I will rework them and use FILE(READ) instead to detect whether the
binaries are actually ELF files.

chrpath is available here
http://www.tux.org/pub/X-Windows/ftp.hungry.com/chrpath/
or kde svn (since a few days): http://websvn.kde.org/trunk/kdesupport/chrpath/

Alex
2007-12-18 17:50:27 -05:00
Clinton Stimpson f5f397debd ENH: should define QT_DLL instead of QT_SHARED 2007-12-18 14:50:18 -05:00
Clinton Stimpson b383d98771 ENH: Improve documentation of new features. 2007-12-18 13:05:43 -05:00
Bill Hoffman 4b2925222a BUG: fix for bug 5464 better find boost for windows 2007-12-18 10:02:52 -05:00
Bill Hoffman 1cfe812f11 BUG: fix for 5722 2007-12-17 21:37:16 -05:00
Bill Hoffman 0e33a166a3 STYLE: fix doc string 2007-12-17 17:57:57 -05:00
Bill Hoffman d6bf2457a7 BUG: fix for 5933, look for java in more reg entries 2007-12-17 17:22:51 -05:00
Alexander Neundorf 46fff6c83a STYLE: use IF(NOT ) instead of IF() ELSE() with empty IF() branch
Alex
2007-12-17 17:05:07 -05:00
Bill Hoffman 9eb207aa89 BUG: fix for bug 6167 get rid of extra space in flags 2007-12-17 12:04:15 -05:00
Alexander Neundorf 7bcafb410f STYLE: some whitespace syncing with FindQt4.cmake in KDE svn
Alex
2007-12-16 05:49:23 -05:00
Brad King 04c8544a1d BUG: Need to strip leading and trailing whitespace off the compiler 'ARG1'. This fixes bug#6141. 2007-12-15 16:03:29 -05:00
Clinton Stimpson 0304073ea6 ENH: Add OPTIONS argument to some Qt4 macros.
Addresses #6125.
2007-12-14 16:56:25 -05:00
Bill Hoffman a488c2646c BUG: fix for 6117, fix for second run 2007-12-14 12:51:43 -05:00
Bill Hoffman b24b859a93 BUG: Fix bug 6106 FindPerlLibs.cmake missing escaped $ 2007-12-12 07:26:25 -05:00
Clinton Stimpson 1d4a87b001 ENH: Correctly find UiTools library on Mac w/ binary install of Qt.
Fixes #4554.
2007-12-11 12:57:54 -05:00
Miguel A. Figueroa-Villanueva 93f079ecae STYLE: Clarified usage documentation for cmake --help-module FindwxWidgets. 2007-12-02 09:15:40 -05:00
Miguel A. Figueroa-Villanueva 51fce4d391 STYLE: Use LIST(APPEND ...) instead of SET(...) 2007-12-01 22:51:25 -05:00
Miguel A. Figueroa-Villanueva 895a2384fa ENH: Added search entry for the new release: wxWidgets-2.8.7. 2007-12-01 20:58:13 -05:00
Miguel A. Figueroa-Villanueva 01dd9bc160 ENH: Added support for selecting different configurations in UNIX_STYLE: debug/release, static/shared, unicode/ansi, and regular/universal. 2007-12-01 20:35:58 -05:00
Miguel A. Figueroa-Villanueva 4cee09fd4c ENH: Added macro support for compiling xrc resources to cpp code. 2007-12-01 19:30:11 -05:00
Clinton Stimpson 96d8460b4e ENH: Define QT_NO_DEBUG when building with release Qt libs.
Fixes #6104.
2007-11-30 19:11:18 -05:00
Alexander Neundorf bdc1e4e054 BUG: use the correct variable for checking the success (#6062)
Alex
2007-11-25 08:20:05 -05:00
Alexander Neundorf e3c84cf5a6 ENH: add support for the Syllable OS (http://www.syllable.org)
major issues:
-access() doesn't return false for an empty string (#ifdefed in cmake)
-dlopen() doesn't return 0 on failure (#ifdefed in cmake and fixed now in Syllable)
-the kwsys and Bootstrap tests fail with timeout due to the fact that I'm doing all that in qemu, which is quite slow
-RPATH is now supported, so without modifying the test adapting DLL_PATH in Syllable is required for the tests to succeed
-the Plugin test fails with an undefined reference to example_exe_function() in example_mod_1, it seems this isn't supported under Syllable

Alex
2007-11-23 20:45:49 -05:00
Bill Hoffman 90e6f983de ENH: add support for env var and better default for CMAKE_OSX_SYSROOT 2007-11-15 13:14:41 -05:00
Clinton Stimpson 45e974791f ENH: Fix case of windows library names to support
cross compiling w/ Qt on case sensitive platforms.
2007-11-14 18:08:16 -05:00
Miguel A. Figueroa-Villanueva d22df5bef4 BUG: Fix to support arch and isysroot compilation options on MAC (Bug 5007). 2007-11-12 13:52:45 -05:00
Bill Hoffman bb82b48715 ENH: change name 2007-11-09 12:18:06 -05:00
Bill Hoffman 2696f7e0ea ENH: add ability to use your own install directories 2007-11-08 20:37:32 -05:00
Bill Hoffman 2f23d79969 ENH: fix bug in default arch, it was using the environment variable which is not a default 2007-11-08 14:31:56 -05:00
Clinton Stimpson 1a5fe3047e BUG: handle qmake returning multiple paths for mkspecs. Fixes #5935 2007-11-08 12:27:18 -05:00
Clinton Stimpson 46bdfe1d7b ENH: Add support for static Qt 4.3 builds. 2007-11-08 10:56:13 -05:00
David Cole e3572607f4 BUG: Do not us the search_paths_first flag on older Mac OSX (10.2 and earlier) systems. 2007-11-08 09:09:14 -05:00
Miguel A. Figueroa-Villanueva aa51ca2512 BUG: Fixed error related to missing quotes around variable. 2007-11-04 01:20:22 -04:00
Bill Hoffman a1a5895c89 ENH: fix for RPM generator from Eric 2007-11-01 09:52:09 -04:00
David Cole 5beb1da7f7 ENH: Add CPACK_SET_DESTDIR handling to enable packaging of installed files in absolute locations. With this setting on, cpack will set the DESTDIR env var when building the package so that files end up in their intended locations. Default behavior is not to set DESTDIR for backwards compatibility. Helps address issue #4993 and issue #5257. Also, remove unused CPACK_USE_DESTDIR variable. ENH: Add variable CPACK_PACKAGING_INSTALL_PREFIX to allow overriding the CPack GetPackagingInstallPrefix from a project's CMakeLists file if necessary. Could be used to remove the annoying /usr prefix still used by default in the Mac PackageMaker generator. 2007-10-31 08:50:17 -04:00
Bill Hoffman eb14543939 ENH: cpack changes, remove the escape variable stuff as it is not needed if you provide a config file for cpack 2007-10-30 23:02:43 -04:00
Bill Hoffman 09c49cf658 ENH: use cpack generic variable if rpm one is not set 2007-10-30 10:16:43 -04:00
Bill Hoffman 02f79c7242 ENH: add ability to set installer icons, links to web pages, nsis code in the icon section of the template, and ability to escape variables correctly 2007-10-29 08:11:44 -04:00
Alexander Neundorf 2d1bcf806f BUG: rename DEBIAN_PACKAGE_* variables to CPACK_DEBIAN_PACKAGE_* variables
to make them actually work

Alex
2007-10-25 13:26:54 -04:00
Bill Hoffman 617e6082fa ENH: fix bitmap escapes 2007-10-22 17:16:33 -04:00
Bill Hoffman 5765fbbb88 ENH: fix spelling error 2007-10-22 14:01:49 -04:00
Bill Hoffman cfb84d8562 ENH: allow CPACK_PACKAGE_ICON to be not set 2007-10-22 11:40:07 -04:00
Bill Hoffman 397d7ff29d ENH: try to fix boostrap on 10.5 2007-10-22 10:17:31 -04:00
Bill Hoffman 613c35e033 ENH: do not always add -arch flags 2007-10-19 22:24:00 -04:00
Bill Hoffman 3e03bca2cd ENH: add ability to create links on the start menu 2007-10-18 09:40:10 -04:00
Miguel A. Figueroa-Villanueva 97e5b7e01f ENH: Added support for finding wxWidgets-2.9. Thanks to Joshua Jensen and Steven. 2007-10-17 09:38:30 -04:00
Ken Martin b63ff2fb6f ENH: minor doc cleanups and an example of documenting a variable 2007-10-15 14:50:18 -04:00
Miguel A. Figueroa-Villanueva 1c1cde697b BUG: Added support for the AUI library module (bug 4338). Also applied some
STYLE changes including: deprecation of wxWidgets_USE_LIBS in favor of using
standard FIND_PACKAGE COMPONENTS, removed some CMake 2.4.2 compatibility patches,
use of execute_process instead of exec_program, etc.
2007-10-12 21:30:24 -04:00
Bill Hoffman 6f2a997781 BUG: fix for bug 5878 2007-10-12 19:33:41 -04:00
Bill Hoffman b2ac4754a6 ENH: add from bug 0004219 2007-10-12 11:34:07 -04:00
Bill Hoffman e808f81f90 BUG: fix for bug 0005871 2007-10-12 11:00:35 -04:00
Alin Elena 680cff0b9f ENH: FindBLAS.cmake and FindLAPACK.cmake modules added. They locate various implementations of blas and lapack libraries. CheckFortranFunctionExists.cmake provides a test function to check if the library is usabale. I have also changed the -KPIC flag to -fPIC in Linux-ifort.cmake. 2007-10-10 17:47:37 -04:00
Bill Hoffman f4ab553178 ENH: add support for preprocessed files in borland 2007-10-05 13:15:34 -04:00
Bill Hoffman ef3c6f31fd ENH: set QT_EDITION_DESKTOPLIGHT and do not disable modules 2007-09-27 14:20:27 -04:00
Bill Hoffman 3d648db3c4 ENH: look for qt in a beter registry place and disable modules that won't work with DesktopLight, also set QT_EDITION variable 2007-09-26 20:53:29 -04:00
Brad King c5b197842f BUG: Enable CMAKE_HP_PTHREADS only when the old CMA threads are available. Modern HP pthreads are just normal pthreads. 2007-09-24 09:53:41 -04:00
Bill Hoffman 6a72bffaf4 ENH: remove message 2007-09-21 11:42:12 -04:00
Brad King 8481c4f1e9 BUG: Do not use CMA threads on HP if they do not exist. 2007-09-20 17:21:23 -04:00
Alexander Neundorf 93223f7dc0 BUG: if Qt is installed as a framework, add -F to the command line so
Q_WS_MAC can be detected correctly

Alex
2007-09-19 09:35:37 -04:00
Bill Hoffman 0eba9b638f ENH: allow for desktop link to be created and fix chop of last char in PATH on uninstall 2007-09-18 15:16:21 -04:00
Alexander Neundorf ec207513e4 BUG: make the string static, otherwise the contents are gone when we exit
the function (same fix as in VTK/CMake/)

Alex
2007-09-18 15:13:22 -04:00
Alexander Neundorf 4ee1ee1bd0 ENH: add support for the Portland Compiler to CMake, can build cmake and the tests pass (except the wrapping tests, which fail to link to the g++-compiled Qt)
Alex
2007-09-17 15:55:17 -04:00
Bill Hoffman 298b1491e6 ENH: allow for installation of debug libs 2007-09-17 15:26:59 -04:00
Bill Hoffman 9cbb998737 ENH: add support for vs 2008 beta 2 2007-09-17 15:21:47 -04:00
Alexander Neundorf 5ceafcb7e2 STYLE: mark the generator options as advanced
Alex
2007-08-31 16:27:08 -04:00
Alexander Neundorf 52bf51b425 ENH: add support for the next python release, python 2.6
Alex
2007-08-30 13:35:54 -04:00
Alexander Neundorf 483a147136 ENH: fail with error if trying to create a RPM stating that rpmbuild can't
handle spaces

Alex
2007-08-29 16:31:46 -04:00
Alexander Neundorf c3b42e90ed ENH: add flag so a terminating slash for the link path can be specified (needed by the Digital Mars D compiler)
Alex
2007-08-28 16:19:01 -04:00
Alexander Neundorf bd8b733d5e ENH: use the same CMAKE_SKIP_RPATH setting in CHECK_C/CXX_SOURCE_RUNS as in
the main project. I think it doesn't make sense if a project disables
RPATH, uses CHECK_C_SOURCE_RUNS() to see if something is able to run, and
this succeeds because it has been built with RPATH, but an executable built
within the project won't be able to run since it has been built without
RPATH.

Alex
2007-08-28 10:52:07 -04:00
Alexander Neundorf c41f798383 COMP: make it build on NetBSD, which has separate curses and ncurses, so
it has to be detected that curses isn't good enough, but ncurses is, and
that ncurses.h instead of curses.h is included

Alex
2007-08-27 09:01:14 -04:00
Alexander Neundorf 983e2a9a51 BUG: KDEDIRS contains the kde install locations, not the binary dirs, so
make KDEDIRS actually work in FindKDE4.cmake

Alex
2007-08-26 03:29:13 -04:00
Alexander Neundorf 1410eef27a STYLE: fix typo
Alex
2007-08-26 02:42:46 -04:00
Alexander Neundorf f35f1ac9ab STYLE: fix typo in the docs
Alex
2007-08-24 08:40:57 -04:00
Alexander Neundorf 6fd330b9e8 ENH: support QtScript
Alex
2007-08-21 16:51:30 -04:00
Alexander Neundorf b0b34dc7e5 ENH: support QtScript (since Qt 4.3), #4632
Alex
2007-08-21 16:50:49 -04:00
Alexander Neundorf 68c2dd8009 COMP: also use -Wl,-relax and -lc -lnss etc. when using the IBM compiler
Alex
2007-08-17 10:41:27 -04:00
Alexander Neundorf 45da4d2f80 ENH: patch from Eric Noulard for an RPM package generator
It seems rpmbuild can't handle paths with spaces, it complains that
Buildroot takes only one tag (or something like this), quoting and escaping
don't seem to help.

Alex
2007-08-17 09:13:15 -04:00
Bill Hoffman 038f3e240c ENH: use the correct flag for the linker 2007-08-17 09:00:13 -04:00
Alexander Neundorf fee42f6e68 STYLE: this wasn't intended to be committed
Alex
2007-08-16 15:03:31 -04:00
Alexander Neundorf 6b0e5745ab ENH: add -Wl,-relax to the default linker flags for BlueGene, otherwise you can get "relocation truncated to fit" errors
Alex
2007-08-16 15:02:14 -04:00
Bill Hoffman 8ee6fc0598 ENH: make sure osx searches static and shared libs like other platforms 2007-08-16 09:22:29 -04:00
Alexander Neundorf 5fdb818c84 COMP: fix arguments
Alex
2007-08-16 08:37:17 -04:00
Alexander Neundorf b100fe1fe1 STYLE: don't use an extra file to generate CMakeSystem.cmake but instead
configure the toolchain file into it if required
-also search for nm, objdump and objcpy, so these can be used in macros

Alex
2007-08-15 14:26:00 -04:00
Alexander Neundorf 984b0adc5f STYLE: explicitely set default options for sdcc, so it is visible for which
processor it currently compiles, use --out-fmt-ihx to enforce .ihx files

Alex
2007-08-15 14:22:54 -04:00
Alexander Neundorf 58b0e31784 COMP: ccmake requires ncurses, according to Berk and since it doesn't build
on NetBSD where there are separate curses and ncurses libraries, and where
the curses library is found, which doesn't work for ccmake while the
existing ncurses library would work.
With this change it should be possible to test whether the found curses lib
provides ncurses functionality.

Alex
2007-08-15 09:43:01 -04:00
Alexander Neundorf 281e08131a BUG: fix typo
Alex
2007-08-14 10:20:20 -04:00
Alexander Neundorf dfbd4ce0f2 ENH: deb generator: don't use the system provided ar, but do it yourself
using the code from OpenBSD ar
COMP: don't build all package generators on all platforms

Alex
2007-08-14 08:40:40 -04:00
Alexander Neundorf 263bb4e172 ENH: for universal binaries return the endianess based on the processor
Alex
2007-08-13 11:04:19 -04:00
Alexander Neundorf c2e714c079 COMP: turn error into warning for now
Alex
2007-08-12 21:08:14 -04:00
Alexander Neundorf 578841cce5 STYLE: remove unused CheckTypeSize.c.in
ENH: change test for endianess from TRY_RUN() to TRY_COMPILE() by testing
the binary image of a 16bit integer array, tested on Linux x86, Intel Mac
and Sun (big endian)

Alex
2007-08-10 13:14:00 -04:00
Alexander Neundorf 1fe4220669 STYLE: remove unnecessary default search paths
Alex
2007-08-10 11:37:29 -04:00
Alexander Neundorf 40e55ab780 BUG: fix compiler id test on cygwin
Alex
2007-08-10 09:20:14 -04:00
Alexander Neundorf 512e0d40ef ENH: set UNIX, WIN32 and APPLE in cmMakefile.cxx as it was before, so it
works for scripts, then reset them in CMakeSystemSpecificInformation.cxx, so
the platform modules can set them again for the target system

Alex
2007-08-10 09:07:39 -04:00
Alexander Neundorf f9cb0f3cb4 BUG: also include UnixPaths.cmake on these platforms, this also sets UNIX to 1
Alex
2007-08-10 08:54:42 -04:00
Alexander Neundorf 97b57fbaa4 BUG: use CMAKE_HOST_UNIX here instead of UNIX
Alex
2007-08-09 16:47:35 -04:00
Alexander Neundorf 176fe63d15 ENH: UNIX, CYGWIN, WIN32, APPLE, QNXNTO and BEOS are not longer set in
cmMakefile.cxx, but now in the platform files and are now valid for the
target platform, not the host platform.
New variables CMAKE_HOST_WIN32, CMAKE_HOST_UNIX, CMAKE_HOST_APPLE and
CMAKE_HOST_CYGWIN have been added in cmMakefile.cxx (...and have now to be
used in all cmake files which are executed before
CMakeSystemSpecificInformation.cmake is loaded). For compatibility the old
set is set to the new one in CMakeDetermineSystem.cmake and reset before the
system platform files are loaded, so custom language or compiler modules
which use these should still work.

Alex
2007-08-09 14:45:23 -04:00
Alexander Neundorf 4b92b89664 BUG: work with spaces in the path
Alex
2007-08-09 11:05:32 -04:00
Alexander Neundorf 4ba24ce474 ENH: patch from Mathieu: more entries in the debian control file
Alex
2007-08-08 14:18:13 -04:00
Alexander Neundorf 7432ef206e ENH: add empty RPM package generator, Eric Noulard wants to work on it
Alex
2007-08-08 11:33:42 -04:00
Alexander Neundorf 88bb17bee9 STYLE: find Dart quietly (so it doesn't go in the feature log)
Alex
2007-08-07 15:42:37 -04:00
Alexander Neundorf 8d7b502337 ENH: add global properties for collecting enabled/disabled features during
the cmake run and add macros print_enabled/disabled_features() and
set_feature_info(), so projects can get a nice overview at the end of the
cmake run what has been found and what hasn't
FIND_PACKAGE() automatically adds the packages to these global properties,
except when used with QUIET
Maybe this can also be useful for packagers to find out dependencies of
projects.

Alex
2007-08-07 15:41:57 -04:00
Alexander Neundorf af1b145b3b STYLE: fix typo
Alex
2007-08-06 22:08:59 -04:00
Alexander Neundorf b82b47e329 STYLE: use FIND_PACKAGE_HANDLE_STANDARD_ARGS() also in FindMPI.cmake
-remove unnecessary ELSE() in FindThreads.cmake

Alex
2007-08-06 11:02:58 -04:00
Bill Hoffman 70585819fb ENH: threads used to include this 2007-08-06 10:42:45 -04:00
Alexander Neundorf 68674bd0d7 ENH: better error messages from the debian package generator
-don't display the cpack help if a generator failed with some problem
-check for cmSystemTools::GetErrorOccuredFlag()

Alex
2007-08-03 15:26:30 -04:00
Alexander Neundorf f32aa8f296 ENH: make the python modules usable for C and C++ and only write the header
if it has changed

Alex
2007-08-02 15:48:51 -04:00
Alexander Neundorf dac7814841 ENH: use WindowsPaths.cmake on all Windows platforms, not only for cl, makes
the mingw cross compiler work out of the box and should help mingw users on
windows with a common install dir

Alex
2007-08-02 11:17:32 -04:00
Alexander Neundorf 21f73ebc36 ENH: add support for Catamount, the OS running on the compute nodes of Cray super computers
Alex
2007-08-01 09:14:32 -04:00
Alexander Neundorf 7beee2df48 STYLE: don't use FIND_INCLUDE_FILE() but only FIND_INCLUDE_FILES() in
FindThreads.h

BUG: improve CheckC(XX)SourceRuns.cmake so that it works with cross
compiling, the return value has to go in the cache but shouldn't overwrite
the actual return value, and it should go only in the cache if we have a
result from try_run() otherwise we won't get here again if we have a result
later on

Alex
2007-07-31 13:30:10 -04:00
Alexander Neundorf 507896e03b ENH:
-add /usr/openwin/include and /usr/openwin/lib to the default search paths
-add /${CMAKE_INSTALL_PREFIX}/(lib|bin|include) to the default cmake search
paths -> this should help users who install stuff in their home

Alex
2007-07-27 11:57:17 -04:00
Alexander Neundorf d6a0c330bc ENH: deb generator can now generate deb packages
-remove the unscriptable commands also from the cpack cmake
-use CPACK_PACKAGE_CONTACT in CMakeCPack.cmake, it's used in the nsis and
the deb generator
-make set_properties() scriptable
-use a non-const char array for adding the python modules

Alex
2007-07-27 08:59:59 -04:00
Alexander Neundorf 7e9eed0230 COMP: same as in VTK, build modules by default as shared if the platform
supports this, don't include shared modules in the generated header

Alex
2007-07-25 15:08:37 -04:00
Alexander Neundorf a39aff52a0 ENH: add an empty debian package generator, Mathieu volunteered to fill it
:-)

Alex
2007-07-25 10:57:33 -04:00
Alexander Neundorf 919265516e ENH: add ReadListFile() to cmCPackGenericGenerator, so cmMakefile can be
private again
-convert the ZIP generator to use a cmake script instead of hardcoding
everything (CPackZIP.cmake)

Alex
2007-07-24 12:52:39 -04:00
Alexander Neundorf 8a6e2bb81d ENH: determine the current system also in cpack, so the search paths are
loaded
Additionally the makefile in cmCPackGenericGenerator is now protected
instead of private, so with these two changes the cpack generators should
now be able to find their tools and how to call these tools from cmake
scripts, instead of hardcoding the search order and command line (as done
e.g. in cmCPackZIPGenerator.cxx)

Alex
2007-07-24 10:00:26 -04:00
Alexander Neundorf 3c92cfbea0 STYLE: mark the variable as advanced
Alex
2007-07-23 11:22:14 -04:00
Alexander Neundorf 13db5b578b ENH: add second failure message parameter to
FIND_PACKAGE_HANDLE_STANDARD_ARGS(), so cmake modules can specify their own
better failure messages. If the default is ok use "DEFAULT_MSG".
Do this also for FindBoost.cmake (#5349)

Alex
2007-07-23 09:49:52 -04:00
Alexander Neundorf 3a12116e39 ENH: try if tail works with the -n +<number> syntax, if not use only
"+<number>" (GNU tail warns that this is deprecated)

Alex
2007-07-19 15:39:58 -04:00
Alexander Neundorf 0f4985ea23 ENH: add TK_FOUND and TCLTK_FOUND
TCL_FOUND is now TRUE if Tcl was found, before it was only TRUE if Tcl and
Tk were found

Alex
2007-07-19 13:40:23 -04:00
Alexander Neundorf 3907d59445 BUG: fix typo
Alex
2007-07-19 11:59:04 -04:00
Alexander Neundorf f0b6f02746 ENH: make the list of modules global
Alex
2007-07-19 11:47:23 -04:00
Alexander Neundorf 3d862c44f1 ENH: only load the static modules in the LoadAll function
Alex
2007-07-19 10:20:21 -04:00
Alexander Neundorf ad8efca061 BUG: fix #5329, if /usr/xpg4/bin/tail exists, use this one -> on SunOS
/usr/bin/tail doesn't understand the -n +<number> syntax
-remove standard searchd dirs from FindPHP4.cmake

Alex
2007-07-19 09:42:57 -04:00
Alexander Neundorf c7770b8edb ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS() macro in most of the
not-too-complicated modules
-remove unnecessary default search paths used in the FIND_XXX() calls

Alex
2007-07-19 09:00:51 -04:00
Alexander Neundorf b5f656e0de ENH: use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS in some of the FindXXX
modules, remove some of the extra search paths which are also searched by
default

Alex
2007-07-18 13:56:45 -04:00
Alexander Neundorf e118a62709 ENH: add a macro FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibXml2 LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
which handles the required and QUIET arguments and sets <NAME>_FOUND

Alex
2007-07-18 13:26:02 -04:00
Alexander Neundorf ff9ed18dad ENH: if CMAKE_(C|CXX)_COMPILER is preset to a list of two elements, use the
first one as the compiler and the second one as ARG1 for the compiler

Alex
2007-07-18 10:52:53 -04:00
Alexander Neundorf 57f25c53e3 ENH: also look in the include/, lib/ and bin/ directories in the cmake
install dir under windows, this will help e.g. people using kdewininstaller
and similar setups

Alex
2007-07-17 08:51:45 -04:00
Alexander Neundorf 7eb86d1e3c ENH: don't hardcode the /lib/kde3/ directory for the libtool files, but make
it adjustable and detect if libkdecore.so is a 64bit library

Alex
2007-07-17 08:41:20 -04:00
Alexander Neundorf ce33d80fa5 BUG: the Plugin test fails on NetBSD, let's see if this fixes it
Alex
2007-07-16 10:13:00 -04:00
Alexander Neundorf 5bd38eb630 ENH: also add the install base dir of the running cmake to the search
directories for the FIND_XXX() commands, for the case that somebody has its
own install tree

Alex
2007-07-16 09:08:45 -04:00
Alexander Neundorf 2339b9f753 ENH: add DragonFly BSD, which is very close to FreeBSD (#4500)
Alex
2007-07-13 11:20:42 -04:00
Alexander Neundorf 8e6f6155c0 BUG: the SET( ... CACHE INTERNAL) didn't work as expected, since the
variable is already added to the cache inside cmTryRunCommand.cxx, so the
value used here was ignored. Additionally the INTERNAL made it internal,
which shouldn't be done when cross compiling, since here the user is
required to edit this variable manually e.g. using ccmake.

Alex
2007-07-13 10:29:36 -04:00
Alexander Neundorf 2509e24afe ENH: add the static libs always to the link libs, if they are not used it shouldn't hurt
Alex
2007-07-12 16:15:29 -04:00
Alexander Neundorf 3e72dbe4c2 ENH: add macro to test if a member has specified struct, e.g.
check_struct_has_member("struct stat" st_rdev    "${CFG_HEADERS}" HAVE_STRUCT_STAT_ST_RDEV)

Alex
2007-07-12 15:00:37 -04:00
Alexander Neundorf d090159318 ENH: add support for the ADSP toolchains for Blackfin, Shark and TigerShark
DSPs, patch from Raphael Cotty

Alex
2007-07-12 13:41:00 -04:00
Alexander Neundorf a5be2b7782 BUG: honor REQUIRED and QUIETLY (#5312)
Alex
2007-07-12 11:05:57 -04:00
Alexander Neundorf 021ceea1b0 ENH: second try for handling the linker language with integer priority values (returning a pointer to a string on the stack is no good idea)
Alex
2007-07-12 08:37:10 -04:00
Alexander Neundorf 16705a3e87 COMP: revert last commit for now, broke Visual Studio
Alex
2007-07-11 17:29:27 -04:00
Alexander Neundorf bea1a5de77 ENH: CMAKE_<LANG>_LINKER_PREFERENCE is now an integer priority, not a
two-step priority (None or Prefered)
Current order: ASM 0, C 10, Fortran 20, CXX 30, Java 40
This is the same order as automake choses:
http://www.gnu.org/software/automake/manual/html_node/How-the-Linker-is-Chosen.html

This change should be backward compatible:
if there is a project using fortran and CXX, they had to set the
LINKER_LANGUAGE explicitely, otherwise cmake complained (but still generated
the project files). Explicitely setting the linker language still overrides
automatic detection.
If somebody has a custom language for cmake and the PREFERENCE starts with
"P", its changed to 100, which gives it preference over all other languages
(except the other custom languages which have also "Prefered"). "None" is
converted to 0.

Alex
2007-07-11 16:22:04 -04:00
Alexander Neundorf d885d45b0f ENH: add CMAKE_INCLUDE_FLAG_ASM${ASM_DIALECT} and don't allow preset
CMAKE_xxx_INFORMATION files

Alex
2007-07-11 13:39:51 -04:00
Alexander Neundorf 3eced4a222 STYLE: use EXECUTE_PROCESS() instead of EXEC_PROGRAM()
Alex
2007-07-10 21:38:34 -04:00
Alexander Neundorf 1f7e8e6f0b ENH: add the ecos include dir and the ecos definitions by default
Alex
2007-07-10 17:11:57 -04:00
Alexander Neundorf 3974ddc69e ENH: add support for building eCos applications natively
Alex
2007-07-09 13:07:23 -04:00
Alexander Neundorf d9ec3bbe43 STYLE: don't test twice for APPLE
Alex
2007-07-03 11:41:37 -04:00
Alexander Neundorf 58fcc23a47 COMP: with visual studio it's no error if link isn't found
Alex
2007-07-02 15:54:41 -04:00
Alexander Neundorf fda7753f5c ENH: make supporting embedded compilers need a user specific linker file for
compiling an executable (amd thus cannot build the compiler-id program)
easier by providing CMAKE_FORCE_XXX() macros which force cmake to use the
given compilers anyway

Alex
2007-07-02 14:18:16 -04:00
Alexander Neundorf 930bb0cd37 ENH: remove support for presetting CMAKE_SYSTEM_INFO_FILE,
CMAKE_SYSTEM_AND_C_COMPILER_INFO_FILE, CMAKE_SYSTEM_AND_CXX_COMPILER_INFO_FILE,
CMAKE_SYSTEM_AND_C_COMPILER_AND_PROCESSOR_INFO_FILE and CMAKE_SYSTEM_AND_CXX_COMPILER_AND_PROCESSOR_INFO_FILE

Instead of presetting these variables to arbitrary filenames, users should
set up CMAKE_SYSTEM_NAME and the compilers correctly and also create a
Platform/ directory so these files will all follow the official cmake style,
which should make it easier to understand and debug project which have their
own platform/toolchain support files.

-remove support for a suffix to MS crosscompilers, since this is not (yet)
supported by cmake and might confuse users

Alex
2007-07-02 13:29:36 -04:00
Alexander Neundorf 3c1c335800 BUG: with MS Visual Studio currently there is no compiler id, so check the
generator too

Alex
2007-07-02 12:46:55 -04:00
Alexander Neundorf 5b18b80b58 ENH: initial support for assembler in cmake, needs testing by our users
Alex
2007-06-28 09:14:27 -04:00
Alexander Neundorf d44bd2551c BUG: use ${LANG}_COMPILER_ARG1 also here, otherwise some compilers won't be
able to compile e.g. the C++ source file (e.g. the ADSP compiler needs -c++
for compiling C++ files)

Alex
2007-06-27 14:55:42 -04:00
Brad King eab81489f1 ENH: Added global property FIND_LIBRARY_USE_LIB64_PATHS to allow lib64 paths to be searched optionally. Turn off the feature on debian systems. This addresses debian report 419007. 2007-06-27 12:07:34 -04:00
Brad King a5e6f52a96 ENH: Added GNU/Hurd platform. Taken from debian patch 407155. 2007-06-27 11:42:10 -04:00
Alexander Neundorf 25a425ecf0 ENH: 2007-06-26 15:15:52 -04:00
Alexander Neundorf cd8687782b ENH: add basic support for sdcc (http://sdcc.sourceforge.net), needs sdcc (sdcclib) cvs for creating libraries)
Alex
2007-06-26 13:19:46 -04:00
Alexander Neundorf f8261ff9f7 STYLE: change global cmake variable CMAKE_TARGET_SUPPORTS_ONLY_STATIC_LIBS
to the first global cmake property TARGET_SUPPORTS_SHARED_LIBS

Alex
2007-06-26 13:05:27 -04:00
Alexander Neundorf 5fb7dab541 ENH: check for CMAKE_HOST_SYSTEM_NAME to decide whether to load
CMakeDetermineSystem.cmake, since CMAKE_SYSTEM_NAME might already be preset
when using cmake for cross compiling
use type STRING instead of FILEPATH since otherwise a strange filename was
generated

Alex
2007-06-26 13:00:42 -04:00
Alexander Neundorf 10e3efa6b5 ENH: add support for BlueGene/L
Alex
2007-06-22 10:22:27 -04:00
Alexander Neundorf 1383368628 ENH: print a warning if ADD_LIBRARY( SHARED/MODULE ) is used and the target
platform doesn't support shared libraries

Alex
2007-06-21 16:23:54 -04:00
Alexander Neundorf 0b804cbece STYLE: use IF(NOT ...) and remove MARK_AS_ADVANCED() for variables which are
not defined here

Alex
2007-06-18 18:01:15 -04:00
Alexander Neundorf df1edcb9d3 ENH: first include the processor specific file, then the compiler file, this
way the specific hardware file can set variables which can be used in the
toolchain rules (like CMAKE_C_COMPILE_OBJECT etc.)

Alex
2007-06-12 16:41:50 -04:00
Alexander Neundorf 6c02ec1a40 STYLE: add a comment about SetLanguageEnabled()
-add a Generic.cmake for target platforms without operating system

Alex
2007-06-11 15:47:35 -04:00
Alexander Neundorf 422dc631b6 ENH: split cmGlobalGenerator::SetLanguageEnabled() in two parts, where the
second part copies the values from the cmake variables into internal maps.
So this can now be done after the compiler-specific information has been
loaded, which can now overwrite more settings.

Alex
2007-06-11 15:31:42 -04:00
Brad King 1a71290836 BUG: Fixed name of variable used to check version of uic executable. 2007-06-11 15:02:03 -04:00
Alexander Neundorf 79077f8373 ENH: more consistence among the X11 components
Alex
2007-06-08 10:28:52 -04:00
Alexander Neundorf dddc9e3103 ENH: patch from #5054: also search for QtUitoolsd lib
Alex
2007-06-08 09:28:33 -04:00
Alexander Neundorf b956fc2406 STYLE: remove out commented code
Alex
2007-06-07 13:51:17 -04:00
Alexander Neundorf eab5a4350d ENH: also load a processor-specific file if exists
-also try the basename file if the compiler id file doesn't exist
-don't rely so much on the CMAKE_TOOLCHAIN_FILE

Alex
2007-06-05 10:28:43 -04:00
Alexander Neundorf 6989f80026 COMP: don't use stdio, it can fail on some embedded targets (sdcc)
Alex
2007-06-05 10:20:21 -04:00
Alexander Neundorf 442147504f COMP: make the new check_type_size work with the HPUX cc compiler: const doesn't exist there
Alex
2007-06-05 08:30:50 -04:00
Alexander Neundorf 74750610cf ENH: determine typesize by compiling a file and reading strings from the compiled output.
Tested with various gcc, XCode, MSVC7, sdcc
For OSX when doing TRY_COMPILE() CMAKE_OSX_ARCHITECTURES is used, if there are different results an error is generated. CMAKE_OSX_ARCHITECTURES can be overwritten for the TRY_COMPILES with CMAKE_TRY_COMPILE_OSX_ARCHITECTURES.

Alex
2007-06-04 17:08:46 -04:00
Alexander Neundorf f94b8cfd3c COMP: fix warnings on some machines where some X libs apparently don't
really work by reverting X11_LIBRARIES back to the old version
-add some more X11_xxx_FOUND variables
-reformat comments at the top
-always use IF(INCLUDE_DIR and LIB) for setting FOUND to TRUE

Alex
2007-06-01 13:17:23 -04:00
Alexander Neundorf eddf1cf39f ENH: improve TRY_RUN() for crosscompiling: instead of just failing, it now
creates two cache variables, one for the RUN_RESULT, one for the RUN_OUTPUT
(if required), which can be set or preset by the user. It has now also two
new arguments: RUN_OUTPUT_VARIABLE and COMPILE_OUTPUT_VARIABLE (the old
OUTPUT_VARIABLE merges both), so if only COMPILE_OUTPUT_VARIABLE is used the
run time output of the TRY_RUN is unused and the user doesn't have to care
about the output when crosscompiling. This is now used in FindThreads.cmake,
CheckC/CXXSourceRuns.cmake and TestBigEndian.cmake, which used the output
only for the logfile (compile output is still there). Test/TryCompile/ now
also tests the behaviour of OUTPUT_VARIABLE, RUN_OUTPUT_VARIABLE and
COMPILE_OUTPUT_VARIABLE.

Alex
2007-06-01 11:16:29 -04:00
Alexander Neundorf 5a6a3cd869 ENH: mostly synced with FindX11.cmake from KDE svn: now also searches for a
lot of additional X11 libs, like Xv, Xau, Xrandr and others

Alex
2007-05-30 12:09:34 -04:00
Alexander Neundorf eed7c8dec1 ENH: always provide CMAKE_SYSTEM_XXX() and MAKE_HOST_SYSTEM_XXX() variables,
so when cross compiling the build host platform can be tested

Alex
2007-05-29 11:36:07 -04:00
Alexander Neundorf 55f11b348b ENH: add option to FILE(STRINGS NO_HEX_CONVERSION) to disable automatic
conversion of hex and srec files to binary.
Without this automatic conversion, everywhere where a compiled file is parsed for strings the
a file(HEX2BIN somefile binfile) command has to be added otherwise it will
not work for these compilers. I tried this with DetermineCompiler and
CheckTypeSize and nobody will do this except the users who work with such
compilers. For them it will break if they don't add this conversion command
in all these places.
If FILE(STRINGS) is used with a text file, it
will in most cases still work as expected, since it will only convert hex
and srec files. If a user actually wants to get text out of hex files, he
knows what he's doing and will see the hint in the documentation.

Anyway, it should work without having to create a temporary file, will work
on this later.

Alex
2007-05-25 16:46:50 -04:00
Alexander Neundorf f4eb541880 ENH: make the compiler id detection work, even if the output file name of
the compiler is completely unknown and even if it produces intel hex or
motorola s-record files, with test

Alex
2007-05-25 15:22:22 -04:00
Alexander Neundorf c9aecb91cc STYLE: remove debug output, fix indentation
the tests run again successfully, but since CheckTypeSize will switch to a
TRY_COMPILE soon I will look at it again after this change

Alex
2007-05-24 16:03:39 -04:00
Alexander Neundorf 504ea6df4e COMP: try to fix the test failures on dash2
Alex
2007-05-24 14:30:09 -04:00
Alexander Neundorf 8fb8a44f5f ENH: add compiler id for sdcc
Alex
2007-05-24 09:35:24 -04:00
Alexander Neundorf e10e3bc86e ENH: add compiler id for IAR compiler (http://www.iar.com/)
ENH: don't run endian test again if the variable is already set

Alex
2007-05-24 08:33:05 -04:00
Brad King 2d051a6709 ENH: Unify design of CMakeCCompilerId.c, CMakeCXXCompilerId.cpp, and CMakePlatformId.h. BUG: Do not violate system-reserved symbol namespace _[A-Z]. 2007-05-23 11:00:54 -04:00
Alexander Neundorf 6e2fd2c2ca BUG: now the toolchain file is configured into the buildtree, otherwise e.g.
CMAKE_SOURCE_DIR can't be used there
ENH: modify CMakeCCompilerId.c and .h so that sdcc can compile them. As they
were the preprocessor produced:

 9 "test.c"
static char const info_compiler[] = "INFO:compiler["
# 40 "test.c"
""

"]";

and the mixing of the preprocessing directives and the string constants
didn't work.

Alex
2007-05-22 12:48:16 -04:00
Alexander Neundorf 6be930f0cf STYLE: move the two CMAKE_SHARED_LIBRARYC/CXX_FLAGS for gcc from
CMakeGenericSystem.cmake to gcc.cmake

Alex
2007-05-22 09:15:00 -04:00
Alexander Neundorf 71359f5b9d STYLE: use a separate source file for generating CMakeSystem.cmake if CMAKE_TOOLCHAIN_FILE is used
Alex
2007-05-21 11:26:40 -04:00
Alexander Neundorf c8dd1caff9 BUG: don't fail if a compiler is given in CMAKE_C/CXX_COMPILER but it can't
be found in the path

Alex
2007-05-21 10:58:04 -04:00
Alexander Neundorf 3b4aa3bf35 BUG: always search for ar, ranlib, etc. except under MSVC -> this should fix the mingw fortran test
-also generate the fortran test with the kdevelop generator

Alex
2007-05-21 10:15:42 -04:00
Brad King daca282db4 BUG: Use @ONLY substitution to configure CMakeSystem.cmake. 2007-05-20 10:08:38 -04:00
Alexander Neundorf a18d286635 ENH: move hack to fix "new cmake on old build tree on OSX doesn't have CMAKE_INSTALL_NAME_TOOL in the cache" from
cmInstallTargetGenerator.cxx to Darwin.cmake

Alex
2007-05-18 11:57:29 -04:00
Brad King 92c0f41251 ENH: Use CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES from platform files to block link directories. 2007-05-18 11:36:23 -04:00
Alexander Neundorf 15a7414a60 COMP: if a new cmake runs on an old build tree, set CMAKE_LINKER to link to make it link
Alex
2007-05-18 10:55:35 -04:00
Alexander Neundorf 891f2130cf COMP: fix link rules with nmake, the linker command has to be converted to shortpath form for nmake
Alex
2007-05-18 10:32:22 -04:00
Alexander Neundorf d9bbc3f45f STYLE: fdcorrect comments about FC/CC
Alex
2007-05-18 09:16:07 -04:00
Brad King 8780da000a BUG: If the Fortran CompilerId source fails to compile it should not be a failure. It is only expected to work for Fortran90 compilers. 2007-05-18 09:08:49 -04:00
Alexander Neundorf ba2988e4c5 ENH: fail if install_name_tool wasn't found
Alex
2007-05-17 16:49:31 -04:00
Brad King 58debfd6bd ENH: Use IF(NOT DEFINED) check to short-circuit size test. 2007-05-17 15:17:45 -04:00
Alexander Neundorf 61d3444f93 ENH: merge CMake-CrossCompileBasic to HEAD
-add a RESULT_VARIABLE to INCLUDE()
-add CMAKE_TOOLCHAIN_FILE for specifiying your (potentially crosscompiling) toolchain
-have TRY_RUN() complain if you try to use it in crosscompiling mode (which were compiled but cannot run on this system)
-use CMAKE_EXECUTABLE_SUFFIX in TRY_RUN(), probably TRY_RUN won't be able to
run the executables if they have a different suffix because they are
probably crosscompiled, but nevertheless it should be able to find them
-make several cmake variables presettable by the user: CMAKE_C/CXX_COMPILER, CMAKE_C/CXX_OUTPUT_EXTENSION, CMAKE_SYSTEM_NAME, CMAKE_SYSTEM_INFO_FILE
-support prefix for GNU toolchains (arm-elf-gcc, arm-elf-ar, arm-elf-strip etc.)
-move ranlib on OSX from the file command to a command in executed in cmake_install.cmake
-add support for stripping during install in cmake_install.cmake
-split out cl.cmake from Windows-cl.cmake, first (very incomplete) step to support MS crosscompiling tools
-remove stdio.h from the simple C program which checks if the compiler works, since this may not exist for some embedded platforms
-create a new CMakeFindBinUtils.cmake which collects the search fro ar, ranlib, strip, ld, link, install_name_tool and other tools like these
-add support for CMAKE_FIND_ROOT_PATH for all FIND_XXX commands, which is a
list of directories which will be prepended to all search directories, right
now as a cmake variable, turning it into a global cmake property may need
some more work
-remove cmTestTestHandler::TryExecutable(), it's unused
-split cmFileCommand::HandleInstall() into slightly smaller functions

Alex
2007-05-17 13:20:44 -04:00
Bill Hoffman 871f7cf222 ENH: fix up compiler id to be more robust 2007-05-17 10:07:51 -04:00
Bill Hoffman 0c7130905d BUG: make sure this thing compiles on 64 bit machines 2007-05-17 08:38:07 -04:00
Brad King e1260b8468 ENH: Enabled preprocessor make rules for Watcom. 2007-05-16 13:26:47 -04:00
Brad King 93b94ce443 STYLE: Added basic usage documentation. 2007-05-15 10:23:40 -04:00
Bill Hoffman 9323a27989 ENH: initial support for creation of frameworks on Mac 2007-05-08 10:32:54 -04:00
Brad King 96232d4052 BUG: Detect debian with existence of /etc/debian_version so things work in a chroot install. This is suggested in bug#4805. 2007-05-07 18:17:32 -04:00
Brad King 44ab336a0c ENH: Merging CompilerId updates from branch CMake-Modules-CompilerId to the main tree. Changes between CMake-Modules-CompilerId-mp1 and CMake-Modules-CompilerId-mp2 are included. 2007-05-03 08:24:32 -04:00
Brad King 2db8d671e7 ENH: Changed GNUC compiler id name to GNU. 2007-05-01 14:35:55 -04:00
Brad King 5f1db8b249 STYLE: Added comment explaining choice of file extension. 2007-04-30 18:10:37 -04:00
Brad King 3b744d0804 BUG: Need to install CMakeCXXCompilerId.cpp so that C++ compiler identification works in an install tree. 2007-04-30 18:09:04 -04:00
Alexander Neundorf 412c0f4a61 STYLE: comment which says which variables this macro sets
Alex
2007-04-30 17:05:32 -04:00
Alexander Neundorf 8f7b0291d8 STYLE: use the newer FIND_XXX syntax, which should find MPI in even more
directories and doesn't require to list standard directories like /usr/lib,
etc.

Alex
2007-04-30 17:03:53 -04:00
Alexander Neundorf 22a2abb154 BUG: also install CMakePlatformId.h, otherwise the check for the compiler id
works only when building cmake itself, but not with an installed cmake

Alex
2007-04-30 16:05:42 -04:00
Alexander Neundorf 6e2cd41138 BUG: if /opt/lib and /opt/csw/lib are searched for libs, then /opt/include
and /opt/csw/include should also be searched for headers (according to
google they also exist)

Alex
2007-04-30 10:57:32 -04:00
Brad King eac71647dd ENH: Merging CompilerId implementation from branch CMake-Modules-CompilerId to the main tree. Changes between CMake-Modules-CompilerId-bp and CMake-Modules-CompilerId-mp1 are included. 2007-04-28 09:35:01 -04:00
Alexander Neundorf f693951480 STYLE: fix typo "CCC" -> "CC", add comments which variables it sets
Alex
2007-04-25 16:22:46 -04:00
Brad King 2dd364f751 ENH: Add CMAKE_EXE_EXPORTS_C_FLAG and CMAKE_EXE_EXPORTS_CXX_FLAG to support executables that export symbols. 2007-04-18 00:11:47 -04:00
Brad King 66d1930f56 ENH: Added CMAKE_EXE_EXPORTS_C_FLAG and CMAKE_EXE_EXPORTS_CXX_FLAG to support executables that export symbols. 2007-04-17 23:41:51 -04:00
Brad King 60befc2e49 ENH: Added CMAKE_SHARED_MODULE_LOADER_C_FLAG and CMAKE_SHARED_MODULE_LOADER_CXX_FLAG to support linking plugins to executables. 2007-04-17 16:19:36 -04:00
Sebastien Barre 5a836da544 ENH: this variable overrides all PROJECT_URL. Check the dashboard, all projects have the wrong URL in their "Home" button. Other variables (like ROLLUP_URL) were moved a while ago, for some reasons this one is still here. 2007-04-10 14:54:48 -04:00
Brad King a017333d9a ENH: Added option CMAKE_INSTALL_SO_NO_EXE on linux to choose whether the default permissions for shared libraries include the executable bit. This is necessary to support the conflicting policies of Debian and Fedora. These changes address bug#4805. 2007-04-10 11:22:15 -04:00
Brad King 0526552b10 ENH: Enabled use of soname and therefore versioning symlinks. Patch is from bug#4558. 2007-04-10 08:36:33 -04:00
Andy Cedilnik 4668f03484 BUG: Revert "Fix kwstyleSource/CTest/cmCTestBuildHandler.cxx" 2007-04-04 15:59:22 -04:00
Bill Hoffman 2803688998 BUG: fix for bug 4605 2007-04-04 13:43:12 -04:00
Andy Cedilnik 71fc9f9321 COMP: Fix kwstyleSource/CTest/cmCTestBuildHandler.cxx 2007-04-04 13:06:13 -04:00
Brad King 5a32aa5919 ENH: Added target property ENABLE_EXPORTS for executable targets. It enables the executables for linking by loadable modules that import symbols from the executable. This finishes the executable import library support mentioned in bug #4210. 2007-03-22 09:45:25 -04:00
Brad King 56ce727d10 BUG: Disable creation of import libraries for executables on Borland until it can be made optional. Otherwise all executables get a .lib with the same name which is unexpected behavior for users. 2007-03-20 09:14:27 -04:00
Brad King fc7c433463 ENH: Added support for import libraries created by executable and module targets. The module import libraries should never be used but some windows compilers always create them for .dll files since there is no distinction from shared libraries on that platform. The executable import libraries may be used to create modules that when loaded bind to symbols from the executables. This is an enhancement related to bug#4210 though not requested by it explicitly. 2007-03-19 10:00:36 -04:00
Brad King 2f09a22411 BUG: Do not create import library for MODULEs. This is an incremental fix for bug#4210. 2007-03-10 07:49:47 -05:00
Brad King 007fa79037 BUG: Fixed MSVC8 module build rule to not use /implib option. This is an incremental fix for bug#4210. 2007-03-10 07:37:42 -05:00
Brad King 475447870f BUG: Shared library creation should use /implib option to specify the name of the import library explicitly. This is an incremental step for bug #4210. 2007-03-09 13:59:18 -05:00
Brad King 0e8515fa4c BUG: Get rid of ancient variables CMAKE_CXX_WARNING_LEVEL, CMAKE_CXX_USE_RTTI, CMAKE_CXX_STACK_SIZE which are only partially implemented and now taken care of by flag mapping anyway. 2007-03-07 15:57:52 -05:00
Ken Martin 100723fbb0 BUG: untested fix for newlines in the output of pkg config 2007-03-07 15:36:09 -05:00
Andy Cedilnik cf3f5ce2bc STYLE: Defautl answer for the license is no 2007-03-06 09:16:46 -05:00
Ken Martin 8b7ff9b08b ENH: patch applied for bug 4517 2007-03-05 15:21:49 -05:00
Brad King 42e1ffb7f5 BUG: Do not create import library for MODULEs. The TARGET_IMPLIB name is not set correctly for MODULE rules anyway. 2007-03-03 10:09:18 -05:00
Andy Cedilnik b9ab2b1932 BUG: Propagate platform settings such as CMAKE_OSX_ARCHITECTURES to the try compile 2007-03-02 11:33:37 -05:00
Ken Martin 971f9e4869 ENH: limit the output of system information to no more than 50K per file 2007-03-02 10:57:20 -05:00
Brad King eb04778766 BUG: Fix bug introduced by revision 1.67. The qmake query mode prints information to stderr on some platforms. The OUTPUT_VARIABLE and ERROR_VARIABLE must be the same variable to get all the output. 2007-03-01 16:44:32 -05:00
Ken Martin fa9f03779f ENH: improvements 2007-02-27 09:43:34 -05:00
Ken Martin dc7c6172b1 ENH: added for system information command line option 2007-02-26 13:40:56 -05:00
Alexander Neundorf 20d75ac237 BUG: fix typo reported by Duncan Mac Vicar
Alex
2007-02-25 19:22:59 -05:00
Bill Hoffman 846b058f73 ENH: force c++ when building c++ objects 2007-02-21 11:45:38 -05:00
Bill Hoffman d7b5020a2e ENH: better processor detection on linux 2007-02-21 10:29:36 -05:00
Bill Hoffman 086da498d4 ENH: remove df because df is a unix utilitiy 2007-02-21 10:03:11 -05:00
Bill Hoffman b8eede3b19 BUG: fix for bug 3950 add support for df compiler on windows 2007-02-20 16:43:32 -05:00
Bill Hoffman 533bd43d0f BUG: fix for bug # 3954 glib with qt 2007-02-20 16:35:45 -05:00
Alexander Neundorf 2fb0e4ba20 STYLE: fix docs for FindKDE4.cmake
Alex
2007-02-20 16:05:42 -05:00
Alexander Neundorf 2ab03bd4f0 BUG: remove KDE3_ENABLE_FINAL (#4140): it doesn't work currently and I
don't have the time to fix this since it would require bigger changes. Maybe
I'll do this if the KDE3 support of CMake becomes more widely used.

Alex
2007-02-20 16:02:51 -05:00
Alexander Neundorf 747f135d2c STYLE: don't put the copyright notice twice in the file
Alex
2007-02-20 16:00:39 -05:00
Bill Hoffman 531f110323 BUG: fix for bug 4187 fix typo in docs 2007-02-20 15:15:55 -05:00
Bill Hoffman 90e4d70dcc BUG: fix for 4188 look for smake as well as gmake and make 2007-02-20 15:14:04 -05:00
Bill Hoffman c96c175484 ENH: try to force c++ on qnx 2007-02-20 11:33:40 -05:00
Bill Hoffman ba66b8d50b BUG: fix for bug 4420 add language dll's to mfc install 2007-02-20 09:54:20 -05:00
Brad King a7042f2e97 BUG: Applied patch from bug#4462. 2007-02-19 13:53:25 -05:00
Bill Hoffman 71e0fcb806 BUG: fix for bug 4464 handle qmake errors better 2007-02-19 13:44:30 -05:00
Andy Cedilnik f2c0dbd164 ENH: More work on the packaging. Add Applicaitons, add icons, etc 2007-02-13 14:13:51 -05:00
Alexander Neundorf cfc38fc47d STYLE: remove empty line, so the documentation for the module is complete
again

Alex
2007-02-10 09:52:00 -05:00
Alexander Neundorf 5586c6f41b ENH: now also the "ecosclean" target works with MS nmake
Alex
2007-02-07 14:50:45 -05:00
Bill Hoffman 8b567083da BUG: fix for bug 4399 2007-02-07 11:50:57 -05:00
Bill Hoffman f548dc4a06 BUG: fix for 4420 Unicode and MBC versions of the MFC 2007-02-07 10:26:25 -05:00
Bill Hoffman 98a5bbd3aa ENH: fix depend bug in qt 2007-02-02 16:51:51 -05:00
Bill Hoffman 4925e64b97 ENH: add support for cygwin source and binary packaging 2007-02-02 14:40:26 -05:00
Alexander Neundorf 2d4bc73d39 BUG: add gettext module for working with GNU gettext (#4081)
Alex
2007-02-02 12:46:52 -05:00
Alexander Neundorf 94550852eb BUG: finally fix #4331, the previous version just caught the tag, the
filename not at all

Alex
2007-01-31 15:06:07 -05:00
Alexander Neundorf bb7304706d STYLE: KDEDIR is deprecated and not used, so also document that KDEDIRS is
used instead

Alex
2007-01-30 15:43:25 -05:00
Alexander Neundorf 863f2b76cb BUG: reent.c wasn't intended to be committed, too special
Alex
2007-01-23 13:41:35 -05:00
Alexander Neundorf 152040fd83 STYLE: use even more absolute paths, can't hurt for out-of-source builds
STYLE: use SET_SOURCE_FILES_PROPERTIES() on multiple files at once instead
of interating over each one of them
STYLE: no need to add target.ld to the clean-files, this is done now automatically by add_custom_command()
ENH: now also MS nmake can be used to build ecos apps

Alex
2007-01-23 13:29:44 -05:00
Andy Cedilnik 66718107db COMP: Fix typo that makes all Qt4 builds break 2007-01-20 10:05:23 -05:00
Bill Hoffman c9c18982f3 BUG: fix for bug 4331 2007-01-19 11:55:39 -05:00
Bill Hoffman 51bf1bd99a BUG: fix for bug 4331 2007-01-18 20:35:07 -05:00
Alexander Neundorf c37f2c20d9 ENH: the ecos headers are always in the binary dir
Alex
2007-01-17 14:06:18 -05:00
Alexander Neundorf 4cb8e3c43f ENH: building ecos apps now seems to work also out-of-source
Alex
2007-01-17 13:57:34 -05:00
Alexander Neundorf c6f74dfe3b BUG: also check that tclsh is available, otherwise you can't build any eCos
stuff
ENH: make the name of the config file ecos.ecc adjustable via the new
variable ECOS_CONFIG_FILE

Alex
2007-01-17 13:45:28 -05:00
Andy Cedilnik f015e1ff03 ENH: Change permission for getdisplay.sh to make the runtimescript work 2007-01-10 18:33:03 -05:00
Andy Cedilnik de5540f7e5 ENH: First pass at CPack generator for OSX X11 applications. This are applications that require X11 to work. This is not really installed but a bundle packager 2007-01-10 15:30:26 -05:00
Alexander Neundorf 7ab81d187e ENH: if a wrong qmake has been found, mark it as invalid in the cache, so
that it is searched again the next time cmake runs
Tested in KDE since Jul 5th:
http://websvn.kde.org/trunk/KDE/kdelibs/cmake/modules/FindQt4.cmake?rev=558318&view=rev

Alex
2007-01-04 17:29:01 -05:00
Alexander Neundorf 4167622667 ENH: add QT_USE_QTDBUS as it exists for all other modules too
Alex
2007-01-04 16:50:18 -05:00
Alexander Neundorf f53f0565a7 BUG: also look for qmake4, as it is named on OpenBSD
Alex
2007-01-04 16:35:47 -05:00
Alexander Neundorf 5826ce439c ENH: partly sync with KDE svn: add the macros for generating the dbus files
Alex
2007-01-03 18:20:55 -05:00
Alexander Neundorf 4fbcdccd22 ENH: mark more variables ADVANCED
Alex
2007-01-03 17:50:16 -05:00
Alexander Neundorf 1626da56a9 ENH: partly sync with KDE svn: handle QtMain more like the other libs
Alex
2007-01-03 17:32:02 -05:00
Alexander Neundorf c864c8f466 BUG: argument names in macros are not real variables, which can lead to problems, which we fixed for KDE in Trysil: http://websvn.kde.org/trunk/KDE/kdelibs/cmake/modules/FindQt4.cmake?rev=557470&r1=557241&r2=557470
Alex
2007-01-03 17:00:36 -05:00
Alexander Neundorf c8c4b68951 STYLE: some more space to make it easier to read
Alex
2007-01-03 16:48:08 -05:00
Alexander Neundorf f35f487d80 ENH: partly sync with KDE svn: also find the QtDBus and the QtDesignerComponents libraries
Alex
2007-01-03 16:38:26 -05:00
Alexander Neundorf 2c480fd228 ENH: partly sync with the KDE vesion: find the dbus tools coming with Qt since 4.2
Alex
2007-01-03 16:01:59 -05:00
Andy Cedilnik c074927b41 ENH: Support JVM on Mac 2006-12-26 08:47:15 -05:00
Andy Cedilnik d6422d3ad6 BUG: Fixes for dash 2006-12-13 16:44:49 -05:00
Ken Martin e1a142f033 ENH: fix for back VTK error message 2006-12-13 12:11:14 -05:00
Ken Martin af2b0e023a ENH: put in a better error message for VTK 4.0 2006-12-12 13:59:30 -05:00
Ken Martin 6aa73a8561 ENH: minor cleanup 2006-12-12 11:17:04 -05:00
Bill Hoffman ff6146334c ENH: better backwards compatibility, and deprecate PKGCONFIG 2006-12-09 15:02:19 -05:00
Alexander Neundorf 179aad32f3 BUG: fix 4164, also search for libruby1.8.so, I guess it should be synced
with the KDE version of FindRUBY.cmake

Alex
2006-12-07 17:37:56 -05:00
Bill Hoffman a47820ca86 ENH: add beos file 2006-12-07 16:14:09 -05:00
Bill Hoffman 3b1c74d34a ENH: fix for backwards compatibility 2006-12-04 19:37:29 -05:00
Bill Hoffman 3a32cec969 ENH: merge in changes for beos support 2006-12-04 17:26:41 -05:00
Bill Hoffman 273ac87571 BUG: fix for bug 4102 2006-12-04 11:52:46 -05:00
Bill Hoffman 3fb55bff36 BUG: fix for bug 4123, find xmlrpc in standard locations 2006-12-04 11:44:47 -05:00
Alexander Neundorf 464e3c137e ENH: add a module to find Cups (#3081), taken from KDE svn
Alex
2006-11-30 16:23:23 -05:00
Bill Hoffman 9b42fff02f ENH: maintain backwards compatibility in UsePkgConfig 2006-11-29 16:12:40 -05:00
Alexander Neundorf 23fa16f6b4 ENH: kde-config has been renamed to kde4-config several weeks ago, so it's
not necessary anymore to use "kde-config" as fallback, since this will
surely be a wrong version

Alex
2006-11-22 19:28:25 -05:00
Bill Hoffman 3c900bbbd9 ENH: check in new pkgconfig stuff from Enrico Scholz 2006-11-22 13:44:59 -05:00
Bill Hoffman 651fecee5b ENH: make sure findqt3 finds qt3 and not qt4 2006-11-22 13:30:59 -05:00
Ken Martin 97b1963fd7 ENH: added to handle case in very old odd versions of VTK 2006-11-16 15:29:46 -05:00
Ken Martin 540d16384b ENH: added to handle case in ITK 2.8 and earlier 2006-11-16 15:28:16 -05:00
Bill Hoffman ba238d785f ENH: add depend information from qrc files 2006-11-13 14:22:08 -05:00
Bill Hoffman 5ac4801a04 BUG: use different commands for shared libraries and exe for manifest stuff fix for bug#4039 2006-11-11 14:04:29 -05:00
Bill Hoffman cf8625cf52 ENH: add support for finding mpich2 on windows 2006-11-02 19:58:14 -05:00
Bill Hoffman 86d2d989ce ENH: look for QtAssistantClient4 2006-11-02 17:51:36 -05:00
Brad King cc7bfeb6e4 ENH: Added XXX_RUNTIME_LIBRARY_DIRS as a suggested variable. 2006-11-01 09:06:27 -05:00
Brad King b2240ef6af ENH: Adding FindSubversion module from Tristan Carel. This addresses bug#3987. 2006-10-30 15:30:59 -05:00
Andy Cedilnik e29b587d59 ENH: More documentation 2006-10-27 17:30:26 -04:00
Andy Cedilnik 9ae7fb964c ENH: Add support for libjvm 2006-10-27 17:29:05 -04:00
Bill Hoffman f23ade5c02 ENH: remove JavaEmbedding 2006-10-27 15:59:40 -04:00
Alexander Neundorf 5a2b41350b BUG: honor the REQUIRED flag for Perl, please backport to 2.4 branch so that
it will be in 2.4.4

Alex
2006-10-24 17:56:59 -04:00
Bill Hoffman 112dadc0e8 ENH: fix more doxygen issues 2006-10-24 10:03:58 -04:00
Bill Hoffman ae5df56bbc ENH: remove JavaEmbedding framework 2006-10-24 10:03:39 -04:00
Alexander Neundorf 0945aecc94 BUG: fix #3955: add -O2 by default but only if no special buildtype is set
Alex
2006-10-23 19:04:52 -04:00
Bill Hoffman 2e3eebc20a ENH: put in backwards compatibility for older cmake 2006-10-23 14:51:56 -04:00
Brad King de007ef199 ENH: Adding CMAKE_DEPENDENT_OPTION macro. 2006-10-19 14:48:12 -04:00
Brad King 93ce08e373 ENH: Find module for XMLRPC libraries. 2006-10-19 12:58:05 -04:00
Brad King d913a7b1e7 ENH: Find module for EXPAT library. 2006-10-19 12:57:28 -04:00
Brad King d25595a83c ENH: Find module for CURL library. 2006-10-19 12:55:44 -04:00
Brad King 2fd1b374c1 ENH: Patch from Jan for bug#3453. Cleans up find script and enables -isystem feature for use script. 2006-10-19 10:07:41 -04:00
Brad King b155f3aa1c ENH: Adding image version number (major.minor) property to windows binaries. Default is 0.0, but the VERSION target property may change the value. Windows now has first-class support for dll and exe versioning. This addresses bug#1219. 2006-10-16 18:17:14 -04:00
Brad King e55ff93748 ENH: Allow user project code to distinguish between an install prefix set on the command line and one set by CMake as a default. This is useful for changing the default prefix while still allowing the user to override it. 2006-10-16 13:58:17 -04:00
Bill Hoffman 641a0ad878 BUG: fix for bug# 3310 2006-10-16 10:47:18 -04:00
Brad King bf74cd9d83 BUG: Compression must be set before any output is created. 2006-10-13 15:04:18 -04:00
Bill Hoffman d460481da3 BUG: fix for bug #3846 more advanced stuff 2006-10-13 11:25:07 -04:00
Bill Hoffman 4d89019426 BUG: fix for bug#3898 find qt plugin dir 2006-10-13 11:23:44 -04:00
Andy Cedilnik b548e2db1f ENH: Add NSIS compression 2006-10-12 14:59:43 -04:00
Andy Cedilnik f9dc5b5553 ENH: On Visual Studio and Xcode handle config type 2006-10-12 13:15:03 -04:00
Andy Cedilnik e607d5f7df ENH: More locations for Java 2006-10-12 13:12:37 -04:00
Andy Cedilnik e31dc3abe5 ENH: Several CPack fixes. First, allow user to set CMAKE_MODULE_PATH for CPack; make SetOptionIfNotSet more robust to handle empty options; do test TGZ, STGZ, and TZ, Add handling (and test) of Install Script; set environment variable CMAKE_INSTALL_PREFIX 2006-10-12 13:05:50 -04:00
Brad King 3a757c253d STYLE: Fixed typo: INCLUDE_DIR->INCLUDE_DIRS. 2006-10-10 16:03:34 -04:00
Brad King 7f7374e818 BUG: Do not enable -isystem support for Xcode generator until it is implemented. 2006-10-06 09:16:53 -04:00
Brad King e0a662a3dd ENH: Adding version number to the name of a DLL built in cygwin but not the import library. This addresses bug#3571. 2006-10-05 16:30:47 -04:00
Brad King 48470eaa00 ENH: Enabling link-type selection flags on Cygwin, MSYS, and MinGW. This addresses bug#1644 on these platforms. 2006-10-05 15:08:23 -04:00
Brad King e1799a5f88 BUG: QNX GCC does not have -isystem. 2006-10-05 09:33:03 -04:00
Brad King c11cf31c9b ENH: Adding SYSTEM option to INCLUDE_DIRECTORIES command. This addresses bug #3462. 2006-10-05 08:55:59 -04:00
Bill Hoffman 4fc95339f7 ENH: remove paths that cmake already looks at 2006-10-04 16:31:00 -04:00
Alexander Neundorf d54a7bfecf ENH: apply patch so that the config values from ruby are used to determine
the additional locations (see #3297)

Alex
2006-10-04 15:54:25 -04:00
Brad King 608f735215 BUG: Patch from Clinton to restore proper QT3_SUPPORT macro definition. 2006-10-04 14:00:41 -04:00
Bill Hoffman 9d5dc7b396 BUG: fix for bug# 3313 same advanced for tcl win and unix 2006-10-04 13:05:16 -04:00
Bill Hoffman 7ed0532ae9 BUG: fix for bug#3520 - better find doxygen 2006-10-04 11:04:26 -04:00
Bill Hoffman 131d8205f5 BUG: fix for bug# 3584 missing SONAME for fortran on darwin 2006-10-04 10:54:53 -04:00
Bill Hoffman 009dc7daae ENH: make qmake-qt4 really work if qmake is qt3 also fix indent in file, for diff use cvs diff -w 2006-10-04 10:33:10 -04:00
Bill Hoffman 2826dc4003 BUG: fix for bug#3646 GLUT not Glut for framework name 2006-10-03 16:18:32 -04:00
Bill Hoffman 115521338c BUG: fix for bug#3652 use link /lib instead of lib 2006-10-03 16:12:50 -04:00
Bill Hoffman 26d31fc2a0 BUG: fix for bug#3720 2006-10-03 14:39:05 -04:00
Alexander Neundorf 5f01d47d7d BUG: fix #3827, the name of the var is _tmp_FILE instead of tmp_FILE, so the
dcop stuff should work now

Alex
2006-10-03 14:03:16 -04:00
Bill Hoffman d760e378df BUG: fix for 3765 2006-10-03 13:48:54 -04:00
Bill Hoffman 943de01060 ENH: disable static shared stuff on AIX, see comment 2006-10-03 13:35:41 -04:00
Bill Hoffman a178761c12 ENH: fix from clinton 2006-10-02 09:03:17 -04:00
Brad King 506dca3990 BUG: Header and library search path ordering should be consistent. 2006-09-28 11:42:19 -04:00
Alexander Neundorf 5d22d36c5d ENH: apply patch from Dirk Mueller to support Python 2.5
Alex
2006-09-27 13:30:18 -04:00
Alexander Neundorf 8b46841b6d ENH: add cmake modules for some common libraries: aspell, hspell, bzip2,
jasper (jpeg2000), libxml2 and libxslt and openssl and the accompanying
license (BSD)

Alex
2006-09-19 16:11:53 -04:00
Alexander Neundorf 86c63dca11 ENH: two macros to check whether the C/CXX compiler supports a given flag:
CHECK_CXX_COMPILER_FLAG("-Wall" COMPILER_SUPPORTS_WALL)

Alex
2006-09-18 17:55:22 -04:00
Brad King 8e3bb08b81 ENH: Enabling link type selection flags for this platform. See bug#1644 for details. 2006-09-18 09:40:12 -04:00
Brad King 147b4ff102 BUG: Need -Wl, to pass linker flags when using gcc on Sun. 2006-09-16 11:47:21 -04:00
Brad King 690543c612 ENH: Enabling link type selection flags for this platform. See bug#1644 for details. 2006-09-15 15:19:11 -04:00
Brad King b2a5495922 STYLE: Updated comment about link type flags and passing directly to ld. 2006-09-15 15:18:34 -04:00
Brad King e21b65cbb9 BUG: Fix CMAKE_SHARED_*_LINK_*_C_FLAGS to pass link type selection flags directly to the linker. 2006-09-15 15:14:55 -04:00
Brad King 5845843156 ENH: Enabling link type selection flags for this platform. See bug#1644 for details. 2006-09-15 15:05:03 -04:00
Brad King 3079a67133 ENH: Enabling link type selection flags for this platform. See bug#1644 for details. 2006-09-15 14:58:30 -04:00
Brad King 1d0502927c ENH: Adding support to link specifically to an archive or a shared library based on the file name specified. This fixes the problem of having -lfoo linking to libfoo.so even when it came from libfoo.a being specified. 2006-09-15 14:09:10 -04:00
Brad King 429571bd1f STYLE: Removing unused platform variable CMAKE_SHARED_MODULE_LINK_Fortran_FLAGS. It does not make sense because nothing links to shared modules. 2006-09-15 14:02:41 -04:00
Brad King ff46146dfc BUG: Patch from Peter Visser to run wx-config from an MSYS prompt. 2006-09-13 11:22:27 -04:00
Bill Hoffman 207292cf45 ENH: fixes from Clinton to allow qt to work with static libs 2006-09-06 08:31:50 -04:00
Brad King 8ffb32369f BUG: Need to search for rc by default, not c++ compilers. 2006-08-31 10:46:02 -04:00
Alexander Neundorf 82e5ab5d4f ENH: automatically find Qt3 on SUSE, patch from Dirk Mueller and Stephan
Kulow

Alex
2006-08-30 13:51:22 -04:00
Alexander Neundorf 07558db6a2 ENH: also look in /usr/local/include/libpng (OpenBSD)
ENH: error out with FATAL_ERROR if REQUIRED was given but png hasn't been
found

Alex
2006-08-30 13:47:54 -04:00
Brad King 7001a88a74 BUG: Search for the compiler only once and store a full path to it in the cache. This avoids problems with the case of locations in the PATH variable on Windows that change the compiler name when CMake is re-run. CMakeFiles/CMake*Compiler.cmake files should hold the full path to the compiler always. 2006-08-29 13:59:15 -04:00
Alexander Neundorf 0afe72e908 BUG: fix #3324: KDE3Macros.cmake didn't find Qt designer plugins when
running uic (the kde plugin dir wasn't used)

Alex
2006-08-27 15:52:36 -04:00
Alexander Neundorf 0634447892 STYLE: remove unnecessary /usr/local/include search path
Alex
2006-08-27 15:34:24 -04:00
Alexander Neundorf bc266c1afd BUG: #3514: qt-mt3.lib wasn't found on windows
STYLE: remove some (now) unnecessary /usr/lib, /usr/local/lib, /usr/include
and /usr/local/include search paths

Alex
2006-08-27 13:59:18 -04:00
Alexander Neundorf d454231a0a STYLE: fix #3519 (incorrect comment)
Alex
2006-08-27 11:19:25 -04:00
Alexander Neundorf b81a8e5855 BUG: fix comment (#3511)
Alex
2006-08-27 11:14:19 -04:00
Alexander Neundorf 5c74e1d790 BUG: apply patch from bero (#3518) so that DESTDIR is supported for
installing icons

Alex
2006-08-27 10:19:51 -04:00
Alexander Neundorf 4af20a2e0a ENH: #3225: first check the special paths, the the default path, also for
searching kde-config

Alex
2006-08-27 09:34:42 -04:00
Brad King 24cdf8aa6c ENH: Added interface to add extra dependencies. 2006-08-25 09:14:01 -04:00
Alexander Neundorf 2776e2de4e ENH: add i386 toolchain and some minor improvement of the comments 2006-08-23 18:11:51 -04:00
Alexander Neundorf f05fe5f414 STYLE: don't use the hack to copy and rename the created executable under
cygwin but instead use the SUFFIX target property (I'll publish a short
article about ecos+cmake RSN)

Alex
2006-08-22 18:33:49 -04:00
Bill Hoffman 8b9d44d512 ENH: fixs for check compile stuff from Oswald B. 2006-08-21 10:10:28 -04:00
Brad King a40a17dcdd ENH: Implemented support for installing VC8 runtime libraries. 2006-08-17 09:36:29 -04:00
Brad King 276e7e21a3 ENH: Adding flags to force generation of manifest files when building with VC 8. 2006-08-15 15:33:20 -04:00
Brad King cd3d44881f ENH: Enabling preprocessed source and asembly source generation rules on AIX compilers. 2006-08-09 13:59:22 -04:00
Brad King 8e6a9b2065 ENH: Enabled generation of preprocessed and assembly source rules for MSVC with NMake. 2006-08-09 13:45:13 -04:00
Brad King 8fbf4a0de6 ENH: Enabling preprocessed source and asembly source generation rules on SGI MIPSpro compilers. 2006-08-09 13:14:48 -04:00
Brad King 3b99b5ede3 ENH: Enabling preprocessed source and asembly source generation rules on HP aCC and cc. 2006-08-09 13:10:01 -04:00
Brad King 00e0c5c8e6 ENH: Enabling preprocessed source and asembly source generation rules on Sun CC. 2006-08-09 11:48:36 -04:00
Brad King dd37d0652f ENH: Changed preprocessed source extension to .i and assembly extension to .s for more portability. 2006-08-09 11:43:35 -04:00
Brad King 5cfa1b02ab ENH: Added generation of rules to manually request preprocessed or generated assembly sources. 2006-08-07 23:25:21 -04:00
Bill Hoffman bbd0beb223 ENH: add a try run source code macro 2006-08-03 15:20:48 -04:00
Bill Hoffman 281c71e9d8 ENH: fix error 2006-08-03 14:38:46 -04:00
Bill Hoffman 947edfcdf5 ENH: fix for makedev three args test 2006-08-03 14:36:01 -04:00
Bill Hoffman 61aa4afd1e ENH: add a crun macro and fix the output log for compile c 2006-08-03 13:41:21 -04:00
Bill Hoffman 89fb18f548 ENH: fix for qtmain 2006-08-01 15:48:44 -04:00
Brad King c9506c30f0 BUG: Fixed shared library version support for Fortran. This addresses bug#3558. 2006-08-01 15:36:49 -04:00
Bill Hoffman 612d2f667b ENH: fix for location of error log 2006-08-01 15:24:46 -04:00
Bill Hoffman b2ebcb5eb3 ENH: add QtCored as a possible name for qtcore debug 2006-08-01 14:34:53 -04:00
Brad King 1a7172acdf BUG: Fix usage of FIND_PROGRAM command. 2006-08-01 14:10:05 -04:00
Bill Hoffman 1b58308b98 ENH: fix for optimized debug stuff 2006-08-01 12:27:53 -04:00
Bill Hoffman 7776d18896 ENH: fix qtmain for release 2006-08-01 11:26:32 -04:00
Bill Hoffman 4cafb72616 ENH: fix qtmain for release 2006-08-01 10:51:17 -04:00
Bill Hoffman c75fb61f3c ENH: put back find qtmain 2006-08-01 09:12:18 -04:00
Andy Cedilnik e49b93989d COMP: More warnings and hp issues 2006-07-26 14:10:14 -04:00
Bill Hoffman 45d85c2e34 BUG: fix for 3550 again 2006-07-26 13:19:34 -04:00
Andy Cedilnik a9c0929d39 COMP: Handle both ansi and non-ansi C 2006-07-26 11:46:22 -04:00
Bill Hoffman 47ef504530 BUG: fix for bug 3550, for release builds do not build incremental 2006-07-26 11:15:28 -04:00
Bill Hoffman 2523629f4b ENH: fix for case difference with nmake 2006-07-24 16:58:05 -04:00
Ken Martin e206d58027 BUG: fix for CXX only projects 2006-07-24 16:13:33 -04:00
Brad King 592f602c98 BUG: CMAKE_AR should be advanced. 2006-07-22 08:11:30 -04:00
Brad King 3c9744f406 ENH: Applying patch from bug#3443 to implement FindwxWidgets.cmake properly. It also updates the UseWX test and WXDialog sources to use the new find script. 2006-07-21 15:43:19 -04:00
Brad King 46d266047c ENH: Added documentation about XXX_FIND_COMPONENTS for FIND_PACKAGE. 2006-07-21 15:16:23 -04:00
Brad King ef6cf109ed ENH: Adding FindBoost.cmake module from Andrew Maclean. This addresses bug#3447. 2006-07-21 12:04:05 -04:00
Brad King d56e6a9241 BUG: Fixed building of C++-only projects and added a test. 2006-07-21 11:53:23 -04:00
Brad King 48571e9d80 STYLE: Added note about singular versus plural name for XXX_INCLUDE_DIRS. Added XXX_LIBRARY_DIRS and XXX_YY_INCLUDE_DIR conventions. 2006-07-18 13:16:38 -04:00
Andy Cedilnik e36ae0fcb8 ENH: Several cleanups and support for multiple generators 2006-07-09 13:20:07 -04:00
Andy Cedilnik cf80510ac5 ENH: On apple do not look for X11 2006-07-05 16:21:24 -04:00
Andy Cedilnik 1cf4d146fc ENH: Merge debian changes. Support more fortran extensions 2006-07-04 11:06:38 -04:00
Alexander Neundorf 205635dcd5 ENH: prefer kde4-config over kde-config, since for KDE 4 kde-config will be
renamed to kde-config, and so cmake has to prefer this one over the old
version

Alex
2006-07-04 08:38:47 -04:00
Brad King ba539d9605 BUG: Make sure try-compile source ends in a newline. 2006-06-28 17:00:31 -04:00
Ken Martin e026f620f8 BUG: fix typo 2006-06-28 15:15:01 -04:00
Andy Cedilnik e0e57a41fd ENH: Default drop method http 2006-06-23 07:08:37 -04:00
Brad King 6207dc41bd ENH: Do not search for X11 if it is already found. 2006-06-19 10:07:44 -04:00
Andy Cedilnik 63c241ea1e ENH: Updates from KDE 2006-06-16 14:45:47 -04:00
Bill Hoffman 9ab387b7d9 ENH: add a comment 2006-06-15 21:43:59 -04:00
Ken Martin 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 2006-06-14 12:28:32 -04:00
Andy Cedilnik 0964cb6c64 ENH: Add support for overwriting the name of the file CPackConfig.cmake and CPackSourceConfig.cmake 2006-06-12 14:21:36 -04:00
Ken Martin 77b401ddb2 ENH: removed logo info from the manifest tool 2006-06-12 13:17:47 -04:00
Alexander Neundorf 97c5324534 BUG: don't append to ZLIB_NAMES
ENH: also check for zdll on windows
ENH: honor REQUIRED and QUIETLY

Alex
2006-06-09 15:49:27 -04:00
Brad King 81b778c074 ENH: Adding advanced option CMAKE_COLOR_MAKEFILE for makefile generators with default ON. 2006-05-25 14:16:28 -04:00
Bill Hoffman 9704c8f8c3 ENH: add qtmain to findqt 2006-05-25 11:56:49 -04:00
Ken Martin 60ebc57227 ENH: remove debugging output 2006-05-25 10:21:46 -04:00
Brad King 859db10e2a ENH: Add ability to find VTK 5 without user help. 2006-05-23 10:40:40 -04:00
Alexander Neundorf a86c766d2a BUG: kde3: use QT_UIC_EXECUTABLE instead of simply uic
BUG: use qouting for the path to Qt4 moc and uic, should help with paths
with spaces

Alex
2006-05-19 16:57:49 -04:00
Brad King 095e975c81 BUG: Fix signature of main to work on both strict ANSI and non-ANSI C compilers. 2006-05-18 10:28:12 -04:00
Bill Hoffman 52a6524dbf ENH: check return value for uname -p 2006-05-14 20:17:41 -04:00
Bill Hoffman 21564b4d61 ENH: check return value for uname -p 2006-05-14 17:42:27 -04:00
Bill Hoffman 58d0d056c4 ENH: remove bad quoteed code 2006-05-12 10:56:12 -04:00
Bill Hoffman 2c80b0fa70 ENH: fix path problem with qt 2006-05-12 09:47:26 -04:00
Alexander Neundorf 60988dd8a2 ENH: honor REQUIRED flag
Alex
2006-05-11 18:32:40 -04:00
Alexander Neundorf 97fcff2445 ENH: use the new FILE(TO_CMAKE_PATH ...) command instead of regexps
BUG: append the kde 4 cmake module path instead of prepending it

Alex
2006-05-11 18:27:13 -04:00
Bill Hoffman 6e64163019 ENH: fix for bug 3216 allow full path to qt input files 2006-05-11 10:41:42 -04:00
Andy Cedilnik a90e97e970 BUG: Prevent stripping of sources 2006-05-10 17:26:57 -04:00
Bill Hoffman 5b3a2c84fc ENH: use radio buttons to choose PATH options 2006-05-10 12:15:00 -04:00
Andy Cedilnik e1b163d4db ENH: Some cleanups and fix installing as a non-admin 2006-05-08 13:34:16 -04:00
Bill Hoffman d2cb6fec6f ENH: try to find qt3 better 2006-05-07 13:04:57 -04:00
Bill Hoffman f08b1a2c96 ENH: add the flag for creating windows gui's 2006-05-05 21:49:02 -04:00
Bill Hoffman e0924bbb16 ENH: fix windows path issue 2006-05-05 15:04:39 -04:00
Andy Cedilnik 96d4a89228 ENH: Better output 2006-05-03 16:24:14 -04:00
Bill Hoffman 0cfda4a7f0 ENH: use correct flags for optimization 2006-05-03 09:23:57 -04:00
Bill Hoffman 38373b5d4c ENH: fix qt version detection 2006-05-02 14:04:26 -04:00
Ken Martin 3023eb7ccb ENH: Makefile performance improvements 2006-05-02 09:56:42 -04:00
Andy Cedilnik a8bb20dce5 ENH: Add license and make it more verbose 2006-05-01 14:23:15 -04:00
Andy Cedilnik f816c4e09b ENH: Handle the no-icon case 2006-04-30 03:10:55 -04:00
Andy Cedilnik de4127cdda ENH: Add more install registry options 2006-04-29 20:01:34 -04:00
Andy Cedilnik 619ebce6cf ENH: Add NSIS options page for path selection, fix adding and removing from path, add welcome page and license page 2006-04-29 19:22:21 -04:00
Andy Cedilnik cd09448a53 ENH: Allow overwriting CTestConfig.cmake items 2006-04-28 09:58:15 -04:00
Andy Cedilnik 8d2c78f43c ENH: Better support for adding and removing path 2006-04-27 16:20:07 -04:00
Alexander Neundorf 64cf77f823 ENH: use the ADD_FILE_DEPENDENCIES() macro coming with cmake instead a
duplicated implementation _qt4_add_file_dependencies() here

Alex
2006-04-27 15:14:25 -04:00
Alexander Neundorf f59ad1aa6e ENH: -apply the patches by Clinton Stimpson and Kenneth Moreland which fix
some QtMain issues on Windows
ENH: -sync with KDE svn FindQt4, which features a lot of enhancements

Alex
2006-04-27 15:07:23 -04:00
Andy Cedilnik f0e2563cc6 BUG: Use the extra definicions 2006-04-27 10:55:52 -04:00
Andy Cedilnik 4e9564a0f1 ENH: Propagate system name and handle win32/win64 name 2006-04-23 19:45:43 -04:00
Andy Cedilnik 8bb82f430c ENH: Add a line to Add/Remove programs to uninstall 2006-04-23 18:23:42 -04:00
Alexander Neundorf d184c10c69 BUG: finally really fix #2576 by adding UseEcos.cmake to cvs :-)
Alex
2006-04-23 08:08:46 -04:00
Alexander Neundorf 3eb75cdc76 BUG: fix QT_MIN_VERSION handling, it didn't work anymore (qt_version_str vs.
qt_version_str_lib)

Alex
2006-04-23 07:23:57 -04:00
Andy Cedilnik 4e4ae3624b BUG: Fix the missing nightly start time bug and do some cleanup 2006-04-21 14:36:48 -04:00
Andy Cedilnik b9947a91d4 ENH: Cleanup link libraries. Remove -l from -ldl 2006-04-20 10:23:17 -04:00
Bill Hoffman 013f6d6b5f ENH: append to log files 2006-04-19 17:23:23 -04:00
Bill Hoffman e6ef33f598 ENH: name pdb files for visual studio make based builds 2006-04-19 16:36:14 -04:00
Bill Hoffman f2e2f23392 ENH: unix makefiles should work with cl 2006-04-19 15:29:19 -04:00
Bill Hoffman 4a20d4fe39 ENH: don't need two of these 2006-04-19 11:14:00 -04:00
Bill Hoffman 96c140e281 ENH: test for vs8 correctly 2006-04-19 10:56:54 -04:00
Bill Hoffman 0b490110ba ENH: check for version 1400 2006-04-19 10:11:43 -04:00
Brad King 9db4220671 BUG: Need to ignore source packaging of #*# files created by emacs during editing. 2006-04-18 10:01:37 -04:00
Andy Cedilnik 4709c76f0f ENH: More cleanups and add stgz header script, so it does not have to be hard-coded. Also, the user can overwrite it 2006-04-18 08:25:24 -04:00
Bill Hoffman d71f723b11 ENH: fix find x11 on the mac 2006-04-17 15:55:24 -04:00
Bill Hoffman 5ecfd3d4d3 ENH: fix java and add OBJECT_DIR support 2006-04-17 14:01:22 -04:00
Bill Hoffman c80faed7f6 ENH: add mingw test to cxx 2006-04-17 13:57:34 -04:00
Bill Hoffman b4c7f843f9 ENH: add windows apps to mingw 2006-04-17 13:57:08 -04:00
Andy Cedilnik c09c3c6bfa ENH: Support for packaging source, several cleanups and more yeehaa... 2006-04-15 13:02:18 -04:00
Bill Hoffman f7f05bee76 ENH: make sure frameworks are not searched for x header files 2006-04-14 15:08:25 -04:00
Andy Cedilnik c836be6f7b ENH: Start adding support for packaging component and to package into a subdirectory 2006-04-14 08:58:13 -04:00
Bill Hoffman cae4e6b37a ENH: add patch for finding applications on OSX 2006-04-13 11:00:52 -04:00
Brad King 08289893b8 ENH: Split CMAKE_STANDARD_LIBRARIES into per-language variables CMAKE_<lang>_STANDARD_LIBRARIES. This is needed to get programmable language support working with Visual Studio generators. It makes sense anyway. 2006-04-11 16:55:49 -04:00
Bill Hoffman 51f91db648 ENH: add correct flags for msvc generators 2006-04-10 13:46:37 -04:00
Andy Cedilnik bad1215a85 ENH: Add support for preinstall for cmake generated projects when packaging them 2006-04-10 13:44:39 -04:00
Andy Cedilnik 0bad15c302 ENH: Deprecate CPACK_BINARY_DIR and add CPACK_INSTALL_CMAKE_PROJECTS 2006-04-10 11:09:52 -04:00
Bill Hoffman bcfd6f7f69 ENH: add better variables for MSVC versions 2006-04-07 16:46:41 -04:00
Andy Cedilnik ccf1eed298 ENH: Allow to overwrite CPACK_BINARY_DIR 2006-04-07 16:35:28 -04:00
Bill Hoffman 58538732be ENH: add search directories for 32 bit devenv from a 64bit cmake 2006-04-04 17:27:03 -04:00
Brad King f0e8c750d1 BUG: Fixed order of options to cl for 32-bit/64-bit test to work with VS 6 NMake. 2006-03-30 16:55:19 -05:00
Bill Hoffman 5a2668b326 ENH: add support for win64 for visual studio 2005 ide and nmake, also fix warnings produced by building for win64 2006-03-30 13:49:56 -05:00
Bill Hoffman dfbee4a92a ENH: use correct name for path 2006-03-29 16:34:50 -05:00
Alexander Neundorf 0d540b31e0 STYLE: better error message when KDE4 hasn't been found
Alex
2006-03-28 13:07:09 -05:00
Andy Cedilnik 40272a16bd ENH: Add support for adding content to bundles 2006-03-28 08:54:01 -05:00
Bill Hoffman 53ab2aa6af ENH: add /opt/local/include 2006-03-27 12:21:43 -05:00
Bill Hoffman a64f629140 ENH: add unix paths 2006-03-27 11:09:19 -05:00
Bill Hoffman d33021924d ENH: add more search paths and add UnixPaths to all unix platforms 2006-03-27 10:46:42 -05:00
Brad King a18297e2ca ENH: Updated implementation to use new FIND_* command power. The correct library is now found on MinGW also. 2006-03-24 14:47:25 -05:00
Brad King a59dd5d4c3 BUG: Fix '/use/lib' to be '/usr/lib'. 2006-03-24 14:15:10 -05:00
Bill Hoffman f7c1723135 ENH: add support for universal binaries 2006-03-24 09:15:05 -05:00
Andy Cedilnik 36e2728431 ENH: Cleanup bootstrap even more 2006-03-22 11:15:35 -05:00
Brad King 0376fe4b9b ENH: Added support for linking to MS .lib libraries in MinGW. 2006-03-22 11:10:58 -05:00
Andy Cedilnik 539c7ba6af ENH: Handle visual studio versions 2006-03-21 16:58:41 -05:00
Alexander Neundorf 6690a252ab BUG: put the path to the kde3 lib dir in KDE3_LIB_DIR, not the complete
libkdecore.so

Alex
2006-03-21 12:56:01 -05:00
Alexander Neundorf a980fdc96a BUG: don't include MacroLibrary.cmake, but add a cmake module which implements ADD_FILE_DEPENDENCIES()
ENH: mark the variables from FindPNG.cmake as advanced

Alex
2006-03-20 12:29:56 -05:00
Alexander Neundorf 263de48025 STYLE: fix typos
Alex
2006-03-18 12:16:20 -05:00
Brad King 88f69f0df9 BUG: /DWIN32 and /D_WINDOWS should be defined for all configurations or if no configuration is set. 2006-03-16 17:40:48 -05:00
Brad King dbe7d39738 BUG: When copying the module variables from shared library variables use double quotes for the required definitions ...PREFIX and ...SUFFIX to make sure a value is set even if it is empty. 2006-03-16 17:07:36 -05:00
Alexander Neundorf 779851f213 ENH: after searching for kde-config in the special dirs, search again in the
standard dirs
BUG: handle paths on windows correctly

Alex
2006-03-16 15:53:11 -05:00
Brad King 8e137c54d6 ENH: Enabling soname support on FreeBSD. 2006-03-16 11:15:24 -05:00
Bill Hoffman 44e6852322 ENH: use c not cxx 2006-03-15 14:14:03 -05:00
Alexander Neundorf d41587b671 BUG: change the formatting of the pkgconfig module documentation so that it
doesn't crash some versions of konqueror (fixed with current konqy)

Alex
2006-03-15 13:20:03 -05:00
Bill Hoffman 1aecb478d6 ENH: go back to finding the framework opengl on the mac 2006-03-14 16:38:52 -05:00
Bill Hoffman c685c96b29 ENH: use standard include path for OpenGL 2006-03-14 15:19:37 -05:00
Bill Hoffman 88bd3b5281 ENH: add support for removing language flags from shared library and shared module link commands 2006-03-14 14:03:16 -05:00
Bill Hoffman 009b3cbb12 ENH: add backwards compatibility fix for more aggressive find_path command 2006-03-13 13:11:50 -05:00
Bill Hoffman 4ce8f43b71 ENH: take advantage of new framework stuff 2006-03-11 12:43:26 -05:00
Alexander Neundorf 1ef5bdf669 ENH: new module to find the FindKDE4Internal.cmake installed by kdelibs4
Alex
2006-03-10 11:58:44 -05:00
Bill Hoffman 15b5869b46 ENH: add correct initial flags for aix 2006-03-09 15:00:37 -05:00
Bill Hoffman 14cb9c5aff ENH: remove junk 2006-03-09 14:57:55 -05:00
Alexander Neundorf d253baab99 ENH: add real-world-tested and used KDE3 support, and obsolete FindKDE.cmake, which wasn't used by anybody that I heard of
Alex
2006-03-09 14:10:59 -05:00
Bill Hoffman cb95c0a5bc ENH: fix a bug in the find path stuff so that it can find headers deep in frameworks 2006-03-09 11:35:38 -05:00
Alexander Neundorf 6dd39ceaa0 ENH: add a cmake module for using pkg-config, tested in kdelibs, ok by Bill Hoffman
Alex
2006-03-08 17:11:01 -05:00
Bill Hoffman 592aef9703 ENH: add support for language flags that allow for universal binaries 2006-03-06 15:14:53 -05:00
Bill Hoffman 3f532f5489 ENH: add support for language flags at rule expansion time 2006-03-06 15:14:23 -05:00
Bill Hoffman 36080b04bb ENH: add support for manifest stuff 2006-03-06 15:01:08 -05:00
Bill Hoffman e037fbaf7d ENH: try to fix non-clean dashboards 2006-03-06 14:08:15 -05:00
Bill Hoffman ea8c278cd6 ENH: add manifest support for 2005 2006-03-03 12:01:04 -05:00
Bill Hoffman deece7eed0 ENH: look for VCExpress first 2006-03-03 12:00:00 -05:00
Andy Cedilnik a460c60843 ENH: Add verbose flag to package maker and add CFBundleIdentifier string 2006-03-03 10:52:26 -05:00
Bill Hoffman a5825cd11a ENH: check in new find stuff 2006-03-02 13:30:22 -05:00
Bill Hoffman 2f78d874a7 ENH: fix for bug 2921, move _OVERRIDE variable to a better position to allow changing _INIT variables 2006-03-02 07:52:52 -05:00
Andy Cedilnik b1b052fd23 ENH: Several changes to for NSIS 2006-03-01 15:00:07 -05:00
Andy Cedilnik 4077d6d80c ENH: Install system libraries only if project requires them 2006-03-01 13:15:44 -05:00
Andy Cedilnik b25820ebd4 ENH: Add resource files for PackageMaker 2006-02-28 14:18:13 -05:00
Andy Cedilnik b5b06cfaf6 BUG: Fix typo 2006-02-28 11:14:16 -05:00
Andy Cedilnik 2251970c1d ENH: Add support for debian having both qt3 and qt4 2006-02-28 11:13:44 -05:00
Bill Hoffman 7603244509 ENH: use program files env for searching 2006-02-28 10:27:30 -05:00
Bill Hoffman 718de4cea5 ENH: fix spelling errors 2006-02-27 12:14:10 -05:00
Andy Cedilnik ee227d3af5 ENH: Several packaging issues. Allow random variables to be passed to cpack (anything starting with CPACK_, add preinstall to the list of dependencies for package, fix typos 2006-02-27 10:58:20 -05:00
Brad King 586a9427d3 ENH: Created target property INSTALL_NAME_DIR initalized by CMAKE_INSTALL_NAME_DIR specifying the directory portion of the OSX install_name field in shared libraries. This is the OSX equivalent of RPATH. 2006-02-24 13:13:14 -05:00
Andy Cedilnik 743b4c9983 BUG: Fix the module 2006-02-24 09:08:03 -05:00
Andy Cedilnik 01a55559dd ENH: Make modules use configure instead of file write 2006-02-23 09:58:07 -05:00
Andy Cedilnik 1d96f839d7 ENH: Several NSIS features 2006-02-23 09:38:40 -05:00
Bill Hoffman 0a0e459102 ENH: make command line flags more consistent with ide settings 2006-02-21 12:19:32 -05:00
Bill Hoffman e015df7d06 ENH: better finding of mingw from msys, and delete CMakeFiles directory when cache is deleted 2006-02-20 23:08:12 -05:00
Brad King 90c8ea1c03 BUG: Fixed module creation rules. Removed soname portion of all rules because it is never used on this platform. 2006-02-19 13:49:18 -05:00
Brad King 57d2f7fded BUG: Fixed cygwin module creation rules. Modules should not have the "cyg" prefix by default. Removd soname flags from creation rules because they are never used on this platform. 2006-02-19 13:34:22 -05:00
Brad King 81677b3130 ENH: Generate import libraries for DLLs on Cygwin and MinGW. 2006-02-18 15:37:23 -05:00
Brad King 06b6308ab4 BUG: Do not install MSVC dlls for a non-MSVC build. 2006-02-16 20:15:03 -05:00
Andy Cedilnik b07ece004c ENH: More work on NSI to improve installing and uninstalling 2006-02-16 15:20:23 -05:00
Bill Hoffman 5042581f43 ENH: better algorithm for looking for make and gcc on msys and mingw 2006-02-15 21:26:47 -05:00
Bill Hoffman 79b7e0c37c ENH: remove warning suppressions for borland compiler, projects wanting this should use -w-, the default warning level is used for all other compilers. Used to be -w- -whid -waus -wpar 2006-02-15 08:05:55 -05:00
Bill Hoffman 14cbc9571a ENH: do not allow mingw makefiles to generate if sh.exe is in the path, also do not write CMakeCache.txt if there is a fatal error. 2006-02-14 22:03:16 -05:00
Brad King eeab2c55ed ENH: Added CMAKE_REQUIRED_DEFINITIONS and CMAKE_REQUIRED_INCLUDES to the interface. 2006-02-14 15:29:13 -05:00
Andy Cedilnik 21975ceda5 ENH: Better handling of executables on windows 2006-02-14 14:29:15 -05:00
Bill Hoffman 6f96bba66d ENH: fix try compile for MFC 2006-02-14 10:51:36 -05:00
Andy Cedilnik 3bce601c41 ENH: Improved support for icons, random directories, etc... 2006-02-14 10:28:40 -05:00
Andy Cedilnik 8b4af97281 BUG: Fix CMAKE_REQUIRED_LIBRARIES stuff in this module 2006-02-10 09:46:40 -05:00
Brad King f0a1da00c1 ENH: Made Check* modules more consistent and well documented. Added CMAKE_REQUIRED_DEFINITIONS option. 2006-02-09 19:23:18 -05:00
Brad King 3f978317b7 ENH: Put libpng name back because it is needed for plain windows. 2006-02-09 15:33:58 -05:00
Brad King 64cb554397 ENH: Removing platform-specific name hacks now that FIND_LIBRARY handles it. 2006-02-09 15:08:16 -05:00
Brad King 33587ce376 ENH: Added platform settings CMAKE_FIND_LIBRARY_PREFIXES and CMAKE_FIND_LIBRARY_SUFFIXES to allow customized searching for libraries. 2006-02-09 15:05:13 -05:00
Brad King 0ddf06e952 ENH: Pay attention to CMAKE_REQUIRED_INCLUDES. 2006-02-09 14:28:01 -05:00
Brad King e40ca0f428 BUG: Need Windows-g++.cmake module to support C++-only projects on Windows. 2006-02-09 14:18:48 -05:00
Brad King b78d936ecf BUG: Need to duplicate some information from CMakeCCompiler to support C++-only projects. 2006-02-09 13:48:09 -05:00
Brad King c90b8d0537 ENH: Patch from Alexander Neundorf to improve behavior. 2006-02-09 13:14:57 -05:00
Brad King ef88c8cbc8 ENH: Added names for gnuwin32 library versions. 2006-02-09 12:04:25 -05:00
Bill Hoffman 347c5f4b46 ENH: add working directory support 2006-02-08 10:58:36 -05:00
Brad King dd710c9482 BUG: Fixed qt version message. Submitted by Tanner Lovelace. 2006-02-08 09:51:18 -05:00
Brad King 7953f6a467 ENH: Adding definition of MSVC when it is the compiler. 2006-02-07 17:10:13 -05:00
Brad King ca4b82d9ed BUG: CMAKE_INSTALL_PREFIX must always have forward slashes. 2006-02-02 20:16:37 -05:00
Brad King 63b4952f4c BUG: Removed odbc32.lib and odbccp32.lib from standard libraries on VS 8 because VC++ Express 2005 does not have them. They are SQL database access libraries and should not be needed for every application. User code can always explicitly link the library. Also replacing deprecated /GZ option with /RTC1 for VS 8. This addresses bug#2795. 2006-02-02 20:15:38 -05:00
Brad King 9f625beab6 ENH: Added optional component list to the REQUIRED option of the FIND_PACKAGE command. This addresses bug#2771. 2006-01-27 13:07:23 -05:00
Bill Hoffman b442e86492 ENH: change to fatal error 2006-01-25 12:16:49 -05:00
Bill Hoffman aa98e3647d ENH: fix more than one argument passed in to compilers via environment 2006-01-25 11:41:05 -05:00
Andy Cedilnik f95310c3a9 ENH: fix bug, write the correct file 2006-01-24 12:07:45 -05:00
Bill Hoffman 6d65b48279 ENH: add kFreeBSD support 2006-01-23 11:32:35 -05:00
Bill Hoffman 1eb57b6d08 ENH: fix check type size 2006-01-22 21:15:24 -05:00
Bill Hoffman 9891260a6d ENH: add support for watcom wmake and wcl386 2006-01-17 10:21:45 -05:00
Bill Hoffman 2694ad76c5 ENH: correct standard libraries 2006-01-17 09:27:43 -05:00
Bill Hoffman 96f948adf5 ENH: fix checktypesize 2006-01-13 09:57:15 -05:00
Bill Hoffman 1d72bdea9a ENH: move define into configured file and do not use the command line 2006-01-12 23:08:33 -05:00
Ken Martin 4bdca3b404 ENH: put CmakeTmp into CMakeFiles 2006-01-12 13:49:32 -05:00
Bill Hoffman 1fd9060406 ENH: contribution from Jan Woetzel 2006-01-12 11:10:22 -05:00
Andy Cedilnik 2a6bc87567 ENH: Some improvements: specify link, copy msvc libraries, fix install directory 2006-01-11 11:08:15 -05:00
Andy Cedilnik 25f6a108ea ENH: Use specified output file name, also detect errors during install 2006-01-09 18:24:39 -05:00
Andy Cedilnik 3194220e83 ENH: Cleanup 2006-01-09 18:20:02 -05:00
Andy Cedilnik 65ce6ecea5 BUG: Allow spaces in path 2006-01-09 16:34:10 -05:00
Bill Hoffman 19e566d395 ENH: add qt quiet stuff 2006-01-09 12:45:37 -05:00
Andy Cedilnik 0c302a7e5f ENH: Fix test for cpack variables, add support for icon on windows 2006-01-09 11:26:31 -05:00
Andy Cedilnik 5358809a5c ENH: More CPack stuff and fix zlib compression 2006-01-04 15:14:09 -05:00
Bill Hoffman b08a151722 ENH: add exe stuff for cygwin 2006-01-03 14:00:48 -05:00
Bill Hoffman 86ad253427 BUG: fix for bug 2322, use CMAKE_EXECUTABLE_SUFFIX variable for exe suffix 2006-01-02 13:37:53 -05:00
Andy Cedilnik a11b9a4cdc ENH: Merge from CPack branch 2006-01-01 23:28:11 -05:00
Bill Hoffman f6588b7919 ENH: fix borland make clean targets before build, add new generators for msys and mingw 2005-12-22 16:42:36 -05:00
Bill Hoffman b0c38460bd ENH: remove duplicates 2005-12-20 13:53:27 -05:00
Ken Martin 74eaecfc3e ENH: cleanups 2005-12-15 14:17:43 -05:00
Ken Martin d2689c95a1 ENH: some style fixes for the book 2005-12-15 10:41:19 -05:00
Bill Hoffman 4b0fd57bef ENH: fix module documenation to handle bad docs and fix qt3 docs 2005-12-15 09:19:23 -05:00
Bill Hoffman b7fa820118 ENH: add documentation support for modules 2005-12-14 13:51:08 -05:00
Bill Hoffman 630924c0eb ENH: fix problem with building vtk 4.4.2 2005-11-28 14:19:57 -05:00
Bill Hoffman 2dff0978b9 BUG: fix for bug 2488 2005-11-22 12:04:41 -05:00
Bill Hoffman 066d5259c0 ENH: more compiler flags 2005-11-22 11:44:07 -05:00
Brad King ed5493509e BUG: QT_DEFINITIONS should not be quoted. This addresses bug#2481. 2005-11-22 11:33:46 -05:00
Bill Hoffman 21fffc63a2 ENH: set java compiler works 2005-11-22 11:28:14 -05:00
Brad King 036a78056c BUG: Fixed flag-to-vcproj-attribute conversion code to work again (it was broken by the optimization changes). Added conversion of /nologo flag to SuppressStartupBanner attribute and /Gy flag to EnableFunctionLevelLinking attribute. 2005-11-18 10:36:52 -05:00
Bill Hoffman 03e2911e55 BUG: fix SIZEOF VOIDP problem 2005-11-14 14:21:39 -05:00
Bill Hoffman b94d785df9 ENH: add all libs 2005-11-10 14:28:51 -05:00
Andy Cedilnik b338aad70c ENH: Cleanup and unify 2005-11-04 09:28:09 -05:00
Ken Martin 0d96e2824b DOC: better documentation 2005-11-02 13:59:37 -05:00
Ken Martin 0a5b9db60b DOC: better documentaiton 2005-11-02 13:51:59 -05:00
Bill Hoffman 18d9adde96 ENH: changes from Eric Wing, bug 2249 2005-10-28 17:46:44 -04:00
Andy Cedilnik 37dc4bdc6e COMP: On mingw, -fPIC is not necessary and it actually produces warnings 2005-10-18 13:25:54 -04:00
Bill Hoffman f7d926d072 ENH: remove -lgcc used by crazy coverage stuff 2005-09-23 14:39:38 -04:00
Bill Hoffman 1d031367d9 ENH: java fixes from Mathieu 2005-09-23 14:38:51 -04:00
Bill Hoffman eee1a7ec4c ENH: fix typo 2005-09-19 12:19:59 -04:00
Bill Hoffman 51abb73645 ENH: remove message 2005-09-19 12:17:37 -04:00
Bill Hoffman 8be3e4eeca ENH: clean up EnableLanguage try to fix problem where try compile runs cmake 2005-09-15 12:17:38 -04:00
Bill Hoffman c6fbe4a980 ENH: only add optional qt stuff to QT_INCLUDES 2005-09-14 11:16:02 -04:00
Bill Hoffman f81412aedf ENH: if qt4 qmake is found then set QT_QMAKE_EXECUTABLE to that value so that the same one will be used in FindQt4.cmake 2005-09-14 09:12:50 -04:00
Bill Hoffman 908db09b47 ENH: add some checks on the qmake install 2005-09-13 09:25:29 -04:00
Bill Hoffman 16ef79b555 ENH: fix if statement 2005-09-13 08:52:19 -04:00
Bill Hoffman a9344a547b ENH: add docs for QT_REQUIRED 2005-09-12 22:46:13 -04:00
Bill Hoffman 9405e30218 ENH: more findqt fixes 2005-09-12 22:39:12 -04:00
Bill Hoffman 74918bfc87 ENH: add new place to search for qt4 in registry 2005-09-12 11:43:24 -04:00
Bill Hoffman 7a330b9cbc ENH: fix typo 2005-09-12 11:25:22 -04:00
Bill Hoffman 1b421ccf75 ENH: add a better message 2005-09-12 10:33:55 -04:00
Bill Hoffman 3587b472f8 ENH: add more libraries for qt3 2005-09-12 10:28:48 -04:00
Bill Hoffman 5eb6aea9df ENH: use correct variable for qmake 2005-09-12 09:55:02 -04:00
Bill Hoffman 85856f2f14 ENH: add a better message 2005-09-12 09:52:26 -04:00
Bill Hoffman 71873903fc ENH: add some messages not errors for findqt 2005-09-12 09:36:50 -04:00
Bill Hoffman 34170ed52e ENH: more qt changes 2005-09-12 09:32:21 -04:00
Bill Hoffman 4dabf40ce3 ENH: add -D options for qt stuff 2005-09-12 09:09:47 -04:00
Bill Hoffman f52977a9f7 ENH: make sure the correct qmake is used 2005-09-12 09:00:55 -04:00
Bill Hoffman f9a3e38bfb ENH: only print errors if QT_REQUIRED is set 2005-09-10 22:36:58 -04:00
Bill Hoffman f8c259b443 BUG: try to fix qt problems 2005-09-10 10:33:10 -04:00
Bill Hoffman afbc9b7b07 ENH: clean up the find qt stuff some 2005-09-09 21:51:23 -04:00
Bill Hoffman b66c08fc40 ENH: try to fix this find qt stuff 2005-09-09 17:04:28 -04:00
Bill Hoffman 44d079f558 ENH: make FindQt default to qt3 and print a message, and add CheckQtInstalled.cmake 2005-09-09 11:32:52 -04:00
Bill Hoffman af59771b9b ENH: clean up some stuff 2005-09-08 11:38:55 -04:00
Bill Hoffman 1c3d7a9662 ENH: add ability to set outdir in swig 2005-09-08 11:38:14 -04:00
Bill Hoffman bcd62c8091 ENH: add support for java 1.5 2005-09-08 10:03:51 -04:00
Bill Hoffman db1903df89 ENH: add Matlab support 2005-09-08 10:01:46 -04:00
Bill Hoffman fcafddb318 ENH: add a find motif 2005-09-08 09:59:01 -04:00
Bill Hoffman b64b020f09 ENH: add Ken Morelands fixes for FindQT 2005-09-08 09:58:41 -04:00
Bill Hoffman 9c4bfe975a ENH: add a fix for VTK on the mac and a way to fix some projects with a single file in the cmake modules directory 2005-09-07 17:05:01 -04:00
Bill Hoffman 8ed25a5b89 ENH: add flags for debug release for aix 2005-08-29 17:09:29 -04:00
Brad King 5fddc58427 ENH: Picking better default for CMAKE_INSTALL_PREFIX on Windows by using ProgramFiles environment variable. Now that install actually works on Windows I'm making this entry non-advanced also. 2005-08-29 15:49:51 -04:00
Andy Cedilnik d8c5e8f094 ENH: More paths for java 2005-08-26 17:02:10 -04:00
Brad King c3a7f0ead5 ENH: Added support for finding qt-mtedu, the educational version of Qt. 2005-08-23 13:25:56 -04:00
Brad King 7a3240160e BUG: Need to test void* not "void *" because the Intel compiler icc expands the asterisk. Thanks to Filipe Sousa for the patch. 2005-08-19 09:29:44 -04:00
Bill Hoffman b058a5e1aa ENH: some clean up from Clinton 2005-08-10 12:50:56 -04:00
Bill Hoffman 97e43d6481 ENH: add Eric Wings FindSDL updates 2005-08-10 12:01:03 -04:00
Bill Hoffman df37d871c4 ENH: fixed up qt stuff from Clinton Stimpson 2005-08-10 08:48:03 -04:00
Andy Cedilnik e26c160698 ENH: Initial import 2005-08-03 13:19:36 -04:00
Andy Cedilnik d604f5f625 STYLE: Fix typo 2005-08-03 13:19:22 -04:00
Bill Hoffman cb0cd91ff3 ENH: /nologo must be first 2005-08-02 17:41:42 -04:00
Bill Hoffman a95fef3d1c ENH: add changes for qt4 from Clinton Stimpson 2005-08-02 16:44:00 -04:00
Bill Hoffman feb5019890 ENH: add changes for qt4 from Clinton Stimpson 2005-08-02 16:34:23 -04:00
Bill Hoffman 49b7c37544 ENH: add advanced values 2005-08-02 09:55:14 -04:00
Andy Cedilnik 10b6e2a621 ENH: Add C++ test too 2005-07-31 23:05:05 -04:00
Andy Cedilnik e898324778 ENH: Add a test for C source file like AC_TRY_COMPILE 2005-07-31 23:02:22 -04:00
Ken Martin c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
Brad King 90cefde755 ENH: Added VS8 support for DART_CXX_NAME. 2005-07-26 17:40:16 -04:00
Bill Hoffman b8b298104b ENH: make sure flags set in CC or CXX environment variables stay with the compiler 2005-07-20 15:44:55 -04:00
Bill Hoffman ff250565a2 ENH: move flags next to compiler, so if env contains compiler and some flag, they stay together 2005-07-20 12:54:12 -04:00
Bill Hoffman 380f8f6b4b ENH: make sure qmake is on the machine before running it 2005-07-20 12:48:12 -04:00
Bill Hoffman af4b6fbfed ENH: make KDevelop3 default to CMAKE_VERBOSE_MAKEFILE 2005-07-19 14:36:20 -04:00
Bill Hoffman 004b833d12 ENH: make KDevelop3 default to CMAKE_VERBOSE_MAKEFILE 2005-07-19 11:48:34 -04:00
Andy Cedilnik 3d84afe571 ENH: Several improvements and cleanups:
1. Add long command line arguments for every argument
2. Add a way to overwrite CTest configuration by providing --overwrite TimeOut=10
3. Improve argument parsing.
4. Add submit index argument
2005-07-18 11:46:45 -04:00
Bill Hoffman 300e6c98c1 ENH: fix qt bug 2005-07-18 08:47:52 -04:00
Bill Hoffman 68bbbf95a4 BUG: fix for bug 852 2005-07-15 12:57:53 -04:00
Bill Hoffman 8d418fb898 ENH: fix hard coded include from patch 2005-07-15 12:41:07 -04:00
Bill Hoffman 7ea6617b07 ENH: fix hard coded include from patch 2005-07-15 12:39:39 -04:00
Bill Hoffman bd88a6f6ce ENH: fix hard coded include from patch 2005-07-15 12:39:14 -04:00
Bill Hoffman dc1426b6a3 ENH: add new qt stuff from warfield@bwh.harvard.edu, thanks 2005-07-15 12:14:47 -04:00
Andy Cedilnik bc088d135b ENH: Add registry for 2.4 2005-07-15 11:48:04 -04:00
Andy Cedilnik d85f394d96 BUG: Set PYTHONINTERP_FOUND 2005-07-15 11:45:42 -04:00
Andy Cedilnik 28d4d449f9 ENH: Initial import 2005-07-15 08:36:33 -04:00
Bill Hoffman 6d37630770 ENH: fix for darwin from eric wing 2005-07-13 09:08:47 -04:00
Bill Hoffman 403959bc28 ENH: add a bunch of find sdl stuff from eric wing 2005-07-13 09:06:26 -04:00
Bill Hoffman 6571799492 FIX: for 1852 fix fortran case 2005-07-13 08:29:56 -04:00
Andy Cedilnik 2a7e0e7ad4 ENH: Replace with the one from InsightApp 2005-07-06 15:25:21 -04:00
Andy Cedilnik 3a5e24ff7c ENH: Improvements by Julien 2005-07-05 11:17:58 -04:00
Brad King 6048659e66 BUG: Fixed escaped quote at end of . 2005-06-30 11:18:56 -04:00
Brad King 387bcc5d20 BUG: Need to use the -c option for implib to produce case-sensitive symbols in the .lib files. 2005-06-29 12:07:09 -04:00
Ken Martin e1e7b11437 ENH: fixed some spelling errors 2005-06-20 16:31:34 -04:00
Ken Martin ff3ad96831 BUG: fix some missing quotes for STREQUAL IF statements 2005-06-20 13:10:09 -04:00
Ken Martin 165d70803f ENH: adde dback in CMAKE_VERBOSE_MAKEFILE that was acc removed 2005-06-20 12:55:48 -04:00
Ken Martin 8108786494 ENH: fix for incorrect setting of CONFIZGURATION_TYPES 2005-06-07 12:07:34 -04:00
Brad King 100d856cb0 ENH: Added search locations for a FreeBSD location. Contributed by Alexander Neundorf. 2005-06-07 08:44:30 -04:00
Andy Cedilnik 17da34e188 COMP: Fix for support of VS 8.0 beta 2 2005-05-26 17:30:13 -04:00
Ken Martin 7157fa163c ENH: added requires flag 2005-05-24 10:45:39 -04:00
Andy Cedilnik 6adbe6d049 ENH: Be more verbose, handle network paths, and write compiler output to the log files 2005-05-19 14:36:19 -04:00
Brad King c6e15f5ddf BUG: Fix try-compile for sys/prctl.h. It needs to include sys/types.h first according to the man page. 2005-04-26 17:11:48 -04:00
Bill Hoffman f50e904faf ENH: fix install test with xcode, the xcode generator does not support library versioning yet 2005-04-07 16:09:13 -04:00
Brad King 290ffc01b6 ENH: Removing extra 64-bit search paths. They are now constructed automatically from the paths listed. 2005-04-07 14:27:01 -04:00
Brad King 76f9050026 ENH: Adding support for 64-bit library paths. Contributed by Peter Vanroose. 2005-04-07 13:46:02 -04:00
Brad King bcfc71cc03 STYLE: Fixed spelling of "memmory". 2005-04-06 16:53:55 -04:00
Brad King 1c4337d778 ENH: Removed CMAKE_GENERATOR_NEW now that the old unix makefile generator is never used. 2005-04-06 15:06:08 -04:00
Bill Hoffman 3ca1081419 BUG: try to address Bug 1673 . 2005-04-05 17:06:00 -04:00
Bill Hoffman 96e2956ec8 Fix for bug Bug #1287 - cmake use MesaGL by default instead of libGL - Return to bug list 2005-04-05 16:24:03 -04:00
Bill Hoffman eae89e0f88 BUG: fix for bug 1652 2005-04-05 13:37:30 -04:00
Bill Hoffman 2df5c6033c ENH: make sure source flags don't have to be set 2005-04-04 16:55:35 -04:00
Bill Hoffman 0e62c76f5b ENH: fix for bug 1304 2005-04-04 16:13:41 -04:00
Bill Hoffman 525a2160a6 FIX: fix for bug 1730 2005-04-04 15:51:48 -04:00
Andy Cedilnik 0dd2b6eb80 BUG: By default disable new files. 2005-04-04 12:22:08 -04:00
Andy Cedilnik 6cd36d16e5 ENH: Rename the DartConfiguration.tcl to CTestConfiguration.ini 2005-04-01 15:45:26 -05:00
Bill Hoffman dbf7410bb2 ENH: try to fix rpath on qnx 2005-03-14 12:18:23 -05:00
Brad King a116420839 ENH: Initial attempt at QNX support. Submitted by Tim Arney. 2005-03-11 10:15:36 -05:00
Andy Cedilnik 058b07b5c7 BUG: Change error to warning 2005-03-01 14:30:10 -05:00
Brad King 54c99dc5fd ENH: Adding support for shared library versioning using the -install_name option on the OSX linker. This is actually needed to support relative -o paths which are used by cmLocalUnixMakefileGenerator2. 2005-03-01 12:26:25 -05:00
Brad King a21c0449ab BUG: Added installation of .in files as well as .cmake files. 2005-02-24 11:46:27 -05:00
Brad King 7c7b173042 ENH: Added better default install location for windows builds. The previous default /usr/local did not make much sense. Now "%SystemDrive%/Program Files/PROJECT_NAME" is used, which is the windows equivalent to /usr/local. 2005-02-22 15:22:40 -05:00
Bill Hoffman 590ca03884 FIX: fix for bug 1409 2005-02-17 10:45:41 -05:00
Bill Hoffman 2fdca2bbaa FIX: fix for bug 1438 2005-02-17 10:42:40 -05:00
Andy Cedilnik 26f3b14919 BUG: Clean the messages 2005-02-16 13:36:07 -05:00
Andy Cedilnik 1ca05e219a ENH: Reorganize and add subversion support 2005-02-16 13:30:17 -05:00
Bill Hoffman f3f123fe46 FIX: fix bug 1495 2005-02-11 14:22:24 -05:00
Bill Hoffman 575c34300c FIX: fix bug 1303 2005-02-11 14:18:45 -05:00
Bill Hoffman b7b501bbe8 ENH: fix for 1450 2005-02-09 23:00:16 -05:00
Bill Hoffman aa947ff48b ENH: bug fix 1573 2005-02-09 22:46:33 -05:00
Bill Hoffman e63bdf6245 ENH: bug fix 1574 2005-02-09 22:45:43 -05:00
Brad King 92458a17ad ENH: Added test for Fortran90 support. 2005-02-04 10:06:25 -05:00
Bill Hoffman 8960a220a9 ENH: add trycompile code for xcode 2005-02-01 13:12:19 -05:00
Andy Cedilnik 62aba58b82 ENH: Better checking for Dart. Closes Bug #1505 - Configuration fails to create Makefile 2005-01-28 13:20:53 -05:00
Bill Hoffman 16dec1dd0d ENH: remove debug print 2005-01-28 08:30:56 -05:00
Andy Cedilnik 10f475ad30 ENH: Enable compression and use the new trigger script 2005-01-27 17:45:05 -05:00
Andy Cedilnik 1cca4b3b24 ENH: Enable compression with DartConfiguration file 2005-01-27 17:44:25 -05:00
Bill Hoffman 36dd18efce ENH: stuff to keep compiler tests from re-running all the time 2005-01-20 12:30:03 -05:00
Bill Hoffman e7bc462755 BUG: fix running of cl in trycompiles 2005-01-17 15:20:41 -05:00
Bill Hoffman 476f278c76 fix number of arguments 2004-12-16 22:18:49 -05:00
Bill Hoffman 080a626d8f ENH: fix for OpenBSD 2004-12-16 17:26:59 -05:00
Bill Hoffman 2aaac85694 FIX: fix for bug 1325, Tru64 not True64 2004-12-06 12:39:18 -05:00
Bill Hoffman a8fb3b69e2 ENH: try and fix aix xlC with gcc 2004-11-23 17:34:59 -05:00
Bill Hoffman 04ca53e686 ENH: try and fix aix xlC with gcc 2004-11-23 17:28:28 -05:00
Bill Hoffman bdb660bad4 ENH: try to fix aix with native cxx and gcc 2004-11-23 14:07:46 -05:00
Andy Cedilnik 235bf2547c BUG: Check for the variable first time 2004-10-27 10:45:07 -04:00
Andy Cedilnik c57512ea38 BUG: Only test for cxx flags the first time around 2004-10-26 17:23:20 -04:00
Bill Hoffman 7cef36c628 ENH: add the ability to generate custom commands for a language that is not supported by an IDE 2004-10-21 14:34:02 -04:00
Andy Cedilnik a4c8aee1f4 ENH: If dart or ctest are not found, use ctest. For default drop location etc, support http submit (just set DROP_METHOD to http. Only look for tclsh if DART_ROOT is set 2004-10-12 18:29:04 -04:00
Bill Hoffman e78a57563c ENH: make sure the c++ compiler is a c++ compiler 2004-10-11 11:55:39 -04:00
Andy Cedilnik 518de19f74 ENH: Add option of adding random include files before doing CheckTypeSize 2004-10-05 08:33:08 -04:00
Andy Cedilnik b1a1526e14 ENH: When test fails, write out the output 2004-10-05 08:32:08 -04:00
Bill Hoffman 016e0e52cb BUG: make sure java jar files are not libfoo.jar but are just foo.jar 2004-09-27 11:36:29 -04:00
Andy Cedilnik 0871ddbedd ENH: Replace INCLUDE(Find...) with FIND_PACKAGE(...) 2004-09-27 09:49:55 -04:00
Bill Hoffman e63ea0a6d2 BUG: LINK_FLAGS are now all LINK_(LANG)_FLAGS 2004-09-24 14:37:58 -04:00
Bill Hoffman 5bc54263a6 ENH: use c++ with c++ and c flags with c 2004-09-24 09:11:42 -04:00
Bill Hoffman 67ac3ea503 ENH: fix problems with .def and RC files 2004-09-23 08:51:06 -04:00
Bill Hoffman 11aeb6e483 BUG: let the generator quote the path 2004-09-22 14:52:57 -04:00
Bill Hoffman 692ba48c4e ENH: major changes to support addition of languages from cmake modules directory. 2004-09-22 14:42:05 -04:00
Bill Hoffman 4cf0f5b5ca BUG: fix GNU check variable and add new variables used by enable language 2004-09-22 08:50:43 -04:00
Bill Hoffman 26eff86298 ENH: look for java in more places 2004-09-20 14:39:44 -04:00
Bill Hoffman 239cec12e0 BUG: commit bug 1123 2004-09-17 09:14:33 -04:00
Ken Martin 2e4264e0d1 ENH: do not check for gnu for visual studio 2004-09-15 10:32:28 -04:00
Andy Cedilnik 0e67feb17a ENH: Use FIND_PACKAGE instead of INCLUDE(Find... 2004-09-10 11:15:07 -04:00
Bill Hoffman b18faffcf0 add ifort support 2004-09-09 16:05:42 -04:00
Bill Hoffman 3708ed4ec8 try to fix fortran on hp 2004-09-09 11:50:14 -04:00
Bill Hoffman 0d4cd0436b ENH better test for free VC tools 2004-09-03 15:19:58 -04:00
Bill Hoffman c2ef51e181 ENH: define language extensions in cmake files and not hard coded, also fix trycompile problem 2004-09-03 12:03:41 -04:00
Bill Hoffman 652823dc83 ENH: check for ms free command line tools 2004-09-03 12:01:46 -04:00
Bill Hoffman 4fb678e40d Make sure cmake uses consistent module prefixes 2004-08-30 12:14:31 -04:00
Andy Cedilnik ad4f98f3cf ENH: Cleanup. Use relative path to modules 2004-08-26 22:52:53 -04:00
Bill Hoffman c9eaf38653 hack to try and fix sun platform 2004-08-26 21:43:27 -04:00
Bill Hoffman ca5e9e6415 ENH: try to find fortran compiler before adding the test 2004-08-26 16:34:06 -04:00
Bill Hoffman e803b32b89 Add a fortran test if there is a fortran compiler 2004-08-26 15:50:39 -04:00
Bill Hoffman 66a08c10e5 ENH: more uniform approach to enable language, one step closer to being able to enable a language without modifing cmake source code 2004-08-26 14:55:55 -04:00
Bill Hoffman 28cc5b973f BUG: 1107 add extra place to look for java 2004-08-23 11:33:35 -04:00
Bill Hoffman 049985f36f BUG: 1107 add extra place to look for java 2004-08-23 11:21:33 -04:00
Andy Cedilnik c8c5bb4e22 BUG: Unly set gcc flags for C compiler if CMAKE_COMPILER_IS_GNUCC is set 2004-08-18 09:28:41 -04:00
Andy Cedilnik fa84ecf7bf ENH: Initial import for Darwin using xlC 2004-08-17 19:18:59 -04:00
Bill Hoffman a1b94f4c5c ENH: minor fortran fixes 2004-08-11 16:35:55 -04:00
Ken Martin d8bada47a6 ENH: Initial import 2004-08-09 18:20:07 -04:00
Bill Hoffman 9655299f08 ENH: initial fortran support 2004-08-06 14:51:41 -04:00
Bill Hoffman 0220a85e33 ENH: remove verbose QT message 2004-08-05 11:59:20 -04:00
Andy Cedilnik 11d89d36d7 ENH: Add MemCheck to the list of Make targets. Closes Bug #1016 - Testing targets in Makefile 2004-07-29 17:07:16 -04:00
Andy Cedilnik 07231d014c DOC: Fix typo 2004-07-27 08:52:13 -04:00
Andy Cedilnik 1ed700d91f ENH: Allow project to overwrite CMAKE_SYSTEM_NAME part of default BUILDNAME 2004-07-27 08:48:08 -04:00
Bill Hoffman c8101e8e47 BUG: fix for bug 998, fix spelling errors 2004-07-26 16:59:55 -04:00
Bill Hoffman f929104ae8 BUG: put back flags to maintain backwards compatibility 2004-07-22 10:59:34 -04:00
Andy Cedilnik b0d86400d9 BUG: These regular expressions were wrong because \\t does not match tab. Also, this fix prevents whole file to be dumped to the cache 2004-07-13 10:03:32 -04:00
Bill Hoffman 0e0eec1162 merge in fixes from neundorf at kde org, bug 869 2004-07-09 15:38:41 -04:00
Bill Hoffman 86195caf6a ENH: add support for VCExpress 2005 2004-07-05 12:16:33 -04:00
Bill Hoffman 32381805d3 BUG: make sure if swig is found, we know it is found 2004-06-29 10:22:06 -04:00
Andy Cedilnik d392ccaee5 BUG: Add more comments and fix CMAKE_SWIG_FLAGS 2004-06-28 11:14:40 -04:00
Andy Cedilnik 0beaf4cb4e BUG: Replace MATCHES with STREQUAL for better checking, better checking for existence of swig directory, verify if required flag was set, support fedora's location of swig. Fixes Bug #955 - Swig on fedora and Bug #954 - FIND_PACKAGE(SWIG REQUIRED) 2004-06-28 09:08:13 -04:00
Bill Hoffman 3860a2dcd6 BUG: SWIG_FLAGS was ignored by the add swig source to module command 2004-06-26 08:40:11 -04:00
Bill Hoffman dc4a6f63b0 C++ compiler is not set for c only projects 2004-06-23 16:15:21 -04:00
Bill Hoffman 6ccbfe9795 clean up commands so they don't need extra variable 2004-06-16 09:44:03 -04:00
Bill Hoffman b6466061cb ENH: add NDEBUG to windows release builds for both ide and nmake 2004-06-14 12:16:25 -04:00
Bill Hoffman 50c900b85c ENH: add FindKDE from Alex from kde.org 2004-06-14 10:46:46 -04:00
Bill Hoffman 88d644d2aa fix for bug 915 2004-06-14 10:36:17 -04:00
Sebastien Barre 6037cc8b3b a) new version of tools like Doxygen and Graphviz now set install path info in win32 registery. use it.
b) remove DOT_PATH, it was polluting the cache (can be computed from DOT, update CMakeLists.txt accordingly if DOT_PATH is not defined)
2004-06-08 17:26:48 -04:00
Bill Hoffman ebe116ee41 Fix for bug 903 change order of fltk libraries 2004-06-03 14:54:48 -04:00
Brad King 830e1ac1d9 BUG#895: Adding -DNDEBUG to C and C++ flags for release builds. 2004-06-01 14:08:04 -04:00
Ken Martin e67ffe8527 better error message 2004-05-25 11:20:38 -04:00
Andy Cedilnik 3031467e33 ENH: Implement additional make clean files as a directory property instead of cmake variable 2004-05-20 16:56:34 -04:00
Bill Hoffman 44803a00c5 ENH: look for qtmoc in some other places 2004-05-20 16:26:54 -04:00
Bill Hoffman 6b31e5c851 BUG: fix problem where cmake thinks the intel compiler is gnu 2004-05-18 14:33:12 -04:00
Bill Hoffman 55969dcf23 ENH: append to the list of clean files, don't just set them 2004-05-17 16:31:58 -04:00
Bill Hoffman fdb358e9cc BUG: Bug #835 fix, add swig generated files to clean target 2004-05-17 15:55:35 -04:00
Bill Hoffman 4b74d4c0a9 Add a missing dollar sign 2004-05-07 10:16:53 -04:00
Ken Martin d8ae50b87c a guess at some OSF compiler flags 2004-05-05 10:41:40 -04:00
Andy Cedilnik ea8dc0769d ENH: Only mangle object files if CMAKE_MANGLE_OBJECT_FILE_NAMES is set. Only on borland for now. 2004-05-04 11:24:32 -04:00
Andy Cedilnik 575afc8b14 ENH: support STDDEF and cleanup 2004-05-03 16:35:37 -04:00
Ken Martin 7965cfb339 fix to find opengl on some osf systems 2004-05-01 10:07:41 -04:00
Andy Cedilnik a401922ca3 ENH: More paths 2004-04-30 13:41:06 -04:00
Bill Hoffman b99046be81 ENH: add another place to look for swig.exe 2004-04-30 12:54:20 -04:00
Bill Hoffman 5fd1c7fd3c ENH: try to find swig.exe in SWIG_DIR 2004-04-30 12:52:12 -04:00
Andy Cedilnik 257daa4635 ENH: Initial import of swig. Start working towards Bug #749 - Add swig support module to cmake 2004-04-30 12:11:02 -04:00
Bill Hoffman a6b60841db BUG: fix for bug 116 platform files can now specify directories that should not be added by CMAKE 2004-04-28 13:21:56 -04:00
Bill Hoffman f248295d5d ENH: fixes for optional flag arguments to check include macros 2004-04-28 10:00:11 -04:00
Bill Hoffman 79269fc5a9 BUG: fix for bug 80, check include cxx now has an optional argument that can is added to the cxx flags 2004-04-28 09:52:12 -04:00
Andy Cedilnik 62fec96d99 ENH: Add TCL_FOUND 2004-04-26 13:42:55 -04:00
Brad King 7c0844d2f4 BUG#682: Adding environment variable check to FIND_PACKAGE command. 2004-04-26 11:00:41 -04:00
Brad King a8b2400f7b BUG#502: Do not let optimizing compilers think the symbol exists. Require the symbol by making the return value depend on it to force linking. 2004-04-26 10:19:44 -04:00
Bill Hoffman 0b7d154ebd ENH: add verbose make abilility to visual studio 7 2004-04-23 13:12:33 -04:00
Bill Hoffman ef5387a8ff BUG: fix for bug 618 2004-04-22 17:23:48 -04:00
Bill Hoffman a688f59519 BUG: fix for bug 743 2004-04-22 17:20:41 -04:00
Bill Hoffman 9dbd619b28 BUG: fix for bug 607 2004-04-22 17:08:20 -04:00
Bill Hoffman 8ba5612136 ENH: contribution from Ian Scott, thanks. 2004-04-22 16:16:15 -04:00
Ken Martin 45878db508 update comments 2004-04-22 15:59:41 -04:00
Bill Hoffman 5ff05c35d1 BUG: fix bad if statements 2004-04-22 11:12:04 -04:00
Bill Hoffman 8414c65862 ENH: fix for mingw 2004-04-21 15:09:07 -04:00
Brad King 78803c01ea ENH: Terminate with a FATAL_ERROR if FIND_PACKAGE command was called with REQUIRED argument and package was not found. 2004-04-21 11:33:47 -04:00
Bill Hoffman 038cc6fa01 BUG: fix for bug 506 2004-04-15 11:55:29 -04:00
Bill Hoffman fad91fb770 ENH: fix tests for non-ansi c on hp and remove warnings for ansi c 2004-04-15 08:22:19 -04:00
Bill Hoffman c7a42a1b1f BUG: fix for bug 608 2004-04-14 17:02:40 -04:00
Bill Hoffman 6c5b67981e ENH: remove warnings from try compiles 2004-04-14 15:56:39 -04:00
Bill Hoffman 1344d86e43 BUG: fix for bug 593 2004-04-12 21:01:45 -04:00
Andy Cedilnik 1dbcfd2a98 ENH: Improve Mac OSX bundle support 2004-04-08 17:13:42 -04:00
Brad King 82101f78cf ENH: Added registry check for ActiveState Tcl 8.4.6. 2004-03-31 16:44:43 -05:00
Yves Starreveld a4d0758e22 ERR: Shouldn't be adding xlibs to opengllibs on osx 2004-03-27 13:20:55 -05:00
Brad King 7fa9a5f5d6 ERR: Fixed incorrect documentation for CMAKE_CXX_WARNING_LEVEL. Submitted by David Cole. 2004-03-23 15:02:07 -05:00
Andy Cedilnik b1a7421840 ENH: Styart working on bundles support and abstract WIN32_EXECUTABLE 2004-02-28 18:59:19 -05:00
Bill Hoffman 07b4d8bbca BUG: fix mingw module load tests 2004-02-16 09:50:06 -05:00
Bill Hoffman eb7ab7964a shared modules are not linked so do not use lib prefix 2004-02-14 16:55:04 -05:00
Bill Hoffman f7ce654912 ENH: change mingw to use libfoo.dll instead of foo.dll since it can link to them 2004-02-13 10:51:44 -05:00
Andy Cedilnik f171b82377 ENH: Better finding of JNI 2004-02-06 10:49:46 -05:00
Bill Hoffman e7295161f7 ENH: use CFLAGS for testing for gnu 2004-01-23 12:40:03 -05:00
Andy Cedilnik 8bd124e7d0 ENH: This will probably break some obscure version of gcc, but until then, everybody doing profiling will be happy 2004-01-21 18:39:54 -05:00
Brad King 802cc38344 BUG#530: Using #error to report a nice error message if the C compiler is set to a C++ compiler. 2004-01-21 15:11:48 -05:00
Brad King af81df2542 BUG: Use return statement instead of exit. 2004-01-21 15:08:55 -05:00
Andy Cedilnik 2f5673c894 ENH: Fix typos about copying exe flags to shared flags and to modules. Bug #518 - On borland, initial flags for bulding module are wrong 2004-01-15 13:57:21 -05:00
Bill Hoffman f0f9b50770 BUG: use the flags when testing for type of gnu compiler 2004-01-13 09:00:59 -05:00
Sebastien Barre 1b2e663dfb ENH: make it a bit smarter at finding stuff: now you need only to set *ONE* of (TCL|TK)_INCLUDE_PATH, (TCL|TK)_LIBRARY, TCL_TCLSH and the rest will be found. 2004-01-09 15:57:17 -05:00
Ken Martin 02d253c59e fix for multiple nexted projects 2004-01-02 10:23:20 -05:00
Brad King 13e9428d2e BUG#423: Fixed search for frameworks on OSX. 2003-12-29 16:18:18 -05:00
Andy Cedilnik 46aaf2dae8 ERR: On systems where uname does not support -p, try -m. Fixes Bug #426 - CMAKE_SYSTEM_PROCESSOR unknown and inconsistent 2003-12-29 14:26:46 -05:00
Andy Cedilnik de30a184a2 ENH: Add QT_ASSISTANTCLIENT_LIBRARY support. Fixes Bug #425 - Suggsted mod to FindQt.cmake to handle qassistantclient.lib 2003-12-29 14:19:07 -05:00
Andy Cedilnik 31bb398dc3 ENH: Mark things as advanced 2003-12-17 09:42:52 -05:00
Ken Martin 32f1d93de3 fix in quoting 2003-12-17 08:21:45 -05:00
Andy Cedilnik 4cf81bab0e ENH: Add suppression file 2003-12-16 16:19:32 -05:00
Andy Cedilnik 5b232ded15 ENH: Add initial memory check support which works for Valgrind 2003-12-15 17:26:00 -05:00
Brad King 128f3cbd00 ENH: Added CMAKE_SHARED_LIBRARY_SONAME_C_FLAG and CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG settings to enable shared library version support for SGI. 2003-12-12 15:42:55 -05:00
Brad King 18112d0854 ENH: Added CMAKE_SHARED_LIBRARY_SONAME_FLAG setting to enable shared library version support for HP-UX. 2003-12-12 14:44:03 -05:00
Brad King c1add9106c ENH: Using separate CMAKE_SHARED_LIBRARY_SONAME flags for C and CXX. 2003-12-12 14:35:18 -05:00
Brad King 9a096e8488 ENH: Added CMAKE_SHARED_LIBRARY_SONAME_FLAG setting to enable shared library version support for SunOS. 2003-12-12 14:20:06 -05:00
Bill Hoffman 89fe29a41a ENH: reduce the number of times gnu is tested for 2003-12-12 09:12:49 -05:00
Brad King c624879fba ENH: Adding /usr/include/w32api for OpenGL header search. 2003-12-09 14:33:10 -05:00
Andy Cedilnik 403f220d25 ENH: Improve coverage on systems with multiple gcov commands 2003-12-08 11:23:46 -05:00
Brad King 81be61b153 BUG#411: Re-ordering statements so errors show up in CMakeError.log. 2003-12-01 13:06:35 -05:00
Brad King aaf0ed39ca ENH: Adding implementation of shared library version support on UNIX. This addresses the feature request described in bug#32. 2003-11-26 17:59:53 -05:00
Brad King f0035d84b5 ENH: Adding implementation of shared library version support on UNIX. This addresses the feature request described in bug#32. 2003-11-26 17:52:33 -05:00
Bill Hoffman 7cf5aa9271 BUG: remove junk code 2003-11-21 13:12:39 -05:00
Brad King 7b3ba5537c BUG#266: Added cygwin names for the library. Module now documents output as PYTHON_LIBRARIES instead of PYTHON_LIBRARY. 2003-11-20 15:41:29 -05:00
Brad King 0637e4656c STYLE: Removed trailing whitespace. 2003-11-20 15:31:40 -05:00
Bill Hoffman c3530dd01f BUG: fix for bug 383 gcc flags are now always set if the compiler is gnu 2003-11-14 10:44:12 -05:00
Brad King a65fd59c13 BUG#299: GTK_gmodule_LIBRARY is optional just like GTK_gthread_LIBRARY. 2003-11-12 17:44:17 -05:00
Brad King ac8bf0d5ac BUG#374: Adding OUTPUT_VARIABLE OUTPUT to TRY_COMPILE commands. 2003-11-12 16:51:09 -05:00
Brad King 37149fc5b3 BUG#199: If DART_EXPERIMENTAL_USE_PROJECT_NAME is set, the PROJECT_NAME will be included in the name of the Experimental and ExperimentalSubmit targets. 2003-11-12 10:00:54 -05:00
Bill Hoffman 34853be45a BUG: fix for bug 346, borland should now support dash in the path 2003-11-05 11:18:15 -05:00
Brad King 2480a83deb ENH: Adding registry entries to search path. 2003-11-04 09:36:33 -05:00
Bill Hoffman 44d6e0362e BUG: fix for bug# 317 2003-10-31 16:56:40 -05:00
Brad King a92c58bacc BUG#262: Marking DVIPDF_CONVERTER as advanced. 2003-10-30 13:33:51 -05:00
Brad King 9a4c654d23 BUG: Fixed same spaces-in-paths problem for CMakeTestGNU.c as in CMakeDetermineCCompiler.cmake. 2003-10-17 16:09:18 -04:00
Sebastien Barre 296e731808 FIX: for Windows users, it seems logical to favor native win32 installation before Cygwin ones. Otherwise you can end up with bad mixes (part of the java tools were picked from the SDK, part from Cygwin) 2003-10-16 11:05:04 -04:00
Bill Hoffman db3cd82590 BUG: fix for bug 78 should be on 1.8 branch 2003-10-15 23:42:06 -04:00
Brad King de27c1207b ERR: Old -flat_namespace -undefined suppress flags for CMAKE_SHARED_MODULE_CREATE_C_FLAGS should be included when CMAKE_BACKWARDS_COMPATIBILITY is 1.6 or lower. 2003-10-15 10:14:13 -04:00
Brad King b0e79efddd BUG: Fix for spaces in path when loading CMakeTestGNU.c. 2003-10-14 22:30:07 -04:00
Andy Cedilnik db12c17017 ENH: Documentation fix 2003-10-13 15:27:58 -04:00
Andy Cedilnik 5d4bdcf942 ERR: allow spaces in the path 2003-10-13 11:32:37 -04:00
Brad King c17be8d126 BUG: Message describing variable was using result variable. 2003-10-11 08:12:21 -04:00
Bill Hoffman 96e8cd82c7 ENH: put the system path after the paths specified on to the FIND command 2003-10-09 15:52:29 -04:00
Brad King a1d61afcf6 BUG: Comparison of build tool should be case-insensitive. 2003-09-26 11:15:28 -04:00
Yves Starreveld 2ff4690192 ENH: remove the -flat_namespace and -undefined suppress hacks from
ENH: CMAKE_SHARED_MODULE_CREATE_C_FLAGS
ENH: and fix the complex example to specify a -bundle loader for the
ENH: shared module that it builds.
2003-08-27 20:35:18 -04:00
Bill Hoffman a35d911def ENH: MinGW build now passes all the tests 2003-08-27 16:42:01 -04:00
Brad King ae28d81894 ERR: Fixed typo in comment. 2003-08-27 16:02:37 -04:00
Bill Hoffman 9cc69e8292 ENH: add configure file for gcc under windows 2003-08-22 11:56:20 -04:00
Andy Cedilnik 21ec23413e ERR: Reorganize to try to fix the -pthread problem on some systems 2003-08-22 09:52:05 -04:00
Bill Hoffman a413160fec ENH: add the unix makefile generator as an option from the windows GUI, this builds with mingw, cygwin, and combinations of make cl, bcc32 2003-08-21 16:22:23 -04:00
Andy Cedilnik 0270b60b8f ERR: If WX_CONFIG_LIBS are , then you get weird cmake error. This should fix it 2003-08-21 13:26:56 -04:00
Brad King 5e21538ebd ENH: Improved default choice of -64 compiler/linker flags based on how cmake was built. 2003-08-19 10:50:08 -04:00
Andy Cedilnik af721186a1 BUG: Fix Bug #156 - ps2pdf is not found on linux 2003-08-19 08:53:14 -04:00
Brad King a6bd324605 ENH: Installing readme.txt in Modules directory to be consistent with windows. 2003-08-11 17:34:12 -04:00
Andy Cedilnik 0b0a732f26 ENH: Take Purify out because it is not implemented yet 2003-08-11 12:17:34 -04:00
Andy Cedilnik 8149dbed29 ENH: Cleanups and add missing CMakeOutput.log and CMakeError.log appending. Close Bug #136 - Verify that all modules that do try compile produce CMakeError.log and CMakeOutput.log 2003-08-08 11:59:07 -04:00
Andy Cedilnik 8cd7dcced7 ENH: Add PDFLaTeX and LaTeX2HTML. Closes Bug #132 - Add pdflatex and html2latex to FindLATEX.cmake 2003-08-07 16:32:20 -04:00
Bill Hoffman c2d52d74a1 BUG: fix for main in a library on windows with nmake 2003-08-07 14:10:16 -04:00
Bill Hoffman 4a1412b0cb BUG: fix for bugs 125 - 128, and a fix for the bug introduced by the bug fix for but 92. & was being replaced with &amp, but after double quote was replaced with &quot causing it to be &amp;quot. Also add more search paths for mpi 2003-08-07 09:19:39 -04:00
Andy Cedilnik 51301d8cc6 ENH: On apple use -lpthreads 2003-08-06 17:32:50 -04:00
Ken Martin dfcd4f2154 added test for whether pdbtype should be used for nmake 2003-08-05 09:55:20 -04:00
Brad King c17220091c ERR: Fixed typeo tests->test. 2003-08-04 17:08:41 -04:00
Andy Cedilnik 8a0e3c103b ENH: Make it work for QT 2.3 non commercial on windows 2003-08-01 19:13:38 -04:00
Andy Cedilnik 7d1cbf26d9 ENH: MAke it work on FreeBSD 2003-08-01 17:11:46 -04:00
Andy Cedilnik ff5f0312de ENH: Do better test for pthreads 2003-08-01 16:48:41 -04:00
Andy Cedilnik cb4e99f712 ENH: Fix indentation 2003-08-01 16:48:07 -04:00
Andy Cedilnik 388d274290 made a minor bugfix on my FindwxWindows.cmake.
I capsulated the regular expression matching for the libdrs with another
IF (line 355).
By: Jan Woetzel
2003-07-31 13:15:42 -04:00
Andy Cedilnik 7762431bb0 ENH: when linking in QT, we should also link DL, since QT uses them 2003-07-30 15:38:58 -04:00
Andy Cedilnik 9549a5f1dd ENH: QT if it is multi threaded should link in threads 2003-07-30 13:39:08 -04:00
Andy Cedilnik f0a9aa814e ENH: Use FindX11 when doing Qt on unix 2003-07-29 17:15:19 -04:00
Andy Cedilnik 4faaf7c877 ENH: Add Use file for wxWindows. Thanks Jan Woetzel 2003-07-29 13:36:50 -04:00
Andy Cedilnik 2f58c28e6d ENH: Improved find module. Thank you Jan Woetzel 2003-07-29 07:41:28 -04:00
Brad King e450309ca3 ENH: Improved error message for VTK_DIR not found to refer to it as a cache entry. Some users thought this was supposed to be an environment variable. 2003-07-24 11:06:18 -04:00
Brad King a1bb1a4712 ENH: Added optional configuration of data/doc/man dirs. This will be useful for package maintainers. 2003-07-21 16:38:53 -04:00
Andy Cedilnik d6ebc123f7 ENH: Extra new line after output 2003-07-17 14:55:45 -04:00
Bill Hoffman 79c298e12c ENH: set CMAKE_SYSTEM_VERSION for windows 2003-07-16 15:38:31 -04:00
Andy Cedilnik a17587c244 ENH: Replace WRITE_FILE with FILE(WRITE and FILE(APPEND. Replace MAKE_DIRECTORY with FILE(MAKE_DIRECTORY, replace STRING(ASCII things 2003-07-11 14:14:03 -04:00
Brad King 2d411398fd BUG: Stack size in generated programs should be 10 meg, not 256. 2003-06-12 16:43:09 -04:00
Bill Hoffman 43e5e88042 ENH: add processor type of win32 2003-06-11 10:11:53 -04:00
Bill Hoffman 3021918293 ENH: add CMAKE_SYSTEM_PROCESSOR 2003-06-11 10:07:57 -04:00
Andy Cedilnik 3ce9496a74 BUG: When VTK is not found, it should be fatal error 2003-06-06 09:58:02 -04:00
Bill Hoffman 12d99416c1 ENH: add all targets for dashboard build types 2003-06-03 14:45:16 -04:00
Andy Cedilnik 64db4e2cd8 ENH: More locations 2003-05-28 07:53:50 -04:00
Bill Hoffman 44e3bbce96 ENH: add LDFLAGS as an initial value for all linker flags, good for -64 2003-05-23 09:35:04 -04:00
Brad King a696dbc815 ERR: Removed warning for unused variable. 2003-05-16 16:33:11 -04:00
Brad King 9c3a6eb410 BUG: Need -brtl when creating shared libraries. Also added -bexpall (AIX equivalent to Linux's -rdynamic) when building executables. 2003-05-16 15:21:03 -04:00
Bill Hoffman 395fae7642 add find make program for 71 2003-05-09 15:47:21 -04:00
Bill Hoffman 8e6c05cbae BUG: remove typo from file 2003-05-09 09:32:04 -04:00
Bill Hoffman 6292558f36 BUG: fix for borland win32 exe builds 2003-05-08 09:55:59 -04:00
Ken Martin 5394ecef82 BUG: remove -H flags as they cause crashes on oldwww 2003-05-08 09:44:51 -04:00
Ken Martin 1b572eb946 BUG: remove -H flags as they cause crashes on oldwww 2003-05-08 09:43:15 -04:00
Bill Hoffman c70beb4bee ENH: change the default borland stack size 2003-05-05 10:24:01 -04:00
Andy Cedilnik eb5fe7990a ERR: Remove warning for main returning void. 2003-05-05 09:54:55 -04:00
Ken Martin b3b69f9564 fixed andy sloppy code again 2003-05-02 14:05:37 -04:00
Andy Cedilnik bec9b174f5 ENH: Fix some dart issues. Now it works fine without dart. 2003-05-02 13:57:25 -04:00
Brad King 2ad267cff3 ENH: Updated search paths to newest values from Cable. 2003-04-22 16:10:18 -04:00
Brad King f6e87dc2f6 ENH: Added /usr/local/lib/fltk 2003-04-04 10:05:20 -05:00
Andy Cedilnik ded93e30e6 Add QT on debian 2003-04-02 08:45:20 -05:00
Andy Cedilnik 4e66ef8fe1 New design of CheckSymbolExists pretty much replaces all other ones.
For example:

CHECK_HEADER_EXISTS("type.h" HAVE_TYPE_H)
is:
CHECK_SYMBOL_EXISTS(main "type.h" HAVE_TYPE_H)

CHECK_LIBRARY_EXISTS("nsl"    gethostname  HAVE_LIBNSL)
would be
SET(CMAKE_REQUIRED_LIBRARIES "nsl")
CHECK_SYMBOL_EXISTS(gethostname "netdb.h" HAVE_LIBNSL)

...
2003-03-28 13:42:34 -05:00
Bill Hoffman f4ebc1f15f Fix gnu c and Sun CC mix 2003-03-27 13:03:30 -05:00
Andy Cedilnik 4a2d04f42a Prevent CMake from putting ; in the file 2003-03-16 20:33:51 -05:00
Andy Cedilnik e727d34b48 More variables advanced 2003-03-16 20:25:14 -05:00
Andy Cedilnik b23b592ca6 Add gthread library 2003-03-16 20:23:55 -05:00
Bill Hoffman 858056bbc3 BUG: bad if statement order 2003-03-14 15:44:20 -05:00
Bill Hoffman 0f89043568 force c++ for c++ files 2003-03-14 12:00:50 -05:00
Brad King 284071e3fa BUG: Don't use -nostdlib option to link shared libraries. Just use gcc -shared, even for C++ libraries. 2003-03-13 15:46:19 -05:00
Bill Hoffman 229355764b BUG: fix test not to run every time 2003-03-11 17:35:23 -05:00
Andy Cedilnik 2c676d0587 On borland and cygwin remove .EXE 2003-03-06 15:32:40 -05:00
Brad King 98d10a42d3 BUG: Should test HAVE_<VARIABLE> before repeating test, not just whether <VARIABLE> is set. 2003-03-06 10:32:43 -05:00
Andy Cedilnik 66dfe6f83a Add Update and configure steps where missing 2003-03-03 13:58:14 -05:00
Andy Cedilnik ac4361b8d9 Start cleaning global namespace 2003-03-03 09:32:45 -05:00
Andy Cedilnik e71b03cbf0 Fix update date and cleanup 2003-02-28 12:42:50 -05:00
Andy Cedilnik d2faa22732 On windows but not on borland, look at cmake_build_tool instead of compiler to determine build name. Otherwise they will all be cl 2003-02-27 14:48:33 -05:00
Andy Cedilnik e68b4b9bc7 Use more condense buildname. If this works fine we can make cmBuildName command deprecated 2003-02-27 11:54:03 -05:00
Andy Cedilnik 99fd8062c4 Use simple defaults if DartConfig does not exist. This way you can use dart to build any project 2003-02-20 17:38:16 -05:00
Bill Hoffman 02be31b860 BUG: look for msdev in the right place 2003-02-20 10:44:58 -05:00
Bill Hoffman e427844722 remove commented code 2003-02-20 08:41:33 -05:00
Brad King d78a4bab8c BUG: Removed use of cmake 1.4 compatability variable. 2003-02-19 17:10:08 -05:00
Andy Cedilnik 9ca8035fc6 Fix return value problem 2003-02-17 10:30:13 -05:00
Bill Hoffman d9a74e1b1e ENH: move full path compiler to internal and not just advanced 2003-02-14 10:40:00 -05:00
Bill Hoffman ae5a80c795 spelling errors 2003-02-14 09:54:15 -05:00
Andy Cedilnik fd89ebbbaf Ok, now it finds JNI on Mac OSX 10.2 2003-02-11 14:49:11 -05:00
Andy Cedilnik 5a31a94f84 Fix typo 2003-02-11 13:56:35 -05:00
Andy Cedilnik a6c2c80757 Add missing location 2003-02-11 13:53:30 -05:00
Andy Cedilnik 8e105e0a9f Improve searching for java files on OSX 2003-02-11 13:37:19 -05:00
Brad King d2ef193a31 Moving this very specific module to VTK. 2003-02-11 09:50:22 -05:00
Bill Hoffman c07e94867f clean up check for for scope test 2003-02-10 21:56:32 -05:00
Brad King 1628b593d3 BUG: Copying _LIB_DEPENDS variables requires double-quoted argument. 2003-02-07 16:29:13 -05:00
Bill Hoffman e0d166ec72 fix default release flags for hp 2003-02-05 14:55:51 -05:00
Bill Hoffman bec6a7076a move cmake install out of advanced 2003-02-04 15:37:47 -05:00
Berk Geveci c8daa038c2 Created modules for Mesa headers and libraries. 2003-02-04 14:37:33 -05:00
Bill Hoffman 15fc30ae40 ENH: add checking for NOTFOUND 2003-01-31 15:01:37 -05:00
Bill Hoffman 81aee11c21 ENH: add checking for NOTFOUND 2003-01-31 14:39:49 -05:00
Andy Cedilnik c4bf103772 Remove extra quote 2003-01-30 14:34:16 -05:00
Andy Cedilnik d530fbe731 Attempt to fix build problem on some platforms 2003-01-29 09:06:46 -05:00
Bill Hoffman e44be57f6d ENH: change FIND_FILE to FIND_PROGRAM 2003-01-28 15:44:45 -05:00
Andy Cedilnik a3c282ebbd Make things work on unix and add DVIPDF 2003-01-28 08:53:27 -05:00
Brad King 415eca1fbb BUG: Added missing link flag to export symbols from an executable. 2003-01-24 13:53:21 -05:00
Sebastien Barre 9111244018 no message 2003-01-23 10:42:06 -05:00
Sebastien Barre 4220725f64 FIX:
- rename some entries (COMPILE -> COMPILER, and the converters -> _CONVERTER)
- make sure that Window system are given a chance to find Latex and the converters if MikTex and GhostScript are installed (but not in the PATH)
2003-01-23 10:37:46 -05:00
Sebastien Barre 37f7074269 FIX: the current version of Perl is 5.8 2003-01-23 10:36:35 -05:00
Ken Martin b05c5e89ed minor change to default compile flags 2003-01-22 14:59:46 -05:00
Ken Martin fde48d14fd merge from branch 2003-01-22 14:49:45 -05:00
Bill Hoffman ac888a15c8 moved to c++ command 2003-01-22 14:13:40 -05:00
Bill Hoffman 950399ec9d ENH: only run test for working c and cxx compiler once 2003-01-22 12:29:37 -05:00
Ken Martin 56acc4bf2e merge from branch 2003-01-22 11:21:28 -05:00
Ken Martin afa71d1e53 removed since no longer used 2003-01-22 11:16:35 -05:00
Ken Martin 7f336be820 merge branch change into main tree 2003-01-22 11:11:41 -05:00
Brad King 0b324df1bb ENH: Updated documentation. 2003-01-21 15:03:56 -05:00
Andy Cedilnik 6c9d1983d7 This list can be really long. Only display the variable name 2003-01-21 14:01:41 -05:00
Bill Hoffman 2f4ea98a4c add a fatal error, and make sure c and c++ compilers work before using them 2003-01-21 12:50:48 -05:00
Bill Hoffman 110bc04bd0 use export all symbols on cygwin 2003-01-21 12:41:22 -05:00
Sebastien Barre 5e366c361d IMPORTANT FIX: be extra-careful here on WIN32, we do NOT want CMake to look in the system's PATH env var to search for ImageMagick's convert.exe, otherwise it is going to pick Microsoft Window's own convert.exe, which is used to convert FAT partitions to NTFS format ! Depending on the options passed to convert.exe, there is a good chance you would kiss your hard-disk good-bye. 2003-01-21 10:59:48 -05:00
Will Schroeder ece369eaf3 BUG: fix missed CMAKE to X11 variable name 2003-01-20 14:39:03 -05:00
Brad King f18e47c40a BUG: Fix for application of expand-list-variables. 2003-01-17 18:14:40 -05:00
Brad King 94a8d00199 ENH: Adding FIND_AND_IMPORT_CMAKE_PROJECT macro. 2003-01-17 17:19:23 -05:00
Luis Ibanez b20d232855 FIX: Quotes added around the list of libs to be added in Apple. 2003-01-16 13:31:35 -05:00
Luis Ibanez e3f681937f ENH: Platform dependent libraries added for APPLE. 2003-01-16 13:24:49 -05:00
Bill Hoffman f519f14972 ENH: fix for borland and cygwin 2003-01-16 12:38:53 -05:00
Luis Ibanez 81c9994343 ENH: Libraries are not marked as ADVANCED now. 2003-01-15 18:28:14 -05:00
Bill Hoffman 724c74122f BUG: fix for OSX with x11 gl stuff 2003-01-15 15:02:21 -05:00
Bill Hoffman c01253a58f BUG: fix flags for borland link shared and module 2003-01-15 13:22:50 -05:00
Bill Hoffman 4cd69a3a2f quote the variable 2003-01-15 13:12:56 -05:00
Bill Hoffman 7f91fc35a2 look for cygtcl83 2003-01-15 11:59:50 -05:00
Ken Martin 6c61762b0f merge from branch 2003-01-13 10:11:23 -05:00
Ken Martin c6323d154b fixed typo 2003-01-13 09:24:37 -05:00
Andy Cedilnik d87595ede3 Add macro for checking if symbol exists 2003-01-12 22:28:32 -05:00
Ken Martin 382d0d4474 better fix for win32 2003-01-09 15:54:29 -05:00
Ken Martin 75856e1762 update to not put PROJECT_SOURCE_DIR as OPENGL_PATH 2003-01-09 14:00:44 -05:00
Ken Martin dfa4cbd19e minor fix to backw compat 2003-01-09 11:34:45 -05:00
Ken Martin 6593700f09 added big endian stuff 2003-01-09 08:50:00 -05:00
Bill Hoffman 4d6dba4c37 ENH: only force the use of ansi flags in backwards mode 2003-01-08 12:12:15 -05:00
Andy Cedilnik 69762f4d99 Fix FindX11 to match convention 2003-01-08 11:45:48 -05:00
Brad King 4ad8af53ab ENH: Added shared library settings. 2003-01-06 09:32:27 -05:00
Bill Hoffman 3da465e24f ENH: look for AIX compiler as well 2003-01-06 09:04:18 -05:00
Bill Hoffman 578883ce64 add shared path for OSF 2003-01-06 08:39:21 -05:00
Bill Hoffman b36d6b89f1 BUG: revert back to rpath, 2003-01-05 11:24:36 -05:00
Andy Cedilnik cf81ec9a39 Remove debug 2003-01-03 20:26:20 -05:00
Andy Cedilnik 668b3f3cea Fix problems with required flags 2003-01-03 20:03:35 -05:00
Andy Cedilnik e720b84d6b Add required flags 2003-01-03 19:23:19 -05:00
Brad King 624a222df3 ENH: Find python framework on Mac OSX. 2003-01-03 17:36:34 -05:00
Bill Hoffman ad6fb55653 try to fix rpath on OSF 2003-01-03 16:23:47 -05:00
Bill Hoffman 39e43360ea BUG: bad rpath flag for suns 2003-01-03 08:12:58 -05:00
Brad King 0a14f69755 BUG: Don't add -I/usr/include as an X_CFLAGS setting. 2003-01-02 09:57:59 -05:00
Brad King 204308132f BUG: Fixed ordering of X11 search. 2003-01-02 09:57:42 -05:00
Bill Hoffman bdaf74b561 clean up some c/cxx issues 2003-01-02 08:52:39 -05:00
Bill Hoffman 7773f9ed22 clean up some c/cxx issues 2003-01-02 08:51:23 -05:00
Andy Cedilnik de00883c41 Add macro for checking if a swequence of includes can be includes 2003-01-01 18:00:49 -05:00
Andy Cedilnik c8e546a353 To prevent cmake from breaking up arguments, put quotes around them 2003-01-01 16:25:26 -05:00
Andy Cedilnik 5e48ccac35 Add a way to add custom libraries to the mix. Also add status reporting 2003-01-01 15:02:47 -05:00
Andy Cedilnik 6d5c437045 Add a way to add custom libraries to the mix 2003-01-01 15:02:20 -05:00
Brad King 61cd9298cd ENH: Added <LINK_FLAGS> to link rules. 2002-12-31 13:08:44 -05:00
Bill Hoffman bf6730b03a ENH: fix shared libraries on AIX 2002-12-30 11:48:33 -05:00
Brad King ea1467d056 ENH: Renamed Modules/CheckSizeOf to Modules/CheckTypeSize for consistency with the macro name that is defined by the module. 2002-12-30 11:02:31 -05:00
Yves Starreveld 1bf59ded66 ENH: find python framework and include files on OSX 2002-12-27 11:14:52 -05:00
Andy Cedilnik fc52954023 If there is no java compiler report error on ADD_JAVA_LIBRARY 2002-12-26 19:59:21 -05:00