Commit Graph

1590 Commits

Author SHA1 Message Date
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
Bill Hoffman 89fb18f548 ENH: fix for qtmain 2006-08-01 15:48:44 -04:00
Brad King c9506c30f0 BUG: Fixed shared library version support for Fortran. This addresses bug#3558. 2006-08-01 15:36:49 -04:00
Bill Hoffman 612d2f667b ENH: fix for location of error log 2006-08-01 15:24:46 -04:00
Bill Hoffman b2ebcb5eb3 ENH: add QtCored as a possible name for qtcore debug 2006-08-01 14:34:53 -04:00
Brad King 1a7172acdf BUG: Fix usage of FIND_PROGRAM command. 2006-08-01 14:10:05 -04:00
Bill Hoffman 1b58308b98 ENH: fix for optimized debug stuff 2006-08-01 12:27:53 -04:00
Bill Hoffman 7776d18896 ENH: fix qtmain for release 2006-08-01 11:26:32 -04:00
Bill Hoffman 4cafb72616 ENH: fix qtmain for release 2006-08-01 10:51:17 -04:00
Bill Hoffman c75fb61f3c ENH: put back find qtmain 2006-08-01 09:12:18 -04:00
Andy Cedilnik e49b93989d COMP: More warnings and hp issues 2006-07-26 14:10:14 -04:00
Bill Hoffman 45d85c2e34 BUG: fix for 3550 again 2006-07-26 13:19:34 -04:00
Andy Cedilnik a9c0929d39 COMP: Handle both ansi and non-ansi C 2006-07-26 11:46:22 -04:00
Bill Hoffman 47ef504530 BUG: fix for bug 3550, for release builds do not build incremental 2006-07-26 11:15:28 -04:00
Bill Hoffman 2523629f4b ENH: fix for case difference with nmake 2006-07-24 16:58:05 -04:00
Ken Martin e206d58027 BUG: fix for CXX only projects 2006-07-24 16:13:33 -04:00
Brad King 592f602c98 BUG: CMAKE_AR should be advanced. 2006-07-22 08:11:30 -04:00
Brad King 3c9744f406 ENH: Applying patch from bug#3443 to implement FindwxWidgets.cmake properly. It also updates the UseWX test and WXDialog sources to use the new find script. 2006-07-21 15:43:19 -04:00
Brad King 46d266047c ENH: Added documentation about XXX_FIND_COMPONENTS for FIND_PACKAGE. 2006-07-21 15:16:23 -04:00
Brad King ef6cf109ed ENH: Adding FindBoost.cmake module from Andrew Maclean. This addresses bug#3447. 2006-07-21 12:04:05 -04:00
Brad King d56e6a9241 BUG: Fixed building of C++-only projects and added a test. 2006-07-21 11:53:23 -04:00
Brad King 48571e9d80 STYLE: Added note about singular versus plural name for XXX_INCLUDE_DIRS. Added XXX_LIBRARY_DIRS and XXX_YY_INCLUDE_DIR conventions. 2006-07-18 13:16:38 -04:00
Andy Cedilnik e36ae0fcb8 ENH: Several cleanups and support for multiple generators 2006-07-09 13:20:07 -04:00
Andy Cedilnik cf80510ac5 ENH: On apple do not look for X11 2006-07-05 16:21:24 -04:00
Andy Cedilnik 1cf4d146fc ENH: Merge debian changes. Support more fortran extensions 2006-07-04 11:06:38 -04:00
Alexander Neundorf 205635dcd5 ENH: prefer kde4-config over kde-config, since for KDE 4 kde-config will be
renamed to kde-config, and so cmake has to prefer this one over the old
version

