Commits on Oct 24, 2018
  1. FindThreads: Pass -pthread to CUDA compiler through -Xcompiler

    DerDakon authored and bradking committed Oct 22, 2018
    Fixes: #18008
Commits on Oct 4, 2018
Commits on Jul 22, 2018
Commits on May 31, 2018
  1. FindALSA: add testcase

    DerDakon committed May 31, 2018
  2. FindALSA: reformat docs

    DerDakon committed May 28, 2018
Commits on May 11, 2018
Commits on Apr 24, 2018
  1. FindBLAS: do not write an imported target name into BLAS_LIBRARIES

    DerDakon authored and bradking committed Apr 24, 2018
    Since commit v3.11.0-rc1~177^2 (FindBLAS: optionally query pkg-config
    for a library, 2017-12-15) the `BLAS_LIBRARIES` result variable may
    incorrectly contain the name of an imported target.  Instead store the
    list of libraries in the variable.  Unfortunately pkg_check_modules does
    not provide a way to get this so we need to use a (temporary) hack of
    reading `INTERFACE_LINK_LIBRARIES` from the interface library target.
    Fixes: #17934
  2. FindPkgConfig: do not unset unused variable

    DerDakon authored and bradking committed Apr 24, 2018
    _props is never used, it was a leftover from a development step.
Commits on Apr 17, 2018
  1. typo: incerment -> increment

    DerDakon committed Apr 17, 2018
Commits on Apr 3, 2018
  1. WCDH: introduce BARE_FEATURES

    DerDakon committed Mar 19, 2018
    This allows defining compat versions of some C/C++ features with the name of the
    keyword itself, so all code can look as if it was written for the new language
Commits on Apr 2, 2018
  1. FindDCMTK: use CheckIncludeFiles instead of open coding it

    DerDakon committed Apr 2, 2018
    While at it remove a needless status message.
Commits on Mar 20, 2018
  1. WCDH: use better fallback value for nullptr with old gcc versions

    DerDakon committed Mar 19, 2018
    GCC supports the __null builtin basically forever (since at least 2.95), which
    behaves very much like nullptr later does. Use this instead of plain "0" as
    fallback value, otherwise passing the define to functions annotated with
    __attribute__((sentinel)) will result in a compiler warning.
Commits on Mar 8, 2018
Commits on Mar 6, 2018
  1. cmOutputConverter: mark helper functions static

    DerDakon committed Mar 6, 2018
    This allows the linker to entirely drop any symbols of the functions.
Commits on Dec 15, 2017
  1. FindBLAS: optionally query pkg-config for a library

    DerDakon committed Dec 15, 2017
    This is more or less what Gentoo implements for years, but in a more
    sophisticated version that uses the target mode now offered by
  2. FindBLAS: simplify if()

    DerDakon committed Dec 15, 2017
  3. FindBLAS: use FPHSA

    DerDakon committed Dec 15, 2017
Commits on Oct 25, 2017
  1. cmCommandArgumentParser: remove the variable tokens from the class

    DerDakon committed Oct 25, 2017
    Make them local constants in the lexer file.
Commits on Oct 8, 2017
Commits on Sep 29, 2017
Commits on Sep 25, 2017
  1. CursesDialog: avoid calling strcpy()

    DerDakon committed Sep 25, 2017
    Also use memset() and a few places where the compiler will collapse the for
    loop into such a call anyway.
Commits on Sep 23, 2017
Commits on Sep 19, 2017
  1. CTest: pass std::string to cmCTestCoverageHandler::ShouldIDoCoverage()

    DerDakon committed Sep 19, 2017
    Avoid needless conversion back and forth.
  2. CTest: fix crash if source file for coverage cannot be found

    DerDakon committed Sep 19, 2017
    The opened XML elements were not closed, so an assert was triggered when the
    file was finally closed. If CMake is built with assertions disabled then an
    invalid XML file will be produced.
Commits on Sep 15, 2017
  1. pass arguments as vector to cmCTest::RunCommand()

    DerDakon committed Sep 13, 2017
    The only 2 callers took care to construct a properly escaped string, but not
    using the documented way, and that string was passed only to be immediately
    split into tokens again. Start with a vector and join it only for logging,
    avoiding needless quotes during that.
Commits on Sep 1, 2017
Commits on Jul 10, 2017
  1. FindPkgConfig: do not always rerun pkg_check_modules() with 2 arguments

    DerDakon authored and bradking committed Jul 7, 2017
    Since commit v3.8.0-rc1~47^2 (FindPkgConfig: Recheck pkg-config on
    parameter change, 2017-01-17) calling `pkg_check_modules` always
    re-runs.  The problem is that if there are only 2 arguments passed to
    `pkg_check_modules```, then `_module0` will be set and `ARGN` will be
    empty.  When this is written to cache it will be stored as just the
    value of `_module0` without any semicolon, so on the next run this
    doesn't match the expected value and the search is rerun.
    Revise the logic to handle the case of empty `ARGN` separately.
    Fixes: #17003
Commits on Jun 12, 2017