aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Protobuf/Compilers
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2017-11-16 16:17:28 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2017-11-16 16:17:28 +0200
commit4be586d903da2b0dbba23f4978e14ad7d51edcbf (patch)
tree1149098a8fba457a46435474093eb4829242b146 /Software/Visual_Studio/Tango.Protobuf/Compilers
parente50cbadc53a3ed5ace454264016331b6e8b3b9aa (diff)
downloadTango-4be586d903da2b0dbba23f4978e14ad7d51edcbf.tar.gz
Tango-4be586d903da2b0dbba23f4978e14ad7d51edcbf.zip
Added PMR support for code composer.
Diffstat (limited to 'Software/Visual_Studio/Tango.Protobuf/Compilers')
-rw-r--r--Software/Visual_Studio/Tango.Protobuf/Compilers/CCompiler.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Protobuf/Compilers/CCompiler.cs b/Software/Visual_Studio/Tango.Protobuf/Compilers/CCompiler.cs
index 18aab84c6..0d97c9711 100644
--- a/Software/Visual_Studio/Tango.Protobuf/Compilers/CCompiler.cs
+++ b/Software/Visual_Studio/Tango.Protobuf/Compilers/CCompiler.cs
@@ -37,5 +37,24 @@ namespace Tango.Protobuf.Compilers
{
return "protoc-c";
}
+
+ /// <summary>
+ /// Compiles the specified .proto message file.
+ /// </summary>
+ /// <param name="inputFile">.proto file to compile</param>
+ /// <returns>
+ /// A list of compiled results.
+ /// </returns>
+ //public override IEnumerable<CompilerFileResult> CompileFile(string inputFile)
+ //{
+ // var files = base.CompileFile(inputFile);
+
+ // foreach (var file in files)
+ // {
+ // file.Name = file.Name.Replace(".pb-c", "");
+ // }
+
+ // return files;
+ //}
}
}