Alex
2006-07-04 08:38:47 -04:00
Brad King ba539d9605 BUG: Make sure try-compile source ends in a newline. 2006-06-28 17:00:31 -04:00
Ken Martin e026f620f8 BUG: fix typo 2006-06-28 15:15:01 -04:00
Andy Cedilnik e0e57a41fd ENH: Default drop method http 2006-06-23 07:08:37 -04:00
Brad King 6207dc41bd ENH: Do not search for X11 if it is already found. 2006-06-19 10:07:44 -04:00
Andy Cedilnik 63c241ea1e ENH: Updates from KDE 2006-06-16 14:45:47 -04:00
Bill Hoffman 9ab387b7d9 ENH: add a comment 2006-06-15 21:43:59 -04:00
Ken Martin 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 2006-06-14 12:28:32 -04:00
Andy Cedilnik 0964cb6c64 ENH: Add support for overwriting the name of the file CPackConfig.cmake and CPackSourceConfig.cmake 2006-06-12 14:21:36 -04:00
Ken Martin 77b401ddb2 ENH: removed logo info from the manifest tool 2006-06-12 13:17:47 -04:00
Alexander Neundorf 97c5324534 BUG: don't append to ZLIB_NAMES
ENH: also check for zdll on windows
ENH: honor REQUIRED and QUIETLY

Alex
2006-06-09 15:49:27 -04:00
Brad King 81b778c074 ENH: Adding advanced option CMAKE_COLOR_MAKEFILE for makefile generators with default ON. 2006-05-25 14:16:28 -04:00
Bill Hoffman 9704c8f8c3 ENH: add qtmain to findqt 2006-05-25 11:56:49 -04:00
Ken Martin 60ebc57227 ENH: remove debugging output 2006-05-25 10:21:46 -04:00
Brad King 859db10e2a ENH: Add ability to find VTK 5 without user help. 2006-05-23 10:40:40 -04:00
Alexander Neundorf a86c766d2a BUG: kde3: use QT_UIC_EXECUTABLE instead of simply uic
BUG: use qouting for the path to Qt4 moc and uic, should help with paths
with spaces

Alex
2006-05-19 16:57:49 -04:00
Brad King 095e975c81 BUG: Fix signature of main to work on both strict ANSI and non-ANSI C compilers. 2006-05-18 10:28:12 -04:00
Bill Hoffman 52a6524dbf ENH: check return value for uname -p 2006-05-14 20:17:41 -04:00
Bill Hoffman 21564b4d61 ENH: check return value for uname -p 2006-05-14 17:42:27 -04:00
Bill Hoffman 58d0d056c4 ENH: remove bad quoteed code 2006-05-12 10:56:12 -04:00
Bill Hoffman 2c80b0fa70 ENH: fix path problem with qt 2006-05-12 09:47:26 -04:00
Alexander Neundorf 60988dd8a2 ENH: honor REQUIRED flag
Alex
2006-05-11 18:32:40 -04:00
Alexander Neundorf 97fcff2445 ENH: use the new FILE(TO_CMAKE_PATH ...) command instead of regexps
BUG: append the kde 4 cmake module path instead of prepending it

Alex
2006-05-11 18:27:13 -04:00
Bill Hoffman 6e64163019 ENH: fix for bug 3216 allow full path to qt input files 2006-05-11 10:41:42 -04:00
Andy Cedilnik a90e97e970 BUG: Prevent stripping of sources 2006-05-10 17:26:57 -04:00
Bill Hoffman 5b3a2c84fc ENH: use radio buttons to choose PATH options 2006-05-10 12:15:00 -04:00
Andy Cedilnik e1b163d4db ENH: Some cleanups and fix installing as a non-admin 2006-05-08 13:34:16 -04:00
Bill Hoffman d2cb6fec6f ENH: try to find qt3 better 2006-05-07 13:04:57 -04:00
Bill Hoffman f08b1a2c96 ENH: add the flag for creating windows gui's 2006-05-05 21:49:02 -04:00
Bill Hoffman e0924bbb16 ENH: fix windows path issue 2006-05-05 15:04:39 -04:00
Andy Cedilnik 96d4a89228 ENH: Better output 2006-05-03 16:24:14 -04:00
Bill Hoffman 0cfda4a7f0 ENH: use correct flags for optimization 2006-05-03 09:23:57 -04:00
Bill Hoffman 38373b5d4c ENH: fix qt version detection 2006-05-02 14:04:26 -04:00
Ken Martin 3023eb7ccb ENH: Makefile performance improvements 2006-05-02 09:56:42 -04:00
Andy Cedilnik a8bb20dce5 ENH: Add license and make it more verbose 2006-05-01 14:23:15 -04:00
Andy Cedilnik f816c4e09b ENH: Handle the no-icon case 2006-04-30 03:10:55 -04:00
Andy Cedilnik de4127cdda ENH: Add more install registry options 2006-04-29 20:01:34 -04:00
Andy Cedilnik 619ebce6cf ENH: Add NSIS options page for path selection, fix adding and removing from path, add welcome page and license page 2006-04-29 19:22:21 -04:00
Andy Cedilnik cd09448a53 ENH: Allow overwriting CTestConfig.cmake items 2006-04-28 09:58:15 -04:00
Andy Cedilnik 8d2c78f43c ENH: Better support for adding and removing path 2006-04-27 16:20:07 -04:00
Alexander Neundorf 64cf77f823 ENH: use the ADD_FILE_DEPENDENCIES() macro coming with cmake instead a
duplicated implementation _qt4_add_file_dependencies() here

