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