Commit Graph

2066 Commits

Author SHA1 Message Date
Miguel A. Figueroa-Villanueva 973b03994a BUG: Fixed incorrectly matched FOREACH (7008). 2008-06-13 16:33:29 -04:00
Brad King e2ec3b671b ENH: Cleanup Find* modules with new HINTS feature
- The find_* commands now provide a HINTS option.
  - The option specifies paths to be preferred over the system paths.
  - Many Find* modules were using two find calls with NO_DEFAULT_PATH
    to approximate the behavior, but that blocked users from overriding
    things with CMAKE_PREFIX_PATH.
  - This commit uses the HINTS feature to get desired behavior in
    only one find command call.
2008-06-09 16:04:06 -04:00
Alexander Neundorf 0543448907 STYLE: apply patch from Thomas Klausner (NetBSD): use "=" for testing
strings for equality instead of "=="

This also matches what the man page for test says
"s1 = s2       True if the strings s1 and s2 are identical."

Alex
2008-06-09 15:50:11 -04:00
Clinton Stimpson dcdcd00ffa BUG: Fix for #7118.
Relative paths going outside the current source dir resulted in badly
      placed moc source files in the build dir (or out of the build dir).
2008-06-06 01:36:39 -04:00
Clinton Stimpson 7676ac8891 ENH: Some Linux distros don't install xorg-devel, png-devel, etc... when
qt4-devel is installed.  Finding them was required to support building
      against static Qt.  Changing it so they are ignored if not found.
2008-06-03 10:29:11 -04:00
Eric Wing db59f49ecf BUG: fixed Lua50 to be Lua51 in FIND_PACKAGE_HANDLE_STANDARD_ARGS call. 2008-06-02 14:53:27 -04:00
Clinton Stimpson ec1cf2f621 ENH: Find debug libs from static Qt on Windows. 2008-05-26 11:17:45 -04:00
Bill Hoffman c3bc99d5a1 ENH: use PATHS keyword 2008-05-23 15:25:26 -04:00
Brad King 40d06f542c ENH: Extend previous patch from Mathieu Malaterre to apply override to the build tool also. 2008-05-21 14:02:40 -04:00
Clinton Stimpson db52ce45fa ENH: Make Qt not found if the QtCore library can't be found.
Also report an error when trying to use MSVC with Qt built by mingw.
2008-05-21 13:36:37 -04:00
Clinton Stimpson e8af880a7d ENH: Similar to how qmake does it...
Don't add compile flags for dependent modules the user didn't specify.
      But still add the link libs.  This reduces the number of
      unecessary compile flags.
2008-05-19 18:07:00 -04:00
Brad King e0b26f4aea BUG: Fixes for FindSubversion
- Split log out from Subversion_WC_INFO into Subversion_WC_LOG
  - Fix report of log info to be in <var-prefix>_WC_LAST_CHANGED_LOG
    as documented (instead of Subversion_LAST_CHANGED_LOG)
  - Fix setting of LC_ALL environment variable to be inside macro
  - Patch from Tanguy Krotoff
  - See issue #7047
2008-05-19 10:03:59 -04:00
Brad King 1203774d52 ENH: Add basic flags for Portland Group fortran compiler. 2008-05-17 17:35:35 -04:00
Brad King c1b8ad4e1d ENH: Allow users to specify a custom Info.plist template
- Create MACOSX_BUNDLE_INFO_PLIST target property to specify template.
  - Look for MacOSXBundleInfo.plist.in in CMAKE_MODULE_PATH by default.
  - See issue #6983.
2008-05-17 12:53:56 -04:00
Brad King 5515515086 ENH: Add Linux-PGI-Fortran platform file to support the Portland Group Fortran compiler (PGI). 2008-05-16 17:56:43 -04:00
Brad King 0c6ba12efd ENH: Teach Fortran compiler identification about the Portland Group compiler (PGI). 2008-05-16 17:50:24 -04:00
Alexander Neundorf 3e6decf312 BUG: make the toolchain-prefix recognition work with prefixes which contain
dots (as in arm-unknown-nto-qnx6.3.0-gcc.exe), NAME_WE returns only up to
the 6, instead of everything in front of the .exe

Alex
2008-05-15 12:07:43 -04:00
Bill Hoffman 8d88da106f BUG: if CPACK_NSIS_MODIFY_PATH was OFF then the PATH was automatically modified 2008-05-13 16:57:49 -04:00
Alexander Neundorf 83c3bf7acc STYLE: use IF(NOT ...) instead of IF() ELSE() ... ENDIF()
Alex
2008-05-12 18:11:42 -04:00
Alexander Neundorf 3a738a49c3 BUG: fix #6375: print the variables which were not found, so it's easier to
see what went wrong

Alex
2008-05-11 05:12:16 -04:00
Alexander Neundorf b837ade944 BUG: fix #6993
FindCurses.cmake is now almost exactly reverted back to the state when
CURSES_LIBRARY and CURSES_INCLUDE_PATH where set for compatibility but not
in the cache. It is important that CURSES_CURSES_LIBRARY and
CURSES_NCURSES_LIBRARY really contain the path to these files.
Later on CURSES_LIBRARY is set to the one of the two which will be
used as curses library. This is now done in the cache, without FORCE.
So preloading the cache still seems to work (at least what I tested).

Alex
2008-05-10 19:07:47 -04:00
Douglas Gregor a1f1b712c5 BUG: Fix FindBoost version variable names to correct bug in Boost version detection 2008-05-09 21:26:57 -04:00
Clinton Stimpson f4a299a11f ENH: Qt/Mac binary install puts QtCLucene library in a different place than the
normal Qt frameworks.  Let's find it.
2008-05-09 11:50:56 -04:00
Clinton Stimpson 30ff492aad ENH: Allow finding phonon and QtDBus on Mac. Fixes #6950. 2008-05-03 17:55:05 -04:00
Sebastien Barre 7dd720cebb ENH: X11_SM_LIB should be advanced as well 2008-05-03 15:27:40 -04:00
Bill Hoffman 36cf25e6a2 ENH: recognize vs 9 and possible 10 or greater when they come out... 2008-05-02 11:25:25 -04:00
Brad King 80d045b01e ENH: When GetPrerequisites.cmake runs dumpbin while running inside the VS IDE environment make sure the tool does not produce extra output. 2008-05-01 18:49:31 -04:00
Bill Hoffman 637596a157 BUG: remove typo 2008-04-30 15:53:33 -04:00
Bill Hoffman e29ca248a3 BUG: fix for 6918 ncurses should work without curses 2008-04-30 15:42:48 -04:00
Brad King a56e04593a ENH: Make /opt/SUNWspro/lib, /opt/SUNWspro/prod/lib, and /usr/ccs/lib implicit link directories on the Sun when using the SunPro compiler. 2008-04-30 14:13:11 -04:00
Bill Hoffman e1b2fb4c75 ENH: add more fortran flags 2008-04-30 11:33:54 -04:00
Bill Hoffman d4fdbeed64 ENH: allow users to set sysroot 2008-04-28 13:53:14 -04:00
Alexander Neundorf 9b02cf44a6 ENH: remove FindKDE.cmake, which was obsolete (i.e. disabled using SEND_ERROR) since cmake 2.4.0, agreed by Bill
Alex
2008-04-27 11:41:29 -04:00
Alexander Neundorf 7500dd50ef BUG: don't fail with FATAL_ERROR if REQUIRED was not used
Alex
2008-04-27 07:35:21 -04:00
Alexander Neundorf 4f961bce0a BUG: don't use CMAKE_MINIMUM_REQUIRED() in find modules, it can change the
policy settings done in the projects cmake files (and it doesn't make sense
since it is always part of the correct cmake version)

