1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmLocalXCodeGenerator.cxx,v $
6 Date: $Date: 2007/08/14 15:45:14 $
7 Version: $Revision: 1.7 $
9 Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
10 See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
16 =========================================================================*/
17 #include "cmLocalXCodeGenerator.h"
18 #include "cmGlobalXCodeGenerator.h"
19 #include "cmSourceFile.h"
21 //----------------------------------------------------------------------------
22 cmLocalXCodeGenerator::cmLocalXCodeGenerator()
24 // the global generator does this, so do not
25 // put these flags into the language flags
26 this->EmitUniversalBinaryFlags
= false;
29 //----------------------------------------------------------------------------
30 cmLocalXCodeGenerator::~cmLocalXCodeGenerator()
34 //----------------------------------------------------------------------------
36 cmLocalXCodeGenerator::GetTargetDirectory(cmTarget
const&) const
38 // No per-target directory for this generator (yet).
42 //----------------------------------------------------------------------------
43 void cmLocalXCodeGenerator::
44 GetTargetObjectFileDirectories(cmTarget
* target
,
45 std::vector
<std::string
>&
48 cmGlobalXCodeGenerator
* g
=
49 (cmGlobalXCodeGenerator
*)this->GetGlobalGenerator();
50 g
->SetCurrentLocalGenerator(this);
51 g
->GetTargetObjectFileDirectories(target
,