PageRenderTime 103ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

/mordor/protoc.props

http://github.com/mozy/mordor
MSBuild | 20 lines | 20 code | 0 blank | 0 comment | 0 complexity | bbd0ea8214e6700619fcbbed823ae0a3 MD5 | raw file
Possible License(s): BSD-3-Clause
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <PropertyGroup
  4. Condition="'$(ProtocBeforeTargets)' == '' and '$(ProtocAfterTargets)' == '' and '$(ConfigurationType)' != 'Makefile'">
  5. <ProtocBeforeTargets>Midl</ProtocBeforeTargets>
  6. <ProtocAfterTargets>CustomBuild</ProtocAfterTargets>
  7. </PropertyGroup>
  8. <PropertyGroup>
  9. <ProtocDependsOn
  10. Condition="'$(ConfigurationType)' != 'Makefile'">_SelectedFiles;$(ProtocDependsOn)</ProtocDependsOn>
  11. </PropertyGroup>
  12. <ItemDefinitionGroup>
  13. <Protoc>
  14. <CppOutDir>$(IntDir)</CppOutDir>
  15. <CommandLineTemplate>protoc.exe [AllOptions] [AdditionalOptions] --error_format=msvs [inputs]</CommandLineTemplate>
  16. <Outputs>%(CppOutDir)%(Filename).pb.cc;%(CppOutDir)%(Filename).pb.h</Outputs>
  17. <ExecutionDescription>Compiling protobuf: [inputs]</ExecutionDescription>
  18. </Protoc>
  19. </ItemDefinitionGroup>
  20. </Project>