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