summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-04-10 18:48:57 (GMT)
committerBrad King <brad.king@kitware.com>2017-04-11 14:09:57 (GMT)
commit22829a130482511f8310caf74e190baee7ec763b (patch)
treefe2846f08b0578fccb7f6cde3421c06f6be8efd3 /Source/cmMakefile.h
parent0419ecbcad7719614349a07189b45e341a8f2c69 (diff)
downloadCMake-22829a130482511f8310caf74e190baee7ec763b.zip
CMake-22829a130482511f8310caf74e190baee7ec763b.tar.gz
CMake-22829a130482511f8310caf74e190baee7ec763b.tar.bz2
cmMakefile: Create an explicit "Object Libraries" source group
The generators should not need special logic to place object library object files in this group.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 4e48c88..03a22fd 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -9,6 +9,7 @@
#include <map>
#include <set>
#include <stack>
+#include <stddef.h>
#include <string>
#include <vector>
@@ -406,6 +407,8 @@ public:
cmSourceFile* GetOrCreateSource(const std::string& sourceName,
bool generated = false);
+ void AddTargetObject(std::string const& tgtName, std::string const& objFile);
+
/**
* Given a variable name, return its value (as a string).
* If the variable is not found in this makefile instance, the
@@ -817,6 +820,7 @@ protected:
#if defined(CMAKE_BUILD_WITH_CMAKE)
std::vector<cmSourceGroup> SourceGroups;
+ size_t ObjectLibrariesSourceGroupIndex;
#endif
std::vector<cmCommand*> FinalPassCommands;