1. 07 Aug, 2007 1 commit
    • Alexander Neundorf's avatar
      · 8d7b5023
      Alexander Neundorf authored
      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
      8d7b5023
  2. 06 Aug, 2007 3 commits
  3. 03 Aug, 2007 1 commit
    • Alexander Neundorf's avatar
      · 68674bd0
      Alexander Neundorf authored
      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
      68674bd0
  4. 02 Aug, 2007 2 commits
    • Alexander Neundorf's avatar
      · f32aa8f2
      Alexander Neundorf authored
      ENH: make the python modules usable for C and C++ and only write the header
      if it has changed
      
      Alex
      f32aa8f2
    • Alexander Neundorf's avatar
      · dac78148
      Alexander Neundorf authored
      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
      dac78148
  5. 01 Aug, 2007 1 commit
    • Alexander Neundorf's avatar
      · 21f73ebc
      Alexander Neundorf authored
      ENH: add support for Catamount, the OS running on the compute nodes of Cray super computers
      
      Alex
      21f73ebc
  6. 31 Jul, 2007 1 commit
    • Alexander Neundorf's avatar
      · 7beee2df
      Alexander Neundorf authored
      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
      7beee2df
  7. 27 Jul, 2007 2 commits
    • Alexander Neundorf's avatar
      · 507896e0
      Alexander Neundorf authored
      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
      507896e0
    • Alexander Neundorf's avatar
      · d6a0c330
      Alexander Neundorf authored
      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
      d6a0c330
  8. 25 Jul, 2007 2 commits
    • Alexander Neundorf's avatar
      · 7e9eed02
      Alexander Neundorf authored
      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
      7e9eed02
    • Alexander Neundorf's avatar
      · a39aff52
      Alexander Neundorf authored
      ENH: add an empty debian package generator, Mathieu volunteered to fill it
      :-)
      
      Alex
      a39aff52
  9. 24 Jul, 2007 2 commits
    • Alexander Neundorf's avatar
      · 91926551
      Alexander Neundorf authored
      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
      91926551
    • Alexander Neundorf's avatar
      · 8a6e2bb8
      Alexander Neundorf authored
      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
      8a6e2bb8
  10. 23 Jul, 2007 2 commits
    • Alexander Neundorf's avatar
      · 3c92cfbe
      Alexander Neundorf authored
      STYLE: mark the variable as advanced
      
      Alex
      3c92cfbe
    • Alexander Neundorf's avatar
      · 13db5b57
      Alexander Neundorf authored
      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
      13db5b57
  11. 19 Jul, 2007 7 commits
    • Alexander Neundorf's avatar
      · 3a12116e
      Alexander Neundorf authored
      ENH: try if tail works with the -n +<number> syntax, if not use only
      "+<number>" (GNU tail warns that this is deprecated)
      
      Alex
      3a12116e
    • Alexander Neundorf's avatar
      · 0f4985ea
      Alexander Neundorf authored
      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
      0f4985ea
    • Alexander Neundorf's avatar
      · 3907d594
      Alexander Neundorf authored
      BUG: fix typo
      
      Alex
      3907d594
    • Alexander Neundorf's avatar
      · f0b6f027
      Alexander Neundorf authored
      ENH: make the list of modules global
      
      Alex
      f0b6f027
    • Alexander Neundorf's avatar
      · 3d862c44
      Alexander Neundorf authored
      ENH: only load the static modules in the LoadAll function
      
      Alex
      3d862c44
    • Alexander Neundorf's avatar
      · ad8efca0
      Alexander Neundorf authored
      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
      ad8efca0
    • Alexander Neundorf's avatar
      · c7770b8e
      Alexander Neundorf authored
      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
      c7770b8e
  12. 18 Jul, 2007 3 commits
    • Alexander Neundorf's avatar
      · b5f656e0
      Alexander Neundorf authored
      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
      b5f656e0
    • Alexander Neundorf's avatar
      · e118a627
      Alexander Neundorf authored
      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
      e118a627
    • Alexander Neundorf's avatar
      · ff9ed18d
      Alexander Neundorf authored
      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
      ff9ed18d
  13. 17 Jul, 2007 2 commits
    • Alexander Neundorf's avatar
      · 57f25c53
      Alexander Neundorf authored
      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
      57f25c53
    • Alexander Neundorf's avatar
      · 7eb86d1e
      Alexander Neundorf authored
      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
      7eb86d1e
  14. 16 Jul, 2007 2 commits
    • Alexander Neundorf's avatar
      · ce33d80f
      Alexander Neundorf authored
      BUG: the Plugin test fails on NetBSD, let's see if this fixes it
      
      Alex
      ce33d80f
    • Alexander Neundorf's avatar
      · 5bd38eb6
      Alexander Neundorf authored
      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
      5bd38eb6
  15. 13 Jul, 2007 2 commits
    • Alexander Neundorf's avatar
      · 2339b9f7
      Alexander Neundorf authored
      ENH: add DragonFly BSD, which is very close to FreeBSD (#4500)
      
      Alex
      2339b9f7
    • Alexander Neundorf's avatar
      · 8e6f6155
      Alexander Neundorf authored
      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
      8e6f6155
  16. 12 Jul, 2007 5 commits
    • Alexander Neundorf's avatar
      · 2509e24a
      Alexander Neundorf authored
      ENH: add the static libs always to the link libs, if they are not used it shouldn't hurt
      
      Alex
      2509e24a
    • Alexander Neundorf's avatar
      · 3e72dbe4
      Alexander Neundorf authored
      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
      3e72dbe4
    • Alexander Neundorf's avatar
      · d0901593
      Alexander Neundorf authored
      ENH: add support for the ADSP toolchains for Blackfin, Shark and TigerShark
      DSPs, patch from Raphael Cotty
      
      Alex
      d0901593
    • Alexander Neundorf's avatar
      · a5be2b77
      Alexander Neundorf authored
      BUG: honor REQUIRED and QUIETLY (#5312)
      
      Alex
      a5be2b77
    • Alexander Neundorf's avatar
      ENH: second try for handling the linker language with integer priority values... · 021ceea1
      Alexander Neundorf authored
      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
      021ceea1
  17. 11 Jul, 2007 2 commits
    • Alexander Neundorf's avatar
      16705a3e
    • Alexander Neundorf's avatar
      · bea1a5de
      Alexander Neundorf authored
      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
      bea1a5de