Alex
2006-04-27 15:14:25 -04:00
Alexander Neundorf f59ad1aa6e ENH: -apply the patches by Clinton Stimpson and Kenneth Moreland which fix
some QtMain issues on Windows
ENH: -sync with KDE svn FindQt4, which features a lot of enhancements

Alex
2006-04-27 15:07:23 -04:00
Andy Cedilnik f0e2563cc6 BUG: Use the extra definicions 2006-04-27 10:55:52 -04:00
Andy Cedilnik 4e9564a0f1 ENH: Propagate system name and handle win32/win64 name 2006-04-23 19:45:43 -04:00
Andy Cedilnik 8bb82f430c ENH: Add a line to Add/Remove programs to uninstall 2006-04-23 18:23:42 -04:00
Alexander Neundorf d184c10c69 BUG: finally really fix #2576 by adding UseEcos.cmake to cvs :-)
Alex
2006-04-23 08:08:46 -04:00
Alexander Neundorf 3eb75cdc76 BUG: fix QT_MIN_VERSION handling, it didn't work anymore (qt_version_str vs.
qt_version_str_lib)

Alex
2006-04-23 07:23:57 -04:00
Andy Cedilnik 4e4ae3624b BUG: Fix the missing nightly start time bug and do some cleanup 2006-04-21 14:36:48 -04:00
Andy Cedilnik b9947a91d4 ENH: Cleanup link libraries. Remove -l from -ldl 2006-04-20 10:23:17 -04:00
Bill Hoffman 013f6d6b5f ENH: append to log files 2006-04-19 17:23:23 -04:00
Bill Hoffman e6ef33f598 ENH: name pdb files for visual studio make based builds 2006-04-19 16:36:14 -04:00
Bill Hoffman f2e2f23392 ENH: unix makefiles should work with cl 2006-04-19 15:29:19 -04:00
Bill Hoffman 4a20d4fe39 ENH: don't need two of these 2006-04-19 11:14:00 -04:00
Bill Hoffman 96c140e281 ENH: test for vs8 correctly 2006-04-19 10:56:54 -04:00
Bill Hoffman 0b490110ba ENH: check for version 1400 2006-04-19 10:11:43 -04:00
Brad King 9db4220671 BUG: Need to ignore source packaging of #*# files created by emacs during editing. 2006-04-18 10:01:37 -04:00
Andy Cedilnik 4709c76f0f ENH: More cleanups and add stgz header script, so it does not have to be hard-coded. Also, the user can overwrite it 2006-04-18 08:25:24 -04:00
Bill Hoffman d71f723b11 ENH: fix find x11 on the mac 2006-04-17 15:55:24 -04:00
Bill Hoffman 5ecfd3d4d3 ENH: fix java and add OBJECT_DIR support 2006-04-17 14:01:22 -04:00
Bill Hoffman c80faed7f6 ENH: add mingw test to cxx 2006-04-17 13:57:34 -04:00
Bill Hoffman b4c7f843f9 ENH: add windows apps to mingw 2006-04-17 13:57:08 -04:00
Andy Cedilnik c09c3c6bfa ENH: Support for packaging source, several cleanups and more yeehaa... 2006-04-15 13:02:18 -04:00
Bill Hoffman f7f05bee76 ENH: make sure frameworks are not searched for x header files 2006-04-14 15:08:25 -04:00
Andy Cedilnik c836be6f7b ENH: Start adding support for packaging component and to package into a subdirectory 2006-04-14 08:58:13 -04:00
Bill Hoffman cae4e6b37a ENH: add patch for finding applications on OSX 2006-04-13 11:00:52 -04:00
Brad King 08289893b8 ENH: Split CMAKE_STANDARD_LIBRARIES into per-language variables CMAKE_<lang>_STANDARD_LIBRARIES. This is needed to get programmable language support working with Visual Studio generators. It makes sense anyway. 2006-04-11 16:55:49 -04:00
Bill Hoffman 51f91db648 ENH: add correct flags for msvc generators 2006-04-10 13:46:37 -04:00
Andy Cedilnik bad1215a85 ENH: Add support for preinstall for cmake generated projects when packaging them 2006-04-10 13:44:39 -04:00
Andy Cedilnik 0bad15c302 ENH: Deprecate CPACK_BINARY_DIR and add CPACK_INSTALL_CMAKE_PROJECTS 2006-04-10 11:09:52 -04:00
Bill Hoffman bcfd6f7f69 ENH: add better variables for MSVC versions 2006-04-07 16:46:41 -04:00
Andy Cedilnik ccf1eed298 ENH: Allow to overwrite CPACK_BINARY_DIR 2006-04-07 16:35:28 -04:00
Bill Hoffman 58538732be ENH: add search directories for 32 bit devenv from a 64bit cmake 2006-04-04 17:27:03 -04:00
Brad King f0e8c750d1 BUG: Fixed order of options to cl for 32-bit/64-bit test to work with VS 6 NMake. 2006-03-30 16:55:19 -05:00
Bill Hoffman 5a2668b326 ENH: add support for win64 for visual studio 2005 ide and nmake, also fix warnings produced by building for win64 2006-03-30 13:49:56 -05:00
Bill Hoffman dfbee4a92a ENH: use correct name for path 2006-03-29 16:34:50 -05:00
Alexander Neundorf 0d540b31e0 STYLE: better error message when KDE4 hasn't been found
Alex
2006-03-28 13:07:09 -05:00
Andy Cedilnik 40272a16bd ENH: Add support for adding content to bundles 2006-03-28 08:54:01 -05:00
Bill Hoffman 53ab2aa6af ENH: add /opt/local/include 2006-03-27 12:21:43 -05:00
Bill Hoffman a64f629140 ENH: add unix paths 2006-03-27 11:09:19 -05:00
Bill Hoffman d33021924d ENH: add more search paths and add UnixPaths to all unix platforms 2006-03-27 10:46:42 -05:00
Brad King a18297e2ca ENH: Updated implementation to use new FIND_* command power. The correct library is now found on MinGW also. 2006-03-24 14:47:25 -05:00
Brad King a59dd5d4c3 BUG: Fix '/use/lib' to be '/usr/lib'. 2006-03-24 14:15:10 -05:00
Bill Hoffman f7c1723135 ENH: add support for universal binaries 2006-03-24 09:15:05 -05:00
Andy Cedilnik 36e2728431 ENH: Cleanup bootstrap even more 2006-03-22 11:15:35 -05:00
Brad King 0376fe4b9b ENH: Added support for linking to MS .lib libraries in MinGW. 2006-03-22 11:10:58 -05:00
Andy Cedilnik 539c7ba6af ENH: Handle visual studio versions 2006-03-21 16:58:41 -05:00
Alexander Neundorf 6690a252ab BUG: put the path to the kde3 lib dir in KDE3_LIB_DIR, not the complete
libkdecore.so

