~ubuntu-branches/ubuntu/raring/cmake/raring

« back to all changes in this revision

Viewing changes to Source/cmTryRunCommand.h

  • Committer: Package Import Robot
  • Author(s): Felix Geyer
  • Date: 2012-04-30 12:14:32 UTC
  • mfrom: (3.1.30 sid)
  • Revision ID: package-import@ubuntu.com-20120430121432-rqh2fjl3zcblehh5
Tags: 2.8.8-2ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add xfail_compiler_flag.diff: Mark compiler flag tests as expected
    failures.
  - Add ubuntu_qt_import_dir_variable.diff: define QT_IMPORTS_DIR even
    when that dir does not exist.
* Remove increase_ctest_test_timeout.diff, merged upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
  /**
41
41
   * The name of the command as specified in CMakeList.txt.
42
42
   */
43
 
  virtual const char* GetName() { return "try_run";}
 
43
  virtual const char* GetName() const { return "try_run";}
44
44
 
45
45
  /**
46
46
   * Succinct documentation.
47
47
   */
48
 
  virtual const char* GetTerseDocumentation() 
 
48
  virtual const char* GetTerseDocumentation() const
49
49
    {
50
50
    return "Try compiling and then running some code.";
51
51
    }
53
53
  /**
54
54
   * More documentation.
55
55
   */
56
 
  virtual const char* GetFullDocumentation()
 
56
  virtual const char* GetFullDocumentation() const
57
57
    {
58
58
    return
59
59
      "  try_run(RUN_RESULT_VAR COMPILE_RESULT_VAR\n"