Skip to content
Snippets Groups Projects
  1. Mar 28, 2017
    • Brad King's avatar
      MSVC: Restore _DEBUG preprocessor definition in RC debug builds · fff34934
      Brad King authored
      In commit v3.8.0-rc1~304^2 (MSVC: Do not define _DEBUG explicitly when
      using /MDd, 2016-11-15) we removed the `_DEBUG` preprocessor definition
      from MSVC C and C++ flags because the `cl` compiler automatically
      defines it in Debug builds anyway.  However, the VS generators propagate
      C preprocessor definitions to the RC (Windows Resource Compiler) tool.
      This means that we used to explicitly define `_DEBUG` for RC debug
      builds.  Therefore existing project code may expect the definition to be
      there even though the `rc` compiler itself does not implicitly define
      `_DEBUG` in debug builds.
      
      Add the `_DEBUG` flag to the default `CMAKE_RC_FLAGS_DEBUG` instead
      to restore this definition for RC debug builds.  This also makes it
      available consistently in VS, Ninja, and Makefile generators.
      
      Fixes: #16745
      fff34934
    • Brad King's avatar
      79a91538
  2. Mar 23, 2017
  3. Mar 22, 2017
  4. Mar 21, 2017
  5. Mar 20, 2017
  6. Mar 15, 2017
  7. Mar 10, 2017
    • Brad King's avatar
      FindGit: Avoid finding VS 2017 non-general Git installation · c4d481e5
      Brad King authored
      At a VS 2017 command prompt the `PATH` contains a directory that happens
      to have a `Git/cmd/git.exe` inside it.  However, this executable is not
      meant for general use.  Revise our use of `Git/` path suffixes to be
      more specific to its original purpose of searching in the typical
      `c:/Program Files*/Git/` installation directories.  Avoid using the
      suffixes on `PATH` entries.
      
      Fixes: #16706
      c4d481e5
  8. Mar 06, 2017
    • Matthäus G. Chajdas's avatar
      FindVulkan: Fix for SDK versions < 1.0.42 on 32-bit Windows · 723955cd
      Matthäus G. Chajdas authored and Brad King's avatar Brad King committed
      Before Vulkan 1.0.42, the SDK would add the Bin directory to `PATH`,
      which was confusing the 32-bit search on Windows.  Avoid such confusion
      by ignoring the `PATH` when looking for the 32-bit version.
      
      Vulkan 1.0.42 fixed the whole problem by moving the libraries into Lib,
      Lib32, so this is strictly a compatibility fix for old SDKs.
      723955cd
    • Kris Thielemans's avatar
      FindHDF5: Restore `-D` in HDF5_DEFINITIONS · ea2a8dd2
      Kris Thielemans authored and Brad King's avatar Brad King committed
      Changes in commit v3.8.0-rc1~7^2~5 (FindHDF5: Fix command-line parsing
      argument extraction order, 2017-02-02) accidentally dropped `-D` from
      preprocessor definition flags extracted from the HDF5 compiler wrappers.
      
      Fixes: #16693
      ea2a8dd2
  9. Mar 03, 2017
  10. Mar 02, 2017
  11. Mar 01, 2017
  12. Feb 24, 2017
  13. Feb 22, 2017
  14. Feb 21, 2017
  15. Feb 20, 2017
    • Ben Boeckel's avatar
      FindGTK2: handle old libsigc++ versions · 2ab118a8
      Ben Boeckel authored
      Old versions of `libsigc++` do not have the version macros inside of its
      `sigc++config.h` header. Assume nothing about such headers and report
      version "zero".
      
      Fixes: #16654
      2ab118a8
  16. Feb 17, 2017
    • Brad King's avatar
      FindHDF5: Fix search for language-specific header file · 96d61393
      Brad King authored
      Refactoring in commit v3.6.0-rc1~85^2 (HDF5: Refactor the use of
      compiler wrappers, 2016-04-04) converted code of the form
      
          if(${LANGUAGE} MATCHES ...)
      
      to
      
          if(LANGUAGE MATCHES ...)
      
      However, `LANGUAGE` is a foreach() loop variable and not a normal
      variable so auto-dereference does not occur.  Restore the explicit `${}`
      syntax and use the new name of the loop variable that has changed since
      then too.
      
      Fixes: #16651
      96d61393
    • Brad King's avatar
      FindHDF5: Restore HDF5_<LANG>_INCLUDE_DIR advanced cache entry mark · 28bb68e3
      Brad King authored
      Refactoring in commit v3.6.0-rc1~72^2 (HDF5: Rework component searching
      to correctly find HL for all bindings, 2016-05-12) renamed the language
      loop variable used to construct the name of `HDF5_<LANG>_INCLUDE_DIR`
      but forgot to update it in the `mark_as_advanced` call.  Fix it now.
      
      Issue: #16651
      28bb68e3
  17. Feb 15, 2017
    • Brad King's avatar
      CUDA: Fix default compiler flags on Windows · 55fb46d2
      Brad King authored
      Fix the default values of `CMAKE_CUDA_FLAGS[_<CONFIG>]` on Windows to
      make the host compiler flags match those produced for C++ by the
      `Platform/Windows-MSVC` module.  This makes the flags consistent with
      those used for C++.
      55fb46d2
  18. Feb 14, 2017
Loading