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