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