~ubuntu-branches/ubuntu/jaunty/cmake/jaunty-security

« back to all changes in this revision

Viewing changes to Source/cmGlobalBorlandMakefileGenerator.cxx

  • Committer: Bazaar Package Importer
  • Author(s): A. Maitland Bottoms
  • Date: 2006-06-18 16:34:11 UTC
  • mfrom: (1.4.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060618163411-pi234s3v6jwlcmof
Tags: 2.4.2-1
* New upstream release (Closes: #338324)
* Put cmake .vim files into /usr/share/vim/addons/plugin/
  where they can be used. (Closes: #366663)
* Install cmake-mode.el so it can be used. (Closes: #366664)
* Ensure cmake FindKDE locates KDE libraries on Debian
  based distributions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
  Program:   CMake - Cross-Platform Makefile Generator
4
4
  Module:    $RCSfile: cmGlobalBorlandMakefileGenerator.cxx,v $
5
5
  Language:  C++
6
 
  Date:      $Date: 2005/05/12 14:49:56 $
7
 
  Version:   $Revision: 1.16 $
 
6
  Date:      $Date: 2006/05/11 02:15:09 $
 
7
  Version:   $Revision: 1.20.2.2 $
8
8
 
9
9
  Copyright (c) 2002 Kitware, Inc., Insight Consortium.  All rights reserved.
10
10
  See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
21
21
 
22
22
cmGlobalBorlandMakefileGenerator::cmGlobalBorlandMakefileGenerator()
23
23
{
24
 
  m_FindMakeProgramFile = "CMakeBorlandFindMake.cmake";
25
 
  m_ForceUnixPaths = false;
 
24
  this->EmptyRuleHackDepends = "NUL";
 
25
  this->FindMakeProgramFile = "CMakeBorlandFindMake.cmake";
 
26
  this->ForceUnixPaths = false;
 
27
  this->ToolSupportsColor = true;
26
28
}
27
29
 
28
30
 
29
 
void cmGlobalBorlandMakefileGenerator::EnableLanguage(std::vector<std::string>const& l,
30
 
                                                      cmMakefile *mf)
 
31
void cmGlobalBorlandMakefileGenerator
 
32
::EnableLanguage(std::vector<std::string>const& l, cmMakefile *mf)
31
33
{
32
 
  std::string outdir = m_CMakeInstance->GetStartOutputDirectory();
 
34
  std::string outdir = this->CMakeInstance->GetStartOutputDirectory();
33
35
  mf->AddDefinition("BORLAND", "1");
34
36
  mf->AddDefinition("CMAKE_GENERATOR_CC", "bcc32");
35
37
  mf->AddDefinition("CMAKE_GENERATOR_CXX", "bcc32"); 
43
45
  lg->SetEchoNeedsQuote(false);
44
46
  lg->SetIncludeDirective("!include");
45
47
  lg->SetWindowsShell(true);
 
48
  lg->SetDefineWindowsNULL(true);
46
49
  lg->SetMakefileVariableSize(32);
47
50
  lg->SetPassMakeflags(true);
48
51
  lg->SetGlobalGenerator(this);
 
52
  lg->SetUnixCD(false);
49
53
  return lg;
50
54
}
51
55
 
52
56
 
53
57
//----------------------------------------------------------------------------
54
 
void cmGlobalBorlandMakefileGenerator::GetDocumentation(cmDocumentationEntry& entry) const
 
58
void cmGlobalBorlandMakefileGenerator
 
59
::GetDocumentation(cmDocumentationEntry& entry) const
55
60
{
56
61
  entry.name = this->GetName();
57
62
  entry.brief = "Generates Borland makefiles.";