summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudioGeneratorOptions.h
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2018-04-25 15:01:37 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2018-04-25 15:01:37 (GMT)
commit7d407b438ddc9470687f0fe30d1cef3749dbd8c5 (patch)
tree1065c7658cbc180e62726127c0055f32a695ed6c /Source/cmVisualStudioGeneratorOptions.h
parent83e3b1497d4889f8dbb7238a270296377035e40b (diff)
downloadCMake-7d407b438ddc9470687f0fe30d1cef3749dbd8c5.zip
CMake-7d407b438ddc9470687f0fe30d1cef3749dbd8c5.tar.gz
CMake-7d407b438ddc9470687f0fe30d1cef3749dbd8c5.tar.bz2
cmVisualStudioGeneratorOptions: specify indentation with integer
Diffstat (limited to 'Source/cmVisualStudioGeneratorOptions.h')
-rw-r--r--Source/cmVisualStudioGeneratorOptions.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/Source/cmVisualStudioGeneratorOptions.h b/Source/cmVisualStudioGeneratorOptions.h
index 974ca62..c6b594d 100644
--- a/Source/cmVisualStudioGeneratorOptions.h
+++ b/Source/cmVisualStudioGeneratorOptions.h
@@ -77,18 +77,17 @@ public:
bool IsWinRt() const;
bool IsManaged() const;
// Write options to output.
- void OutputPreprocessorDefinitions(std::ostream& fout, const char* prefix,
+ void OutputPreprocessorDefinitions(std::ostream& fout, int indent,
const std::string& lang);
- void OutputAdditionalIncludeDirectories(std::ostream& fout,
- const char* prefix,
+ void OutputAdditionalIncludeDirectories(std::ostream& fout, int indent,
const std::string& lang);
- void OutputFlagMap(std::ostream& fout, const char* indent);
+ void OutputFlagMap(std::ostream& fout, int indent);
void SetConfiguration(const std::string& config);
const std::string& GetConfiguration() const;
protected:
- virtual void OutputFlag(std::ostream& fout, const char* indent,
- const char* tag, const std::string& content) = 0;
+ virtual void OutputFlag(std::ostream& fout, int indent, const char* tag,
+ const std::string& content) = 0;
private:
cmLocalVisualStudioGenerator* LocalGenerator;