Commit Graph

1382 Commits

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