Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
bb88668a
Commit
bb88668a
authored
Jun 06, 2015
by
Stephen Kelly
Committed by
Brad King
Jun 22, 2015
Browse files
cmNinjaGenerator: Require cmGeneratorTarget.
parent
a3b210fd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Source/cmNinjaNormalTargetGenerator.cxx
View file @
bb88668a
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
cmNinjaNormalTargetGenerator
::
cmNinjaNormalTargetGenerator
::
cmNinjaNormalTargetGenerator
(
cmGeneratorTarget
*
target
)
cmNinjaNormalTargetGenerator
(
cmGeneratorTarget
*
target
)
:
cmNinjaTargetGenerator
(
target
->
Target
)
:
cmNinjaTargetGenerator
(
target
)
,
TargetNameOut
()
,
TargetNameOut
()
,
TargetNameSO
()
,
TargetNameSO
()
,
TargetNameReal
()
,
TargetNameReal
()
...
...
Source/cmNinjaTargetGenerator.cxx
View file @
bb88668a
...
@@ -57,19 +57,18 @@ cmNinjaTargetGenerator::New(cmGeneratorTarget* target)
...
@@ -57,19 +57,18 @@ cmNinjaTargetGenerator::New(cmGeneratorTarget* target)
}
}
}
}
cmNinjaTargetGenerator
::
cmNinjaTargetGenerator
(
cmTarget
*
target
)
cmNinjaTargetGenerator
::
cmNinjaTargetGenerator
(
cm
Generator
Target
*
target
)
:
:
MacOSXContentGenerator
(
0
),
MacOSXContentGenerator
(
0
),
OSXBundleGenerator
(
0
),
OSXBundleGenerator
(
0
),
MacContentFolders
(),
MacContentFolders
(),
Target
(
target
),
Target
(
target
->
Target
),
Makefile
(
target
->
Get
Makefile
()
),
Makefile
(
target
->
Makefile
),
LocalGenerator
(
LocalGenerator
(
static_cast
<
cmLocalNinjaGenerator
*>
(
Makefile
->
GetLocalGenerator
())),
static_cast
<
cmLocalNinjaGenerator
*>
(
target
->
GetLocalGenerator
())),
Objects
()
Objects
()
{
{
this
->
GeneratorTarget
=
this
->
GeneratorTarget
=
target
;
this
->
GetGlobalGenerator
()
->
GetGeneratorTarget
(
target
);
MacOSXContentGenerator
=
new
MacOSXContentGeneratorType
(
this
);
MacOSXContentGenerator
=
new
MacOSXContentGeneratorType
(
this
);
}
}
...
...
Source/cmNinjaTargetGenerator.h
View file @
bb88668a
...
@@ -33,7 +33,7 @@ public:
...
@@ -33,7 +33,7 @@ public:
static
cmNinjaTargetGenerator
*
New
(
cmGeneratorTarget
*
target
);
static
cmNinjaTargetGenerator
*
New
(
cmGeneratorTarget
*
target
);
/// Build a NinjaTargetGenerator.
/// Build a NinjaTargetGenerator.
cmNinjaTargetGenerator
(
cmTarget
*
target
);
cmNinjaTargetGenerator
(
cm
Generator
Target
*
target
);
/// Destructor.
/// Destructor.
virtual
~
cmNinjaTargetGenerator
();
virtual
~
cmNinjaTargetGenerator
();
...
...
Source/cmNinjaUtilityTargetGenerator.cxx
View file @
bb88668a
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
cmNinjaUtilityTargetGenerator
::
cmNinjaUtilityTargetGenerator
(
cmNinjaUtilityTargetGenerator
::
cmNinjaUtilityTargetGenerator
(
cmGeneratorTarget
*
target
)
cmGeneratorTarget
*
target
)
:
cmNinjaTargetGenerator
(
target
->
Target
)
{}
:
cmNinjaTargetGenerator
(
target
)
{}
cmNinjaUtilityTargetGenerator
::~
cmNinjaUtilityTargetGenerator
()
{}
cmNinjaUtilityTargetGenerator
::~
cmNinjaUtilityTargetGenerator
()
{}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment