summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio10Generator.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLocalVisualStudio10Generator.h')
-rw-r--r--Source/cmLocalVisualStudio10Generator.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/Source/cmLocalVisualStudio10Generator.h b/Source/cmLocalVisualStudio10Generator.h
index 5c6400e..45ee082 100644
--- a/Source/cmLocalVisualStudio10Generator.h
+++ b/Source/cmLocalVisualStudio10Generator.h
@@ -1,7 +1,6 @@
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
-#ifndef cmLocalVisualStudio10Generator_h
-#define cmLocalVisualStudio10Generator_h
+#pragma once
#include "cmConfigure.h" // IWYU pragma: keep
@@ -26,26 +25,13 @@ public:
virtual ~cmLocalVisualStudio10Generator();
- /**
- * Generate the makefile for this directory.
- */
- void Generate() override;
void ReadAndStoreExternalGUID(const std::string& name,
const char* path) override;
- std::set<cmSourceFile const*>& GetSourcesVisited(cmGeneratorTarget* target)
- {
- return SourcesVisited[target];
- };
-
protected:
const char* ReportErrorLabel() const override;
bool CustomCommandUseLocal() const override { return true; }
private:
- void GenerateTargetsDepthFirst(cmGeneratorTarget* target,
- std::vector<cmGeneratorTarget*>& remaining);
-
- std::map<cmGeneratorTarget*, std::set<cmSourceFile const*>> SourcesVisited;
+ void GenerateTarget(cmGeneratorTarget* target) override;
};
-#endif