summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudioGeneratorOptions.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-04-26 12:31:03 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-04-26 12:31:09 (GMT)
commitcaf6d93acd499aaa200f0b1338c334048f7f35f7 (patch)
tree21c1e1465bf78cd943b2df6f621a38ead2fb8e4c /Source/cmVisualStudioGeneratorOptions.h
parent0fada977fe58892d4c43ebc3cf4472f8c13a8ef6 (diff)
parent7d407b438ddc9470687f0fe30d1cef3749dbd8c5 (diff)
downloadCMake-caf6d93acd499aaa200f0b1338c334048f7f35f7.zip
CMake-caf6d93acd499aaa200f0b1338c334048f7f35f7.tar.gz
CMake-caf6d93acd499aaa200f0b1338c334048f7f35f7.tar.bz2
Merge topic 'numeric-indent'
7d407b438d cmVisualStudioGeneratorOptions: specify indentation with integer Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2008
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;