aboutsummaryrefslogtreecommitdiffstats
path: root/QtVsTools.Core/CompilerToolWrapper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'QtVsTools.Core/CompilerToolWrapper.cs')
-rw-r--r--QtVsTools.Core/CompilerToolWrapper.cs35
1 files changed, 0 insertions, 35 deletions
diff --git a/QtVsTools.Core/CompilerToolWrapper.cs b/QtVsTools.Core/CompilerToolWrapper.cs
index 1364757c..af1aca5b 100644
--- a/QtVsTools.Core/CompilerToolWrapper.cs
+++ b/QtVsTools.Core/CompilerToolWrapper.cs
@@ -70,18 +70,6 @@ namespace QtVsTools.Core
return wrapper.IsNull() ? null : wrapper;
}
- public static CompilerToolWrapper Create(VCPropertySheet sheet)
- {
- CompilerToolWrapper wrapper = null;
- try {
- wrapper = new CompilerToolWrapper(((IVCCollection)sheet.Tools)
- .Item("VCCLCompilerTool"));
- } catch {
- }
-
- return wrapper.IsNull() ? null : wrapper;
- }
-
protected CompilerToolWrapper(object tool)
{
if (tool == null)
@@ -127,29 +115,6 @@ namespace QtVsTools.Core
return GetStringProperty("PreprocessorDefinitions");
}
- public string[] GetAdditionalIncludeDirectoriesList()
- {
- var includes = GetAdditionalIncludeDirectories().Split(',', ';');
- var fixedincludes = new string[includes.Length];
- var i = 0;
- foreach (var include in includes) {
- var incl = include;
- if (incl.StartsWith("\\\"", StringComparison.Ordinal) && incl.EndsWith("\\\"", StringComparison.Ordinal)) {
- incl = incl.Remove(0, 2);
- incl = incl.Remove(incl.Length - 2, 2);
- }
- fixedincludes[i++] = incl;
- }
- return fixedincludes;
- }
-
- public string GetAdditionalIncludeDirectories()
- {
- if (compilerTool != null)
- return compilerTool.AdditionalIncludeDirectories;
- return GetStringProperty("AdditionalIncludeDirectories");
- }
-
public string GetPrecompiledHeaderThrough()
{
if (compilerTool != null)