Updates will be applied on October 27th between 12pm - 12:45pm EDT (UTC-0400). Gitlab may be slow during the maintenance window.

  1. 27 Mar, 2012 2 commits
    • Ben Boeckel's avatar
      Search for other ABIFLAGS builds of Python · 4bdec581
      Ben Boeckel authored
      Starting with Python3, standard Python installs may have additional ABI
      flags attached to include directories and library names. As of 3.2, the
      following flags are in the configure file:
          d -> --with-debug
          m -> --with-pymalloc
          u -> --with-wide-unicode
      Python 3.3 seems to no longer have --with-wide-unicode. Hopefully Python
      will ensure that the possible flags always show up in a stable order.
      The 'd' flag is ignored since the debug library is considered separate.
      There is still the problem where ABI flags cannot be specified in
      find_package since the letters confuse the version comparator.
    • Ben Boeckel's avatar
      Don't put legacy variables back into the cache · 6a46f5ce
      Ben Boeckel authored
      If PYTHON_INCLUDE_PATH is put into the cache, then it will always
      override whatever might be found and PYTHON_INCLUDE_DIR is never given a
      chance to find something different. It being marked as INTERNAL also
      means that it cannot be changed without editing CMakeCache.txt directly.
      Basically, the scenario is that if the Python version is changed, then
      deleting PYTHON_INCLUDE_DIR doesn't work because any cached
      PYTHON_INCLUDE_PATH variable is set before find_path is even called. Any
      build tree using a previous version will still need either manual
      removal of PYTHON_INCLUDE_PATH or a complete reconfigure, but in the
      future changing the Python version can be accomplished by deleting
      PYTHON_INCLUDE_DIR and reconfiguring with the new version.
  2. 23 Feb, 2012 2 commits
  3. 22 Feb, 2012 3 commits
  4. 10 Jan, 2012 1 commit
    • Christian Andersson's avatar
      FindPythonLibs: Search for single-user installs on Windows · a04ced3b
      Christian Andersson authored
      When cmake searches for Python libs in Windows it searches in:
      However, the information might not always reside there.  The information
      could also reside in:
      when one installs Python for a single user and not for all users.
  5. 20 Jan, 2011 1 commit
    • Brad King's avatar
      Modules: Include builtin FindPackageHandleStandardArgs directly · c4275592
      Brad King authored
      The FindPackageHandleStandardArgs module was originally created outside
      of CMake.  It was added for CMake 2.6.0 by commit e118a627 (add a macro
      FIND_PACKAGE_HANDLE_STANDARD_ARGS..., 2007-07-18).  However, it also
      proliferated into a number of other projects that at the time required
      only CMake 2.4 and thus could not depend on CMake to provide the module.
      CMake's own find modules started using the module in commit b5f656e0
      (use the new FIND_PACKAGE_HANDLE_STANDARD_ARGS in some of the FindXXX
      modules..., 2007-07-18).
      Then commit d358cf5c (add 2nd, more powerful mode to
      find_package_handle_standard_args, 2010-07-29) added a new feature to
      the interface of the module that was fully optional and backward
      compatible with all existing users of the module.  Later commit 5f183caa
      (FindZLIB: use the FPHSA version mode, 2010-08-04) and others shortly
      thereafter started using the new interface in CMake's own find modules.
      This change was also backward compatible because it was only an
      implementation detail within each module.
      Unforutnately these changes introduced a problem for projects that still
      have an old copy of FindPackageHandleStandardArgs in CMAKE_MODULE_PATH.
      When any such project uses one of CMake's builtin find modules the line
      loads the copy from the project which does not have the new interface!
      Then the including find module tries to use the new interface with the
      old module and fails.
      Whether this breakage can be considered a backward incompatible change
      in CMake is debatable.  The situation is analagous to copying a standard
      library header from one version of a compiler into a project and then
      observing problems when the next version of the compiler reports errors
      in its other headers that depend on its new version of the original
      header.  Nevertheless it is a change to CMake that causes problems for
      projects that worked with previous versions.
      This problem was discovered during the 2.8.3 release candidate cycle.
      It is an instance of a more general problem with projects that provide
      their own versions of CMake modules when other CMake modules depend on
      them.  At the time we resolved this instance of the problem with commit
      b0118402 (Use absolute path to FindPackageHandleStandardArgs.cmake
      everywhere, 2010-09-28) for the 2.8.3 release.
      In order to address the more general problem we introduced policy
      CMP0017 in commit db44848f (Prefer files from CMAKE_ROOT when including
      from CMAKE_ROOT, 2010-11-17).  That change was followed by commit
      ce28737c (Remove usage of CMAKE_CURRENT_LIST_DIR now that we have
      CMP0017, 2010-12-20) which reverted the original workaround in favor of
      using the policy.  However, existing project releases do not set the
      policy behavior to NEW and therefore still exhibit the problem.
      We introduced in commit a364daf1 (Allow users to specify defaults for
      unset policies, 2011-01-03) an option for users to build existing
      projects by adding -DCMAKE_POLICY_DEFAULT_CMP0017=NEW to the command
      line.  Unfortunately this solution still does not allow such projects to
      build out of the box, and there is no good way to suggest the use of the
      new option.
      The only remaining solution to keep existing projects that exhibit this
      problem building is to restore the change originally made in commit
      b0118402 (Use absolute path to FindPackageHandleStandardArgs.cmake
      everywhere, 2010-09-28).  This also avoids policy CMP0017 warnings for
      this particular instance of the problem the policy addresses.
  6. 17 Jan, 2011 1 commit
  7. 10 Jan, 2011 1 commit
    • Marcus D. Hanwell's avatar
      Python additional version support, bug #10279. · 2d3594b1
      Marcus D. Hanwell authored
      Introduced an additional variable, Python_ADDITIONAL_VERSIONS, to both
      FindPythonLibs and FindPythonInterp. Changed FindPythonInterp to loop
      over versions rather than hardcoding all versions (more like libs).
  8. 04 Jan, 2011 1 commit
  9. 19 Oct, 2010 1 commit
  10. 28 Sep, 2010 1 commit
  11. 24 Sep, 2010 1 commit
  12. 13 Aug, 2010 1 commit
  13. 09 Aug, 2010 1 commit
  14. 17 Feb, 2010 3 commits
  15. 28 Jan, 2010 1 commit
  16. 14 Dec, 2009 1 commit
  17. 28 Oct, 2009 1 commit
  18. 19 Oct, 2009 1 commit
  19. 01 Oct, 2009 1 commit
  20. 28 Sep, 2009 1 commit
    • Brad King's avatar
      Convert CMake find-modules to BSD License · c4bb9c9d
      Brad King authored
      This adds copyright/license notification blocks CMake's find-modules.
      Many of the modules had no notices at all.  Some had notices referring
      to the BSD license already.  This commit normalizes existing notices and
      adds missing notices.
  21. 14 Sep, 2009 1 commit
  22. 15 Feb, 2008 1 commit
  23. 17 Jan, 2008 1 commit
  24. 18 Sep, 2007 1 commit
    • Alexander Neundorf's avatar
      · ec207513
      Alexander Neundorf authored
      BUG: make the string static, otherwise the contents are gone when we exit
      the function (same fix as in VTK/CMake/)
  25. 30 Aug, 2007 1 commit
    • Alexander Neundorf's avatar
      · 52bf51b4
      Alexander Neundorf authored
      ENH: add support for the next python release, python 2.6
  26. 16 Aug, 2007 2 commits
    • Alexander Neundorf's avatar
      · fee42f6e
      Alexander Neundorf authored
      STYLE: this wasn't intended to be committed
    • Alexander Neundorf's avatar
      · 6b0e5745
      Alexander Neundorf authored
      ENH: add -Wl,-relax to the default linker flags for BlueGene, otherwise you can get "relocation truncated to fit" errors
  27. 02 Aug, 2007 1 commit
    • 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
  28. 27 Jul, 2007 1 commit
    • 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
  29. 25 Jul, 2007 1 commit
    • 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
  30. 23 Jul, 2007 1 commit
    • 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)
  31. 19 Jul, 2007 3 commits
    • Alexander Neundorf's avatar
      · 3907d594
      Alexander Neundorf authored
      BUG: fix typo
    • Alexander Neundorf's avatar
      · f0b6f027
      Alexander Neundorf authored
      ENH: make the list of modules global
    • Alexander Neundorf's avatar
      · 3d862c44
      Alexander Neundorf authored
      ENH: only load the static modules in the LoadAll function