Commit Graph

1435 Commits

Author SHA1 Message Date
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