~ubuntu-branches/ubuntu/quantal/cmake/quantal

« back to all changes in this revision

Viewing changes to Source/cmEnableLanguageCommand.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:
43
43
  /**
44
44
   * The name of the command as specified in CMakeList.txt.
45
45
   */
46
 
  virtual const char* GetName() {return "enable_language";}
 
46
  virtual const char* GetName() const {return "enable_language";}
47
47
 
48
48
  /**
49
49
   * Succinct documentation.
50
50
   */
51
 
  virtual const char* GetTerseDocumentation() 
 
51
  virtual const char* GetTerseDocumentation() const
52
52
    {
53
53
    return "Enable a language (CXX/C/Fortran/etc)";
54
54
    }
56
56
  /**
57
57
   * More documentation.
58
58
   */
59
 
  virtual const char* GetFullDocumentation()
 
59
  virtual const char* GetFullDocumentation() const
60
60
    {
61
61
    return
62
62
      "  enable_language(languageName [OPTIONAL] )\n"