diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2017-11-16 16:17:28 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2017-11-16 16:17:28 +0200 |
| commit | 4be586d903da2b0dbba23f4978e14ad7d51edcbf (patch) | |
| tree | 1149098a8fba457a46435474093eb4829242b146 /Software/Visual_Studio/Tango.Protobuf/Compilers/CCompiler.cs | |
| parent | e50cbadc53a3ed5ace454264016331b6e8b3b9aa (diff) | |
| download | Tango-4be586d903da2b0dbba23f4978e14ad7d51edcbf.tar.gz Tango-4be586d903da2b0dbba23f4978e14ad7d51edcbf.zip | |
Added PMR support for code composer.
Diffstat (limited to 'Software/Visual_Studio/Tango.Protobuf/Compilers/CCompiler.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Protobuf/Compilers/CCompiler.cs | 19 |
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; + //} } } |