Alex
2006-03-21 12:56:01 -05:00
Alexander Neundorf a980fdc96a BUG: don't include MacroLibrary.cmake, but add a cmake module which implements ADD_FILE_DEPENDENCIES()
ENH: mark the variables from FindPNG.cmake as advanced

Alex
2006-03-20 12:29:56 -05:00
Alexander Neundorf 263de48025 STYLE: fix typos
Alex
2006-03-18 12:16:20 -05:00
Brad King 88f69f0df9 BUG: /DWIN32 and /D_WINDOWS should be defined for all configurations or if no configuration is set. 2006-03-16 17:40:48 -05:00
Brad King dbe7d39738 BUG: When copying the module variables from shared library variables use double quotes for the required definitions ...PREFIX and ...SUFFIX to make sure a value is set even if it is empty. 2006-03-16 17:07:36 -05:00
Alexander Neundorf 779851f213 ENH: after searching for kde-config in the special dirs, search again in the
standard dirs
BUG: handle paths on windows correctly

Alex
2006-03-16 15:53:11 -05:00
Brad King 8e137c54d6 ENH: Enabling soname support on FreeBSD. 2006-03-16 11:15:24 -05:00
Bill Hoffman 44e6852322 ENH: use c not cxx 2006-03-15 14:14:03 -05:00
Alexander Neundorf d41587b671 BUG: change the formatting of the pkgconfig module documentation so that it
doesn't crash some versions of konqueror (fixed with current konqy)

