Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow using CTEST_USE_LAUNCHERS even when tests are disabled #772

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on May 3, 2016

  1. Allow using CTEST_USE_LAUNCHERS even when tests are disabled

    Since cmake >= 3.0, using CTEST_USE_LAUNCHERS requires include(CTestUseLaunchers),
    which is automatically done by include(CTest)
    
    Setting CTEST_USE_LAUNCHERS in the cache without including CTest later
    triggers a configuration error :
       CMake Error: CTEST_USE_LAUNCHERS is enabled, but the RULE_LAUNCH_COMPILE
       global property is not defined.
       Did you forget to include(CTest) in the toplevel CMakeLists.txt ?
    
    CTEST_USE_LAUNCHERS was silently ignored in cmake <= 2.8 when not including CTest
    
    Include CTestUseLaunchers always, so that CTEST_USE_LAUNCHERS can be used even when not
    including CTest (for example for MinGW builds).
    This helps presenting the build errors and warnings more cleanly on the Dashboard.
    julienmalik committed May 3, 2016
    Configuration menu
    Copy the full SHA
    85e4780 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    37ce88a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    468c8bb View commit details
    Browse the repository at this point in the history
  4. Fix indentation

    julienmalik committed May 3, 2016
    Configuration menu
    Copy the full SHA
    8f2afb3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    90ecbc5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a995ca7 View commit details
    Browse the repository at this point in the history