Alex
2008-04-26 13:25:07 -04:00
Bill Hoffman 779a2abda3 ENH: allow users to turn off extra checks 2008-04-25 10:47:34 -04:00
Bill Hoffman 7c6c8fc365 ENH: remove c flags from cxx config file 2008-04-25 09:49:42 -04:00
Bill Hoffman 764229b5a2 ENH: rename Linux-ifort to Linux-Intel-Fortran 2008-04-25 09:43:01 -04:00
Bill Hoffman 5f68965608 ENH: make sure all required headers are checked before checking type size 2008-04-25 09:09:06 -04:00
Bill Hoffman 6482d38bdf ENH: do not clear find variables 2008-04-25 09:07:02 -04:00
Bill Hoffman 0bc5e03dce ENH: do not force the intel ar on C from CXX 2008-04-24 22:00:08 -04:00
Bill Hoffman a3e1dde968 ENH: support intel compiler on linux 2008-04-24 21:54:13 -04:00
Douglas Gregor 629620f9d4 ENH: FindBoost always sets Boost_LIBRARY_DIRS when it finds the Boost libraries 2008-04-22 13:32:07 -04:00
Douglas Gregor d278ba74b5 ENH: Integrated FindBoost improvements changes from Andreas Pakulat, Mike Jackson, and myself 2008-04-22 13:14:51 -04:00
Bill Hoffman 7f5446b2ef BUG: fix for bug 6834 RC should not get all COMPILE_FLAGS from a target and should work the same way as it does in the vs ide 2008-04-22 11:10:19 -04:00
Douglas Gregor 7e5921eff4 BUG: As a last resort, FindMPI will look for mpi.h in the path 2008-04-22 09:54:23 -04:00
Douglas Gregor cecb98c618 BUG: Use -showme:incdirs and -showme:libdirs when we need them 2008-04-22 09:41:07 -04:00
Bill Hoffman a97a1426c0 ENH: fix FFFLAGS to be FLAGS 2008-04-22 09:35:23 -04:00
Alexander Neundorf 21578050a7 BUG: fix handling of assembler executable (with path) #6858
Alex
2008-04-21 18:51:55 -04:00
Bill Hoffman 20e9be907f ENH: use xiar for the intel compiler 2008-04-21 18:26:09 -04:00
Bill Hoffman aa10b4e33c ENH: fix init flags getting stuffed into the compile line by force. 2008-04-21 13:04:15 -04:00
Alexander Neundorf e20f1dd26c ENH: use a common CPACK_BINARY_ prefix for the binary package generators
Alex
2008-04-17 17:23:21 -04:00
David Cole 052b82c382 BUG: There are compiler problems with wxWidgets and INCLUDE_DIRECTORIES(SYSTEM ...) use on the Mac. Set variable wxWidgets_INCLUDE_DIRS_NO_SYSTEM on the Mac in FindwxWidgets.cmake to avoid these problems. 2008-04-16 11:31:13 -04:00
Brad King 820901dd13 ENH: Clarify message about checking for compiler ABI information. 2008-04-14 15:25:57 -04:00
Bill Hoffman 8350a17101 ENH: fix x11 launch script for leopord x11 is auto-started for us on that os. 2008-04-11 10:41:28 -04:00
Douglas Gregor 1100b52c7e ENH: Deal with 32-bit and 64-bit variants of Microsoft's MPI properly 2008-04-10 16:54:20 -04:00
Clinton Stimpson 44ce8ea362 BUG: Fix typo reported in #6790. 2008-04-10 10:01:01 -04:00
Bill Hoffman 7dcbe5e1f5 ENH: have jni look more places on linux 2008-04-08 16:09:36 -04:00
Clinton Stimpson 7d85462cc3 BUG: Fix problem with last patch when trying to take substr of shorter strings
than expected.  Fixes #6730.
2008-04-07 19:43:04 -04:00
Clinton Stimpson fcd09ca90f BUG: Fix 6726. Create correct moc rule for configured headers in binary dir. 2008-04-07 11:23:02 -04:00
Bill Hoffman 61af8d8b32 ENH: add vs9 mfc libraries 2008-04-03 12:29:11 -04:00
Bill Hoffman 05060801d9 BUG: make sure all paths extracted from qmake are converted to cmake paths because on windows they will have \ instead of / and you can get odd escaping errors 2008-04-02 11:05:51 -04:00
Alexander Neundorf 3e572f9bab STYLE: add documentation for QT4_CREATE_MOC and QT4_AUTOMOC (#6687)
Alex
2008-04-01 17:59:21 -04:00
Bill Hoffman 38a99f54e3 ENH: add CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA variable 2008-04-01 17:51:18 -04:00
Bill Hoffman d00476610d ENH: remove trailing space 2008-04-01 09:56:41 -04:00
Douglas Gregor 5b3e62c7bc ENH: Enhance FindMPI module by properly handling backward compatibility with the older module, adding documentation, and coping with multiple include and linker paths 2008-03-31 10:55:32 -04:00
David Cole b03c246a00 ENH: Add Intel compiler module files for the Mac. Thanks to Mike Jackson for contributing. 2008-03-31 08:04:12 -04:00
Alexander Neundorf fb8a779c43 STYLE: add a comma to make it better understandable, also use STATUS as the
other MESSAGE() calls do

Alex
2008-03-28 19:09:39 -04:00
Bill Hoffman e40fe909a6 ENH: allow deb to work without dpkg 2008-03-28 14:08:07 -04:00
Brad King db5582c32d ENH: Patch from Mathieu Malaterre to add documentation for his previous patch for CMakeImportBuildSettings. 2008-03-28 14:07:13 -04:00
Brad King d71c6ba49a ENH: Patch from Mathieu Malaterre to allow users to tell CMakeImportBuildSettings to not force compiler settings. 2008-03-28 13:26:31 -04:00
Bill Hoffman 79e581ab80 ENH: remove hard codeded arch 2008-03-28 11:49:48 -04:00
Bill Hoffman c761fd772f ENH: remove hard codeded arch 2008-03-28 11:47:24 -04:00
Bill Hoffman 7eeec39538 ENH: make this backwards compatible with older FindCurses 2008-03-28 10:12:01 -04:00
Bill Hoffman cb1cdada76 ENH: make this backwards compatible with older FindCurses 2008-03-28 10:08:27 -04:00
Clinton Stimpson e8b85ae12d ENH: Add QT_VERSION_MAJOR, QT_VERSION_MINOR, QT_VERSION_PATCH variables. 2008-03-27 15:18:35 -04:00
Alexander Neundorf 6502177306 ENH: use CPACK_PACKAGE_VERSION instead of
CPACK_PACKAGE_VERSION_MAJOR.CPACK_PACKAGE_VERSION_MINOR.CPACK_PACKAGE_VERSION_PATCH
for creating the package file name

Alex
2008-03-26 20:12:17 -04:00
Bill Hoffman a8ecf11edf ENH: remove use of undefined cdr 2008-03-24 15:41:16 -04:00
Bill Hoffman 1727e6d932 ENH: fix if 2008-03-24 15:40:52 -04:00
Alin Elena dc108e0dfc ENH: FindBLAS.cmake&FindLAPACK updated to support intel mkl 10 2008-03-24 11:49:48 -04:00
Alin Elena 05c7777eb7 ENH: FindBLAS.cmake&FindLAPACK updated to support intel mkl 10 2008-03-24 11:49:35 -04:00
David Cole 9453489919 BUG: Remove reference to PROJECT_SOURCE_DIR so that the Subversion_WC_INFO macro may be called from a ctest or cmake script. 2008-03-20 11:44:25 -04:00
Clinton Stimpson 44ad24c13a BUG: Fix issue when Qt from Linux distro is used
and glib and dbus development packages aren't installed.
2008-03-19 16:14:06 -04:00
Clinton Stimpson 181c39d58a BUG: Don't clear output strings before using. 2008-03-19 15:27:09 -04:00
Clinton Stimpson 9d7e09f332 STYLE: Improve documentation by expanding on how UseQt4.cmake fits in. 2008-03-18 18:37:28 -04:00
Alexander Neundorf ae16aa9679 STYLE: fix documentation again: QT_LIBRARIES exists if you use Qt4 via UseQt4.cmake
Alex
2008-03-18 17:54:40 -04:00
Alexander Neundorf caa6de5b89 STYLE: fix documentation, QT_LIBRARIES doesn't exist, and also didn't exist
in cmake 2.4.3, the first stable cmake 2.4.x release

Alex
2008-03-18 17:26:50 -04:00
Clinton Stimpson 5eb8133af4 ENH: Satisfy QtDBus dependencies for builds with static Qt.
Finish fix for #6607.
2008-03-18 16:30:14 -04:00
Clinton Stimpson 317d1705af ENH: For Mac OS X, remove QuickTime link for Qt 4.3+ and add AppKit link for Qt 4.2+. 2008-03-17 14:53:02 -04:00
Brad King 7a888b68da ENH: Added FindPackageMessage module
- Defines FIND_PACKAGE_MESSAGE function to help display
    find result messages only once
  - Added use of it to FindPackageHandleStandardArgs
  - Added use of it to FindQt4, and FindX11
  - This cleans up repeated messages in big projects
2008-03-17 11:10:42 -04:00
Brad King 98e06794dd ENH: Avoid printing message about unknown repository type repeatedly in CTest. 2008-03-17 11:10:32 -04:00
Brad King 9f54e1f043 ENH: Patch from Maik to add per-configuration default flags to GCC and Intel Fortran compilers on Linux. 2008-03-17 08:55:05 -04:00
David Cole 6b31f40e40 BUG: Go back to using "." so the Java test passes on the nightly nmake dashboards again. Still need a solution that works with both nmake and Visual Studio builds. 2008-03-15 20:10:02 -04:00
Alexander Neundorf e6cb6129e8 ENH: preparations for cross compiling KDE4
Alex
2008-03-14 18:16:06 -04:00
Clinton Stimpson 0f005630d3 BUG: Fix typo to find QAssistantClient header. 2008-03-14 14:28:29 -04:00
Clinton Stimpson f874cd684c ENH: Satisfy QtNetwork and QtOpenGL dependencies for builds with static Qt.
Partial fix for #6607.
2008-03-14 13:29:16 -04:00
Clinton Stimpson 58a2872f2e ENH: Automatically add dependent modules.
For example, if QT_USE_QTXMLPATTERNS is on, QT_USE_QTNETWORK is turned on.
      The equivalent happens in a qmake .pro file when QT += xmlpatterns is specified.
2008-03-14 13:16:58 -04:00
Clinton Stimpson f4c319b60b ENH: Support static Qt 4.4 builds using QtHelp module. 2008-03-14 12:11:01 -04:00
Clinton Stimpson 5a112028b7 ENH: Add support for Qt 4.4's phonon module.
Add new Qt 4.4 modules in UseQt4.cmake
2008-03-13 19:12:46 -04:00
Bill Hoffman ed795d283f ENH: fix c flags for 2003 free command line tools 2008-03-13 16:42:31 -04:00
Brad King d46ff28ac9 ENH: Convert CMAKE_LINK_OLD_PATHS to policy CMP0003.
- Policy is WARN by default so projects will build
    as they did in 2.4 without user intervention
  - Remove CMAKE_LINK_OLD_PATHS variable since it was
    never in a release and the policy supercedes it
  - Report target creation backtrace in warning message
    since policy should be set by that point
2008-03-13 16:23:18 -04:00
Clinton Stimpson 7634b36364 ENH: Add support for new modules in Qt 4.4. Fixes #6316.
Simplify and clarify some documentation.

BUG:  Fix order of include paths (from KDE's FindQt4)
      Fix find of Designer components debug library on Windows.
2008-03-13 15:29:28 -04:00
David Cole 908a2b462d COMP: Conditionalize the last change so that the fix only applies to WIN32. Leave it the way it was elsewhere, the new way does not work on the Mac continuous dashboard... 2008-03-13 15:03:20 -04:00
David Cole 4cd5a8a690 BUG: Fix the Java test for Visual Studio builds. Before this, it had been trying to include "BuildLog.htm" in the .jar file because it was using "." as the list of files to include in the .jar file. Use "*.class" instead of "." to prevent this silliness. 2008-03-13 14:29:26 -04:00
Bill Hoffman 0deb9012a6 BUG: fix bug 6594 look for glut in more places on windows 2008-03-13 10:56:40 -04:00
Sebastien Barre 4f1a79110c ENH: for some reasons there was never a FindCVS module? 2008-03-10 18:51:08 -04:00
Sebastien Barre a760693518 ENH: for some reasons there was never a FindCVS module? 2008-03-10 18:48:41 -04:00
Alexander Neundorf ee72506471 ENH: use the standard find_package_handle_standard_args() for lua 5.0 and
5.1

Alex
2008-03-10 13:26:11 -04:00
Brad King 70c2dc8a64 ENH: Make compiler id detection more robust
- Split INFO strings in source into multiple pieces
    to make sure assembly or other listings produced
    by the compiler are never matched by the regex
  - Store INFO strings via pointer instead of array
    to convince some compilers to store the string
    literally in the binary
  - This should help make it work for sdcc 2.8.0 RC1
2008-03-10 09:32:25 -04:00
Alexander Neundorf 8aac17471c BUG: make compiler id detection (almost) work again with sdcc 2.8.0 RC1,
mail sent to Brad for the remaining issue
don't match
INFO:compiler[" COMPILER_ID "]
which appears in the assembler file generated from the C file by sdcc, but
make sure the first character after the [ is no double quote

Alex
2008-03-09 19:20:43 -04:00
Bill Hoffman 29fe247016 ENH: add new version of FindMPI, fix it to work with MPICH2 on windows 2008-03-07 19:58:29 -05:00
Brad King 2a06c660bf ENH: Patch from Maik to add more fortran extensions. 2008-03-05 15:55:21 -05:00
Clinton Stimpson c39a8c39aa ENH: Allow users to recover from trying to use an improperly installed Qt
without removing their cache, fixing their environment and trying again.
2008-03-05 12:53:44 -05:00
Eric Wing 68bcb056eb BUG: Fixed PATH_SUFFIXES copy/paste bug (0006201) 2008-03-05 03:11:15 -05:00
David Cole 31efe9e9f6 ENH: Add script GetPrerequisites.cmake to help analyze what shared libraries executable files depend on. Primary uses are to determine what shared libraries should be copied into Mac OSX bundle applications to create standalone bundles apps and to determine what shared library files need to be installed for an executable to run on any platform. Requires native platform tools dumpbin, otool and ldd to generate results. 2008-03-04 08:18:40 -05:00
Brad King 8364ce8ff9 STYLE: Remove trailing whitespace. 2008-03-03 20:31:51 -05:00
Brad King 8868244de0 STYLE: Remove trailing whitespace. 2008-03-03 20:24:18 -05:00
Brad King b6684a79b5 STYLE: Remove trailing whitespace. 2008-03-03 15:56:04 -05:00
Brad King 079c5e22f7 STYLE: Remove trailing whitespace. 2008-03-03 11:57:02 -05:00
Brad King 5f8feedbac STYLE: Fixed docs of new CMakeForceCompiler 2008-03-03 11:18:49 -05:00
Brad King e124891b0c ENH: Restore CMAKE_FORCE_C_COMPILER and CMAKE_FORCE_CXX_COMPILER macros in CMakeForceCompiler module. 2008-03-03 11:16:32 -05:00
Brad King 34c76d4304 ENH: Use builtin chrpath instead of relinking ELF targets
- Add cmSystemTools::ChangeRPath method
  - Add undocumented file(CHRPATH) command
  - When installing use file(CHRPATH) to change the rpath
    instead of relinking
  - Remove CMAKE_CHRPATH lookup from CMakeFindBinUtils
  - Remove CMAKE_USE_CHRPATH option since this should
    always work
2008-03-01 12:51:07 -05:00
Brad King 230c8972f7 BUG: Do not place $(CMAKE_COMMAND) in link scripts. 2008-03-01 09:08:34 -05:00
Bill Hoffman 22dc873ef0 ENH: allow cdash not to trigger 2008-02-29 14:58:33 -05:00
Bill Hoffman b548b34a11 ENH: add vs9 stuff, still need msvc9 mfc 2008-02-29 14:36:33 -05:00
Brad King dfe2ea6406 ENH: Handle large object file lists on some platforms
- Use a response file when enabled by
    CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_OBJECTS
  - Enable for C and CXX with cl (MSVC)
  - Enable for Fortran with ifort (Intel Fortran)
2008-02-27 17:10:45 -05:00
Brad King e840a9dff3 BUG: Apply patch from bug#6445. Add preprocessor definitions to assembly and preprocessing build rules. 2008-02-27 14:31:09 -05:00
Brad King 83c5f1b3f0 ENH: Add support to C compiler identification for void return type from main. Cross-compilers for embedded platforms may require it. 2008-02-25 18:47:19 -05:00
Alexander Neundorf 09829174a3 BUG: fix rpmbuild bug, which expands variables in comments :-/
apparently rpmbuild can't handle paths with spaces and can't handle
variables in comments...

Alex
2008-02-25 14:23:24 -05:00
Brad King 9211b0d234 ENH: Improvied compiler identification robustness
- Write a single source file into the compiler id directory
  - This avoid requiring the compiler to behave correctly with
    respect to include rules and the current working directory
  - Helps to identify cross-compiling toolchains with unusual
    default behavior
2008-02-25 09:23:14 -05:00
Brad King 58480575a3 ENH: Simplify make build rule generation by removing use of OBJECTS_QUOTED and TARGET_QUOTED rule variables and updating the generation of OBJECTS to always use the newer cmLocalGenerator::Convert method. 2008-02-24 14:05:21 -05:00
Brad King fd37a6ec3d ENH: Better linker search path computation.
- Use linker search path -L.. -lfoo for lib w/out soname
    when platform sets CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME
  - Rename cmOrderRuntimeDirectories to cmOrderDirectories
    and generalize it for both soname constraints and link
    library constraints
  - Use cmOrderDirectories to order -L directories based
    on all needed constraints
  - Avoid processing implicit link directories
  - For CMAKE_OLD_LINK_PATHS add constraints from libs
    producing them to produce old ordering
2008-02-21 11:41:11 -05:00
Brad King 068d0d9b91 BUG: Fix passing of nodefaultrpath flag to linker through c++ compiler. 2008-02-18 12:01:41 -05:00
Bill Hoffman ef537ffec7 ENH: have cpack work with DESTDIR install and ingest qt framework libs into cmake-gui 2008-02-18 10:26:28 -05:00
Bill Hoffman 1871f06ad6 BUG: fix double cmakefiles directory 2008-02-17 17:40:01 -05:00
Bill Hoffman 703be12c58 ENH: add script to ingest library depends into a bundle 2008-02-16 16:33:08 -05:00
Alexander Neundorf a8f493686a STYLE: use global property instead of helper target to collect all python
modules from a source tree

Alex
2008-02-15 18:26:37 -05:00
Brad King ed76198b84 ENH: Cleanup building of OS X bundle content
- Fixes repeated rebuild of bundles by Makefile generators
 - Add special rules to copy sources to their
   MACOSX_PACKAGE_LOCATION bundle directory
 - Remove MacOSX_Content language hack
   - Remove EXTRA_CONTENT property
   - Remove MACOSX_CONTENT
   - Remove corresponding special cases in object names
2008-02-15 11:22:23 -05:00
Brad King 67f8c0fd10 ENH: Allow multiple OS X applications bundles to be created in a single build directory. Converted Info.plist files to be generated directly instead of configured with make variables. The MACOSX_BUNDLE_* variables are now properties (and vars for compatibility). 2008-02-14 15:31:08 -05:00
Brad King b459ec9f57 ENH: Updated DEFINE_PROPERTY command to be more extendible and more consistent with new SET_PROPERTY and GET_PROPERTY signatures. 2008-02-14 13:36:23 -05:00
Brad King 5b02a4a864 ENH: Re-enable diagnosis of non-unique target names.
- Re-enable enforcement in cmMakefile::EnforceUniqueName
  - Improve error message to help user resolve the problem
  - Fix Modules/CTestTargets.cmake to not duplicate testing targets
  - Move commands used by the changes to Modules/CTestTargets.cmake
    to build during bootstrap: DEFINE_PROPERTY, GET_PROPERTY
2008-02-14 11:58:32 -05:00
Brad King 8375bb4768 ENH: Remove unnecessary compiler force macros. The compiler ID can now be detected without linking an executable. 2008-02-14 10:50:43 -05:00
Clinton Stimpson f868fe3abd BUG: Fix error when paths have + in them. (special regex characters) 2008-02-14 01:11:20 -05:00
Sebastien Barre 5ee18d5c55 ENH: fix advanced bug 2008-02-13 17:00:20 -05:00
Brad King 9439cbd4ba BUG: Fix FindQt4.cmake QT4_CREATE_MOC_COMMAND macro to work with spaces in the path while using the @ syntax on MSYS builds. 2008-02-13 14:35:10 -05:00
Brad King f0cee3fe4c ENH: Fix eCos.cmake to not require a forced compiler
- Search for libtarget.a explicitly
  - Do not complain about compiler id during try-compile
2008-02-11 17:01:02 -05:00
Brad King a75079d9e0 ENH: When detecting the compiler id try compiling only to an object file. 2008-02-11 17:00:54 -05:00
Brad King 5a834b0bb0 ENH: Remove CMAKE_ANSI_CFLAGS variable and instead always add ansi flags to CMAKE_C_COMPILE_OBJECT. We should not require every project to reference CMAKE_ANSI_CFLAGS. 2008-02-11 15:31:32 -05:00
Clinton Stimpson a8c4244916 ENH: Better way to have escaping done correctly for all generators. 2008-02-08 12:01:54 -05:00
Clinton Stimpson e6c9f302f2 BUG: Fix arg for moc parameter file so it works with unix makefiles, when the
build dir has a space in it.
2008-02-07 23:26:42 -05:00
Bill Hoffman 4f44c7875f BUG: fix for bug 6117 pkgconfig 2008-02-07 13:19:38 -05:00
Alexander Neundorf 10dfc89731 STYLE: use a function instead of a macro, to keep FAIL_MESSAGE local
patch from Miguel

Alex
2008-02-06 17:02:53 -05:00
Brad King 847c8403fe BUG: Added TARGET_ARCHIVES_MAY_BE_SHARED_LIBS global property to help compute proper rpath information on AIX when shared libraries have names like "libfoo.a". 2008-02-04 15:22:10 -05:00
Brad King c12a7e388d BUG: When configuring compiler information files into the CMakeFiles directory in the project build tree, use IMMEDIATE option for CONFIGURE_FILE explicitly. It is needed in case the user sets CMAKE_BACKWARDS_COMPATIBILITY to 2.0 or lower. 2008-02-04 10:04:23 -05:00
Brad King bbbb2be765 BUG: When forcing the C and CXX compilers do not try to detect the ABI information. Cleanup configured language compiler info files by always using @ONLY. This addresses bug#6297. 2008-02-03 17:24:50 -05:00
Brad King f2dfa8925b ENH: Enable dependent library search paths on more platforms
- NetBSD needs dependent library paths in -rpath-link option.
  - kFreeBSD needs dependent library paths in -rpath-link option.
2008-02-02 08:58:53 -05:00
Clinton Stimpson 593c213f16 BUG: When preserving relative paths for moc generated files,
also consider paths to headers in the build directory.
2008-02-01 13:52:04 -05:00
Clinton Stimpson d94087ab44 ENH: Use new COMPILE_DEFINITIONS_* with set_property to
add Qt release/debug defines.
2008-02-01 12:02:19 -05:00
Brad King f49ec94e9f ENH: Enable dependent library search paths on more platforms
- HP-UX needs dependent library paths as -L options.
  - IRIX needs dependent library paths as -L options.
  - Sun needs dependent library paths as -L options.
  - FreeBSD needs dependent library paths in -rpath-link option.
2008-02-01 09:57:41 -05:00
Brad King 82fcaebe28 ENH: Pass dependent library search path to linker on some platforms.
- Move runtime path ordering out of cmComputeLinkInformation
    into its own class cmOrderRuntimeDirectories.
  - Create an instance of cmOrderRuntimeDirectories for runtime
    path ordering and another instance for dependent library
    path ordering.
  - Replace CMAKE_DEPENDENT_SHARED_LIBRARY_MODE with explicit
    CMAKE_LINK_DEPENDENT_LIBRARY_FILES boolean.
  - Create CMAKE_LINK_DEPENDENT_LIBRARY_DIRS boolean.
  - Create variables to specify -rpath-link flags:
      CMAKE_SHARED_LIBRARY_RPATH_LINK_<LANG>_FLAG
      CMAKE_EXECUTABLE_RPATH_LINK_<LANG>_FLAG
  - Enable -rpath-link flag on Linux and QNX.
  - Documentation and error message updates
2008-02-01 08:56:00 -05:00
Brad King 2cff26fa52 ENH: Support linking to shared libs with dependent libs
- Split IMPORTED_LINK_LIBRARIES into two parts:
      IMPORTED_LINK_INTERFACE_LIBRARIES
      IMPORTED_LINK_DEPENDENT_LIBRARIES
  - Add CMAKE_DEPENDENT_SHARED_LIBRARY_MODE to select behavior
  - Set mode to LINK for Darwin (fixes universal binary problem)
  - Update ExportImport test to account for changes
2008-01-31 15:45:31 -05:00
Ken Martin 934949edd0 ENH: use ctest to drive dashboards for make targets as opposed to tclsh 2008-01-31 13:23:04 -05:00
Brad King 3a05425309 BUG: Move decision to switch library paths found in implicit link directories to use -l options from cmFindLibraryCommand to cmComputeLinkInformation. Existing projects may depend on find_library returning a full path. This slightly weakens cmComputeLinkInformation but is necessary for compatibility. 2008-01-31 07:50:40 -05:00
Brad King 66e0b4212f ENH: Added build rule variables CMAKE_<LANG>_ARCHIVE_CREATE, CMAKE_<LANG>_ARCHIVE_APPEND, and CMAKE_<LANG>_ARCHIVE_FINISH to support creation of static archive libraries out of a large number of objects. See bug #6284. 2008-01-29 20:46:25 -05:00
Clinton Stimpson b90d3114c5 ENH: Make lupdate and lrelease executables advanced variables. 2008-01-29 17:01:00 -05:00
Sebastien Barre 6e70424fc8 ENH: need quotes 2008-01-29 15:10:37 -05:00
Clinton Stimpson bb52f45ebb ENH: Allow QT4_WRAP_CPP to work with dir1/myobject.h dir2/myobject.h
Fixes #5067.
2008-01-29 13:07:52 -05:00
Brad King b4b9e1d44b BUG: Fix dynamic exports executable link option for Sun C compiler on Linux. 2008-01-29 07:48:22 -05:00
Brad King 41c2895b75 ENH: Added version support to Config mode of find_package command.
- Added EXACT option to request an exact version.
  - Enforce version using check provided by package.
  - Updated FindPackageTest to test versioning in config mode.
2008-01-28 20:38:48 -05:00
Clinton Stimpson 404db8811e ENH: Improve find for glib/gthread when Qt is configured to use it.
Fixes #6220.
2008-01-28 19:20:00 -05:00
Sebastien Barre 59d29d6079 ENH: Update Tcl/Tk 8.5 2008-01-26 01:11:04 -05:00
Sebastien Barre bd28610ec3 ENH: update for Tcl/Tk 8.5 2008-01-25 13:07:59 -05:00
Sebastien Barre 7bba5ac956 ENH: typo 2008-01-24 19:42:14 -05:00
Sebastien Barre af9987ed79 ENH: update for Tcl/Tk 8.5 2008-01-24 19:31:24 -05:00
Brad King 11ad0bace4 ENH: Remove sparcv9 architecture subdir added earlier. The new implicit link directory policy takes care of the problem. 2008-01-23 17:53:18 -05:00
Brad King 4d4c0c8466 BUG: CMAKE_EXECUTABLE_RUNTIME_CXX_FLAG should get its default value from CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG, not CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG. 2008-01-23 16:35:25 -05:00
Sebastien Barre 99198a0765 ENH: update for Tcl/Tk 8.5 2008-01-23 16:27:36 -05:00
Brad King f27379e3f7 ENH: Added CMAKE_LINK_OLD_PATHS compatibility mode for linker search paths. 2008-01-23 15:22:38 -05:00
Sebastien Barre ae356560a0 ENH: keep cleaning up Tcl/Tk modules 2008-01-23 14:07:09 -05:00
Brad King 09af624dee BUG: Fix generation of Watcom link lines.
- Work-around bug in Watcom command line parsing for spaces in paths.
  - Add 'library' option before libraries specified by file path.
2008-01-23 13:30:55 -05:00
Brad King e417fb7100 ENH: Enable library search path suffix for sparcv9 architecture. This should be generalized to a platform file later. 2008-01-23 09:53:33 -05:00
Clinton Stimpson eba5032389 ENH: Add macros to handle translations. Fixes #6229. 2008-01-22 10:11:29 -05:00
Brad King 96fd5909d9 ENH: Implement linking with paths to library files instead of -L and -l separation. See bug #3832
- This is purely an implementation improvement.  No interface has changed.
  - Create cmComputeLinkInformation class
  - Move and re-implement logic from:
      cmLocalGenerator::ComputeLinkInformation
      cmOrderLinkDirectories
  - Link libraries to targets with their full path (if it is known)
  - Dirs specified with link_directories command still added with -L
  - Make link type specific to library names without paths
    (name libfoo.a without path becomes -Wl,-Bstatic -lfoo)
  - Make directory ordering specific to a runtime path computation feature
    (look for conflicting SONAMEs instead of library names)
  - Implement proper rpath support on HP-UX and AIX.
2008-01-22 09:13:04 -05:00
Brad King 2b48e716b3 ENH: Cleanup chrpath feature by not displaying exe format or placing non-advanced options in cache. 2008-01-21 20:57:23 -05:00
Brad King a28b197b11 ENH: Generalize the check for sizeof void* to detect more ABI information. 2008-01-21 18:30:17 -05:00
Brad King f41b1e8e91 ENH: Implement version support in the find_package command module mode. Version numbers provided to the command are converted to variable settings to tell the FindXXX.cmake module what version is requested. This addresses issue #1645. 2008-01-21 08:48:33 -05:00
Brad King 9de44ef28a BUG: FindX11 module should search for SM library instead of returning -lSM. 2008-01-20 16:02:38 -05:00
Sebastien Barre 2469403849 ENH: Tcl/Tk 8.6 alpha schedule for May 2008. 2008-01-18 19:02:38 -05:00
Bill Hoffman c0bb73787d ENH: make sure msvc90 gets set 2008-01-18 16:06:10 -05:00
Alexander Neundorf fc8ce17433 ENH: remove RAISE_SCOPE() again and instead add SET(<var> <value> PARENT_SCOPE)
Alex
2008-01-18 15:52:54 -05:00
Bill Hoffman e5a4da5b3c ENH: make sure MSVC90 is set 2008-01-18 15:19:19 -05:00
Sebastien Barre 0bbae2a5b2 ENH: cleanup FindPerl and FindTcl (use ActiveState CurrentVersion, and support Tcl/Tk 8.5) 2008-01-18 14:02:51 -05:00
Sebastien Barre 87d9660f8d ENH: cleanup FindPerl and FindTcl (use ActiveState CurrentVersion, and support Tcl/Tk 8.5) 2008-01-18 13:51:25 -05:00
Sebastien Barre 03dfe8356f ENH: cleanup FindPerl and FindTcl (use ActiveState CurrentVersion, and support Tcl/Tk 8.5) 2008-01-18 13:46:10 -05:00
Sebastien Barre 4f37eacfdb ENH: cleanup FindPerl and FindTcl (use ActiveState CurrentVersion, and support Tcl/Tk 8.5) 2008-01-18 13:15:12 -05:00
Brad King 8d1d5500c8 ENH: Enable use of COMPILE_DEFINITIONS property for Fortran sources. 2008-01-17 19:58:01 -05:00
Brad King 669db35aa4 ENH: Changed signature of GET_PROPERTY command to be more powerful and extendible. 2008-01-17 17:19:13 -05:00
Brad King b8357db11d ENH: Rename SET_PROPERITES command to SET_PROPERTY and give it a more powerful signature. 2008-01-17 15:54:49 -05:00
Brad King 18b9e7db6c ENH: Enable CMAKE_<lang>_DEFINE_FLAG for COMPILE_DEFINITIONS property implementation. 2008-01-17 10:00:19 -05:00
David Cole a5ac316155 BUG: Eliminate message - it pops up an annoying dialog whenever you run CMakeSetup in a project with java wrapping turned on. 2008-01-16 10:04:36 -05:00
Brad King 2a78288064 ENH: Convert Modules/Platform specification of system search paths to use CMAKE_SYSTEM_PREFIX_PATH when possible. 2008-01-16 09:51:57 -05:00
Brad King 52718dbbf2 BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically. 2008-01-15 21:20:11 -05:00
Alexander Neundorf 8e5e423f78 STYLE: fix infinished comment
Alex
2008-01-15 19:56:42 -05:00
Bill Hoffman c598da4328 BUG: fix for bug 6231, bad regex for sunos, worked by chance, but better to have it right 2008-01-15 14:19:32 -05:00
Alexander Neundorf b33e1c5cc3 BUG: according to the binutils mailing list chrpath doesn't work when cross
compiling

Alex
2008-01-14 19:02:30 -05:00
Alexander Neundorf 4bcce925ea BUG: set LC_ALL to C, so message from svn are not translated, which can lead
to problems (since the output is parsed, which fails then)

Brad, Bill, can you think of any reasons this change might create problems ?

Alex
2008-01-14 17:19:20 -05:00
Brad King 8262ccfd4e ENH: Create COMPILE_DEFINITIONS property for targets and source files. Create <config>_COMPILE_DEFINITIONS property as per-configuration version. Add Preprocess test to test the feature. Document limitations on Xcode and VS6 generators. 2008-01-14 09:20:58 -05:00
Bill Hoffman 3f45a27a6b ENH: add support for xlf with -WF,-D for -D 2008-01-11 17:38:41 -05:00
Bill Hoffman c3b7f618d1 ENH: add support for xlf with -WF,-D for -D 2008-01-11 17:37:38 -05:00
Clinton Stimpson 510f578f8b ENH: For moc commands on Windows, use @param_file method to allow arguments
longer than Windows' command length limitation.
      Fixes #6221.
2008-01-11 12:40:24 -05:00
Alexander Neundorf 3d6f10650e BUG: it seems on some installations boost is installed under boost-1_34 ,
see #5030

FindBoost.cmake recommends using LINK_DIRECTORIES(), is this really good ?

Alex
2008-01-10 18:52:19 -05:00
Bill Hoffman f61305e88c BUG: fix for bug 4145 much better findSwig 2008-01-10 16:22:52 -05:00
Brad King d6a21fc25c BUG: Removed stray debugging message. 2008-01-10 14:47:19 -05:00
Brad King 63fa1180f9 BUG: Need to install fortran compiler id source. 2008-01-10 14:47:00 -05:00
Brad King a83ef917af STYLE: Move VisualAge id macro to correct block. 2008-01-10 11:58:07 -05:00
Bill Hoffman a40147abce ENH: add support for visual age fortran on linux 2008-01-10 10:50:46 -05:00
Brad King b761da39c1 ENH: Patch from Maik to add preprocessor directive handling to Fortran dependency scanning. Also added -fpp flag to Intel Fortran compiler on Windows by default. 2008-01-09 10:30:11 -05:00
Brad King 52eb0ccac7 BUG: Restore old interface of "make foo.o" and "make foo.i" even though object file names now include source extensions. For Java we also need to always remove the source extension (.java -> .class). This fixes the re-opening of bug #6169. 2008-01-07 16:12:37 -05:00
Brad King 4b2218045d ENH: Add support to CMAKE_DETERMINE_COMPILER_ID macro to try building the id source more than once with different extra flags added to the compiler. Use the support to correctly identify the Intel Fortran compiler on windows which does not preprocess by default without special flags. 2008-01-07 10:27:28 -05:00
Miguel A. Figueroa-Villanueva 4c6dcc0ed9 BUG: Support cross-compiling; wx-config should be searched for in target platform ONLY (bug 6187). 2008-01-05 20:37:51 -05:00
Miguel A. Figueroa-Villanueva d1f2e3ff97 ENH: Generalized the WXWIDGETS_ADD_RESOURCES to support header generation, xrs file generation, and other options (BUG: 6162). 2008-01-05 11:19:29 -05:00
Alexander Neundorf eed9b1b0da ENH: rename variables from GIFLIB_* to GIF_*
-add standard QUIET and REQUIRED handling
-add GIF_LIBRARIES variable as readme.txt says
-add name giflib to the names for the gif library
-remove some unnecessary search paths for the lib (they are already part of
the standard search paths, see Modules/Platform/UnixPaths.cmake)
-FindFreetype.cmake: use PATH_SUFFIXES include again for the headers with
the CMAKE_PREFIX_PATH variable

Alex
2008-01-04 12:38:34 -05:00
Alexander Neundorf daa45056c9 STYLE: rename FindGIFLIB.cmake to FindGIF.cmake, as discussed with Eric
Alex
2008-01-04 12:29:29 -05:00
Alexander Neundorf b67a35e081 BUG: fix spelling of the xf86misc and xf86vmode variables
Alex
2008-01-04 11:56:18 -05:00
Eric Wing 4726811487 ENH: Added all lowercase 'openal' to library search names in hopes of addressing
bug 6201 (won't detect on Gentoo).
2008-01-04 11:42:08 -05:00
Alexander Neundorf d18fb61c76 STYLE: use FIND_PACKAGE_HANDLE_STANDARD_ARGS() to handle QUIET and REQUIRED
-remove some unnecessary search paths (they are part of the default paths)
-don't use PATH_SUFFIXES for include/ when searching for a header, that's very uncommon style
-add FREETYPE_LIBRARIES as the variable which should be used by the user (as documented in readme.txt)

Alex
2008-01-04 07:29:40 -05:00
Alexander Neundorf 473e5bb475 STYLE: renamed FindFreeType.cmake to FindFreetype.cmake to make it more
compatible with the one in KDE4

Alex
2008-01-04 07:25:27 -05:00
Bill Hoffman fc6497883c BUG: fix for bug 6151 2008-01-02 17:12:33 -05:00
Alexander Neundorf 474629568c ENH: check the magic code of the executable file to determine the executable
file format. Tested for ELF on x86 Linux, COFF and Mach-O prepared but
commented out since I don't have such systems available. Please have a look
a CMakeDetermineCompilerId.cmake and enable the test for them too.

Only add the option for using chrpath if the executable format is ELF

Alex
2008-01-02 16:52:12 -05:00
Alexander Neundorf 5097640671 ENH: add more ruby paths: sitearch, sitelib, vendorarch, vendorlib (#5531)
-make these variables cached and ADVANCED
-remove unused QUIETLY code
-document RUBY_LIBRARY

Alex
2008-01-02 12:32:17 -05:00
Alexander Neundorf 8e644c9dfa BUG: make FindRuby work with the libs for MSVC, which can have additional
pre- and suffixes (#5642)

Alex
2008-01-02 11:43:28 -05:00
Bill Hoffman b479c6a8a9 ENH: add ability to have manifest files and incremental linking with make and nmake 2008-01-01 15:13:41 -05:00
Brad King 19037da40f ENH: Add SunPro fortran module flags on SunOS. 2007-12-30 16:34:49 -05:00
Brad King b2e8c07af8 ENH: Implemented Fortran module output directory and search path flags. 2007-12-30 16:11:38 -05:00
David Cole 764f6838a7 ENH: Give Mac installers package relocation capability. Default location is still the same for backwards compatibility, but packages will now be relocatable by default like they are on Windows via the NSIS installer. New CPack variables for controlling this functionality are CPACK_PACKAGE_DEFAULT_LOCATION and CPACK_PACKAGE_RELOCATABLE. 2007-12-26 16:57:13 -05:00
Miguel A. Figueroa-Villanueva bfeeb88b1f STYLE: Refactored common libs into a variable, modified comments, and cleaned use of monolithic build. 2007-12-22 10:15:04 -05:00
Eric Wing a5b3ab4eee BUG: Fixed modules to set FOO_FOUND when both headers and libraries are found.
BUG: FindSDL now has flag it responds to so it will not find/link against SDLmain. This is required to build libraries instead of applications since they don't have main().
ENH: All modules have a predictable search order, where environmental variables are searched before system paths. This is designed to make automation easier for those that need to automatically build projects without intervention but may be using alternative install locations for isolated testing.
ENH: New modules for OpenSceneGraph, Freetype, GDAL, Lua, QuickTime, GIFLIB, Producer, OpenThreads.
STYLE: Added documentation explaining peculuar SDL_LIBRARY_TEMP variable in SDL
  module when library find is incomplete.
2007-12-20 20:59:44 -05:00
Clinton Stimpson fffb0bd908 ENH: Better QT4_EXTRACT_OPTIONS macro. 2007-12-19 16:48:04 -05:00
Alexander Neundorf 04136a558a BUG: make CMAKE_USE_CHRPATH a simple variable instead an option, since an
option is not scriptable and so breaks the toolchain test
or maybe option() should be made scriptable ?

Alex
2007-12-19 03:55:11 -05:00
Alexander Neundorf 3ae731fab7 ENH: add support for chrpath, so the RPATH in ELF files can be changed when
installing without having to link the target again -> can save a lot of time

chrpath is handled very similar to install_name_tool on the mac. If the
RPATH in the build tree file is to short, it is padded using the separator
character.
This is currently disabled by default, it can be enabled using the option
CMAKE_USE_CHRPATH. There are additional checks whether it is safe to enable
it. I will rework them and use FILE(READ) instead to detect whether the
binaries are actually ELF files.

chrpath is available here
http://www.tux.org/pub/X-Windows/ftp.hungry.com/chrpath/
or kde svn (since a few days): http://websvn.kde.org/trunk/kdesupport/chrpath/

Alex
2007-12-18 17:50:27 -05:00
Clinton Stimpson f5f397debd ENH: should define QT_DLL instead of QT_SHARED 2007-12-18 14:50:18 -05:00
Clinton Stimpson b383d98771 ENH: Improve documentation of new features. 2007-12-18 13:05:43 -05:00
Bill Hoffman 4b2925222a BUG: fix for bug 5464 better find boost for windows 2007-12-18 10:02:52 -05:00
Bill Hoffman 1cfe812f11 BUG: fix for 5722 2007-12-17 21:37:16 -05:00
Bill Hoffman 0e33a166a3 STYLE: fix doc string 2007-12-17 17:57:57 -05:00
Bill Hoffman d6bf2457a7 BUG: fix for 5933, look for java in more reg entries 2007-12-17 17:22:51 -05:00
Alexander Neundorf 46fff6c83a STYLE: use IF(NOT ) instead of IF() ELSE() with empty IF() branch
Alex
2007-12-17 17:05:07 -05:00
Bill Hoffman 9eb207aa89 BUG: fix for bug 6167 get rid of extra space in flags 2007-12-17 12:04:15 -05:00
Alexander Neundorf 7bcafb410f STYLE: some whitespace syncing with FindQt4.cmake in KDE svn
Alex
2007-12-16 05:49:23 -05:00
Brad King 04c8544a1d BUG: Need to strip leading and trailing whitespace off the compiler 'ARG1'. This fixes bug#6141. 2007-12-15 16:03:29 -05:00
Clinton Stimpson 0304073ea6 ENH: Add OPTIONS argument to some Qt4 macros.
Addresses #6125.
2007-12-14 16:56:25 -05:00
Bill Hoffman a488c2646c BUG: fix for 6117, fix for second run 2007-12-14 12:51:43 -05:00
Bill Hoffman b24b859a93 BUG: Fix bug 6106 FindPerlLibs.cmake missing escaped $ 2007-12-12 07:26:25 -05:00
Clinton Stimpson 1d4a87b001 ENH: Correctly find UiTools library on Mac w/ binary install of Qt.
Fixes #4554.
2007-12-11 12:57:54 -05:00
Miguel A. Figueroa-Villanueva 93f079ecae STYLE: Clarified usage documentation for cmake --help-module FindwxWidgets. 2007-12-02 09:15:40 -05:00
Miguel A. Figueroa-Villanueva 51fce4d391 STYLE: Use LIST(APPEND ...) instead of SET(...) 2007-12-01 22:51:25 -05:00
Miguel A. Figueroa-Villanueva 895a2384fa ENH: Added search entry for the new release: wxWidgets-2.8.7. 2007-12-01 20:58:13 -05:00
Miguel A. Figueroa-Villanueva 01dd9bc160 ENH: Added support for selecting different configurations in UNIX_STYLE: debug/release, static/shared, unicode/ansi, and regular/universal. 2007-12-01 20:35:58 -05:00
Miguel A. Figueroa-Villanueva 4cee09fd4c ENH: Added macro support for compiling xrc resources to cpp code. 2007-12-01 19:30:11 -05:00
Clinton Stimpson 96d8460b4e ENH: Define QT_NO_DEBUG when building with release Qt libs.
Fixes #6104.
2007-11-30 19:11:18 -05:00
Alexander Neundorf bdc1e4e054 BUG: use the correct variable for checking the success (#6062)
Alex
2007-11-25 08:20:05 -05:00
Alexander Neundorf e3c84cf5a6 ENH: add support for the Syllable OS (http://www.syllable.org)
major issues:
-access() doesn't return false for an empty string (#ifdefed in cmake)
-dlopen() doesn't return 0 on failure (#ifdefed in cmake and fixed now in Syllable)
-the kwsys and Bootstrap tests fail with timeout due to the fact that I'm doing all that in qemu, which is quite slow
-RPATH is now supported, so without modifying the test adapting DLL_PATH in Syllable is required for the tests to succeed
-the Plugin test fails with an undefined reference to example_exe_function() in example_mod_1, it seems this isn't supported under Syllable

Alex
2007-11-23 20:45:49 -05:00
Bill Hoffman 90e6f983de ENH: add support for env var and better default for CMAKE_OSX_SYSROOT 2007-11-15 13:14:41 -05:00
Clinton Stimpson 45e974791f ENH: Fix case of windows library names to support
cross compiling w/ Qt on case sensitive platforms.
2007-11-14 18:08:16 -05:00
Miguel A. Figueroa-Villanueva d22df5bef4 BUG: Fix to support arch and isysroot compilation options on MAC (Bug 5007). 2007-11-12 13:52:45 -05:00
Bill Hoffman bb82b48715 ENH: change name 2007-11-09 12:18:06 -05:00
Bill Hoffman 2696f7e0ea ENH: add ability to use your own install directories 2007-11-08 20:37:32 -05:00
Bill Hoffman 2f23d79969 ENH: fix bug in default arch, it was using the environment variable which is not a default 2007-11-08 14:31:56 -05:00
Clinton Stimpson 1a5fe3047e BUG: handle qmake returning multiple paths for mkspecs. Fixes #5935 2007-11-08 12:27:18 -05:00
Clinton Stimpson 46bdfe1d7b ENH: Add support for static Qt 4.3 builds. 2007-11-08 10:56:13 -05:00
David Cole e3572607f4 BUG: Do not us the search_paths_first flag on older Mac OSX (10.2 and earlier) systems. 2007-11-08 09:09:14 -05:00
Miguel A. Figueroa-Villanueva aa51ca2512 BUG: Fixed error related to missing quotes around variable. 2007-11-04 01:20:22 -04:00
Bill Hoffman a1a5895c89 ENH: fix for RPM generator from Eric 2007-11-01 09:52:09 -04:00
David Cole 5beb1da7f7 ENH: Add CPACK_SET_DESTDIR handling to enable packaging of installed files in absolute locations. With this setting on, cpack will set the DESTDIR env var when building the package so that files end up in their intended locations. Default behavior is not to set DESTDIR for backwards compatibility. Helps address issue #4993 and issue #5257. Also, remove unused CPACK_USE_DESTDIR variable. ENH: Add variable CPACK_PACKAGING_INSTALL_PREFIX to allow overriding the CPack GetPackagingInstallPrefix from a project's CMakeLists file if necessary. Could be used to remove the annoying /usr prefix still used by default in the Mac PackageMaker generator. 2007-10-31 08:50:17 -04:00
Bill Hoffman eb14543939 ENH: cpack changes, remove the escape variable stuff as it is not needed if you provide a config file for cpack 2007-10-30 23:02:43 -04:00
Bill Hoffman 09c49cf658 ENH: use cpack generic variable if rpm one is not set 2007-10-30 10:16:43 -04:00
Bill Hoffman 02f79c7242 ENH: add ability to set installer icons, links to web pages, nsis code in the icon section of the template, and ability to escape variables correctly 2007-10-29 08:11:44 -04:00
Alexander Neundorf 2d1bcf806f BUG: rename DEBIAN_PACKAGE_* variables to CPACK_DEBIAN_PACKAGE_* variables
to make them actually work

Alex
2007-10-25 13:26:54 -04:00
Bill Hoffman 617e6082fa ENH: fix bitmap escapes 2007-10-22 17:16:33 -04:00
Bill Hoffman 5765fbbb88 ENH: fix spelling error 2007-10-22 14:01:49 -04:00
Bill Hoffman cfb84d8562 ENH: allow CPACK_PACKAGE_ICON to be not set 2007-10-22 11:40:07 -04:00
Bill Hoffman 397d7ff29d ENH: try to fix boostrap on 10.5 2007-10-22 10:17:31 -04:00
Bill Hoffman 613c35e033 ENH: do not always add -arch flags 2007-10-19 22:24:00 -04:00
Bill Hoffman 3e03bca2cd ENH: add ability to create links on the start menu 2007-10-18 09:40:10 -04:00
Miguel A. Figueroa-Villanueva 97e5b7e01f ENH: Added support for finding wxWidgets-2.9. Thanks to Joshua Jensen and Steven. 2007-10-17 09:38:30 -04:00
Ken Martin b63ff2fb6f ENH: minor doc cleanups and an example of documenting a variable 2007-10-15 14:50:18 -04:00
Miguel A. Figueroa-Villanueva 1c1cde697b BUG: Added support for the AUI library module (bug 4338). Also applied some
STYLE changes including: deprecation of wxWidgets_USE_LIBS in favor of using
standard FIND_PACKAGE COMPONENTS, removed some CMake 2.4.2 compatibility patches,
use of execute_process instead of exec_program, etc.
2007-10-12 21:30:24 -04:00
Bill Hoffman 6f2a997781 BUG: fix for bug 5878 2007-10-12 19:33:41 -04:00
Bill Hoffman b2ac4754a6 ENH: add from bug 0004219 2007-10-12 11:34:07 -04:00
Bill Hoffman e808f81f90 BUG: fix for bug 0005871 2007-10-12 11:00:35 -04:00
Alin Elena 680cff0b9f ENH: FindBLAS.cmake and FindLAPACK.cmake modules added. They locate various implementations of blas and lapack libraries. CheckFortranFunctionExists.cmake provides a test function to check if the library is usabale. I have also changed the -KPIC flag to -fPIC in Linux-ifort.cmake. 2007-10-10 17:47:37 -04:00
Bill Hoffman f4ab553178 ENH: add support for preprocessed files in borland 2007-10-05 13:15:34 -04:00
Bill Hoffman ef3c6f31fd ENH: set QT_EDITION_DESKTOPLIGHT and do not disable modules 2007-09-27 14:20:27 -04:00
Bill Hoffman 3d648db3c4 ENH: look for qt in a beter registry place and disable modules that won't work with DesktopLight, also set QT_EDITION variable 2007-09-26 20:53:29 -04:00
Brad King c5b197842f BUG: Enable CMAKE_HP_PTHREADS only when the old CMA threads are available. Modern HP pthreads are just normal pthreads. 2007-09-24 09:53:41 -04:00
Bill Hoffman 6a72bffaf4 ENH: remove message 2007-09-21 11:42:12 -04:00
Brad King 8481c4f1e9 BUG: Do not use CMA threads on HP if they do not exist. 2007-09-20 17:21:23 -04:00
Alexander Neundorf 93223f7dc0 BUG: if Qt is installed as a framework, add -F to the command line so
Q_WS_MAC can be detected correctly

Alex
2007-09-19 09:35:37 -04:00
Bill Hoffman 0eba9b638f ENH: allow for desktop link to be created and fix chop of last char in PATH on uninstall 2007-09-18 15:16:21 -04:00
Alexander Neundorf ec207513e4 BUG: make the string static, otherwise the contents are gone when we exit
the function (same fix as in VTK/CMake/)

Alex
2007-09-18 15:13:22 -04:00
Alexander Neundorf 4ee1ee1bd0 ENH: add support for the Portland Compiler to CMake, can build cmake and the tests pass (except the wrapping tests, which fail to link to the g++-compiled Qt)
Alex
2007-09-17 15:55:17 -04:00
Bill Hoffman 298b1491e6 ENH: allow for installation of debug libs 2007-09-17 15:26:59 -04:00
Bill Hoffman 9cbb998737 ENH: add support for vs 2008 beta 2 2007-09-17 15:21:47 -04:00
Alexander Neundorf 5ceafcb7e2 STYLE: mark the generator options as advanced
Alex
2007-08-31 16:27:08 -04:00
Alexander Neundorf 52bf51b425 ENH: add support for the next python release, python 2.6
Alex
2007-08-30 13:35:54 -04:00
Alexander Neundorf 483a147136 ENH: fail with error if trying to create a RPM stating that rpmbuild can't
handle spaces

Alex
2007-08-29 16:31:46 -04:00
Alexander Neundorf c3b42e90ed ENH: add flag so a terminating slash for the link path can be specified (needed by the Digital Mars D compiler)
Alex
2007-08-28 16:19:01 -04:00
Alexander Neundorf bd8b733d5e ENH: use the same CMAKE_SKIP_RPATH setting in CHECK_C/CXX_SOURCE_RUNS as in
the main project. I think it doesn't make sense if a project disables
RPATH, uses CHECK_C_SOURCE_RUNS() to see if something is able to run, and
this succeeds because it has been built with RPATH, but an executable built
within the project won't be able to run since it has been built without
RPATH.

Alex
2007-08-28 10:52:07 -04:00
Alexander Neundorf c41f798383 COMP: make it build on NetBSD, which has separate curses and ncurses, so
it has to be detected that curses isn't good enough, but ncurses is, and
that ncurses.h instead of curses.h is included

Alex
2007-08-27 09:01:14 -04:00
Alexander Neundorf 983e2a9a51 BUG: KDEDIRS contains the kde install locations, not the binary dirs, so
make KDEDIRS actually work in FindKDE4.cmake

Alex
2007-08-26 03:29:13 -04:00
Alexander Neundorf 1410eef27a STYLE: fix typo
Alex
2007-08-26 02:42:46 -04:00
Alexander Neundorf f35f1ac9ab STYLE: fix typo in the docs
Alex
2007-08-24 08:40:57 -04:00
Alexander Neundorf 6fd330b9e8 ENH: support QtScript
Alex
2007-08-21 16:51:30 -04:00
Alexander Neundorf b0b34dc7e5 ENH: support QtScript (since Qt 4.3), #4632
Alex
2007-08-21 16:50:49 -04:00
Alexander Neundorf 68c2dd8009 COMP: also use -Wl,-relax and -lc -lnss etc. when using the IBM compiler
Alex
2007-08-17 10:41:27 -04:00
Alexander Neundorf 45da4d2f80 ENH: patch from Eric Noulard for an RPM package generator
It seems rpmbuild can't handle paths with spaces, it complains that
Buildroot takes only one tag (or something like this), quoting and escaping
don't seem to help.

Alex
2007-08-17 09:13:15 -04:00
Bill Hoffman 038f3e240c ENH: use the correct flag for the linker 2007-08-17 09:00:13 -04:00
Alexander Neundorf fee42f6e68 STYLE: this wasn't intended to be committed
Alex
2007-08-16 15:03:31 -04:00
Alexander Neundorf 6b0e5745ab ENH: add -Wl,-relax to the default linker flags for BlueGene, otherwise you can get "relocation truncated to fit" errors
Alex
2007-08-16 15:02:14 -04:00
Bill Hoffman 8ee6fc0598 ENH: make sure osx searches static and shared libs like other platforms 2007-08-16 09:22:29 -04:00
Alexander Neundorf 5fdb818c84 COMP: fix arguments
Alex
2007-08-16 08:37:17 -04:00
Alexander Neundorf b100fe1fe1 STYLE: don't use an extra file to generate CMakeSystem.cmake but instead
configure the toolchain file into it if required
-also search for nm, objdump and objcpy, so these can be used in macros

Alex
2007-08-15 14:26:00 -04:00
Alexander Neundorf 984b0adc5f STYLE: explicitely set default options for sdcc, so it is visible for which
processor it currently compiles, use --out-fmt-ihx to enforce .ihx files

Alex
2007-08-15 14:22:54 -04:00
Alexander Neundorf 58b0e31784 COMP: ccmake requires ncurses, according to Berk and since it doesn't build
on NetBSD where there are separate curses and ncurses libraries, and where
the curses library is found, which doesn't work for ccmake while the
existing ncurses library would work.
With this change it should be possible to test whether the found curses lib
provides ncurses functionality.

Alex
2007-08-15 09:43:01 -04:00
Alexander Neundorf 281e08131a BUG: fix typo
Alex
2007-08-14 10:20:20 -04:00
Alexander Neundorf dfbd4ce0f2 ENH: deb generator: don't use the system provided ar, but do it yourself
using the code from OpenBSD ar
COMP: don't build all package generators on all platforms

Alex
2007-08-14 08:40:40 -04:00
Alexander Neundorf 263bb4e172 ENH: for universal binaries return the endianess based on the processor
Alex
2007-08-13 11:04:19 -04:00
Alexander Neundorf c2e714c079 COMP: turn error into warning for now
Alex
2007-08-12 21:08:14 -04:00
Alexander Neundorf 578841cce5 STYLE: remove unused CheckTypeSize.c.in
ENH: change test for endianess from TRY_RUN() to TRY_COMPILE() by testing
the binary image of a 16bit integer array, tested on Linux x86, Intel Mac
and Sun (big endian)

Alex
2007-08-10 13:14:00 -04:00
Alexander Neundorf 1fe4220669 STYLE: remove unnecessary default search paths
Alex
2007-08-10 11:37:29 -04:00
Alexander Neundorf 40e55ab780 BUG: fix compiler id test on cygwin
Alex
2007-08-10 09:20:14 -04:00
Alexander Neundorf 512e0d40ef ENH: set UNIX, WIN32 and APPLE in cmMakefile.cxx as it was before, so it
works for scripts, then reset them in CMakeSystemSpecificInformation.cxx, so
the platform modules can set them again for the target system

Alex
2007-08-10 09:07:39 -04:00
Alexander Neundorf f9cb0f3cb4 BUG: also include UnixPaths.cmake on these platforms, this also sets UNIX to 1
Alex
2007-08-10 08:54:42 -04:00
Alexander Neundorf 97b57fbaa4 BUG: use CMAKE_HOST_UNIX here instead of UNIX
Alex
2007-08-09 16:47:35 -04:00
Alexander Neundorf 176fe63d15 ENH: UNIX, CYGWIN, WIN32, APPLE, QNXNTO and BEOS are not longer set in
cmMakefile.cxx, but now in the platform files and are now valid for the
target platform, not the host platform.
New variables CMAKE_HOST_WIN32, CMAKE_HOST_UNIX, CMAKE_HOST_APPLE and
CMAKE_HOST_CYGWIN have been added in cmMakefile.cxx (...and have now to be
used in all cmake files which are executed before
CMakeSystemSpecificInformation.cmake is loaded). For compatibility the old
set is set to the new one in CMakeDetermineSystem.cmake and reset before the
system platform files are loaded, so custom language or compiler modules
which use these should still work.

Alex
2007-08-09 14:45:23 -04:00
Alexander Neundorf 4b92b89664 BUG: work with spaces in the path
Alex
2007-08-09 11:05:32 -04:00
Alexander Neundorf 4ba24ce474 ENH: patch from Mathieu: more entries in the debian control file
Alex
2007-08-08 14:18:13 -04:00
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