Alex
2006-03-15 13:20:03 -05:00
Bill Hoffman 1aecb478d6 ENH: go back to finding the framework opengl on the mac 2006-03-14 16:38:52 -05:00
Bill Hoffman c685c96b29 ENH: use standard include path for OpenGL 2006-03-14 15:19:37 -05:00
Bill Hoffman 88bd3b5281 ENH: add support for removing language flags from shared library and shared module link commands 2006-03-14 14:03:16 -05:00
Bill Hoffman 009b3cbb12 ENH: add backwards compatibility fix for more aggressive find_path command 2006-03-13 13:11:50 -05:00
Bill Hoffman 4ce8f43b71 ENH: take advantage of new framework stuff 2006-03-11 12:43:26 -05:00
Alexander Neundorf 1ef5bdf669 ENH: new module to find the FindKDE4Internal.cmake installed by kdelibs4
Alex
2006-03-10 11:58:44 -05:00
Bill Hoffman 15b5869b46 ENH: add correct initial flags for aix 2006-03-09 15:00:37 -05:00
Bill Hoffman 14cb9c5aff ENH: remove junk 2006-03-09 14:57:55 -05:00
Alexander Neundorf d253baab99 ENH: add real-world-tested and used KDE3 support, and obsolete FindKDE.cmake, which wasn't used by anybody that I heard of
Alex
2006-03-09 14:10:59 -05:00
Bill Hoffman cb95c0a5bc ENH: fix a bug in the find path stuff so that it can find headers deep in frameworks 2006-03-09 11:35:38 -05:00
Alexander Neundorf 6dd39ceaa0 ENH: add a cmake module for using pkg-config, tested in kdelibs, ok by Bill Hoffman
Alex
2006-03-08 17:11:01 -05:00
Bill Hoffman 592aef9703 ENH: add support for language flags that allow for universal binaries 2006-03-06 15:14:53 -05:00
Bill Hoffman 3f532f5489 ENH: add support for language flags at rule expansion time 2006-03-06 15:14:23 -05:00
Bill Hoffman 36080b04bb ENH: add support for manifest stuff 2006-03-06 15:01:08 -05:00
Bill Hoffman e037fbaf7d ENH: try to fix non-clean dashboards 2006-03-06 14:08:15 -05:00
Bill Hoffman ea8c278cd6 ENH: add manifest support for 2005 2006-03-03 12:01:04 -05:00
Bill Hoffman deece7eed0 ENH: look for VCExpress first 2006-03-03 12:00:00 -05:00
Andy Cedilnik a460c60843 ENH: Add verbose flag to package maker and add CFBundleIdentifier string 2006-03-03 10:52:26 -05:00
Bill Hoffman a5825cd11a ENH: check in new find stuff 2006-03-02 13:30:22 -05:00
Bill Hoffman 2f78d874a7 ENH: fix for bug 2921, move _OVERRIDE variable to a better position to allow changing _INIT variables 2006-03-02 07:52:52 -05:00
Andy Cedilnik b1b052fd23 ENH: Several changes to for NSIS 2006-03-01 15:00:07 -05:00
Andy Cedilnik 4077d6d80c ENH: Install system libraries only if project requires them 2006-03-01 13:15:44 -05:00
Andy Cedilnik b25820ebd4 ENH: Add resource files for PackageMaker 2006-02-28 14:18:13 -05:00
Andy Cedilnik b5b06cfaf6 BUG: Fix typo 2006-02-28 11:14:16 -05:00