From 8ed4c3e2675ba27dab0b198ba650d902c5db7748 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Wed, 27 May 2015 09:01:17 -0700 Subject: provide VS solution for building protoc plugins --- templates/vsprojects/vcxproj_defs.include | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'templates/vsprojects/vcxproj_defs.include') diff --git a/templates/vsprojects/vcxproj_defs.include b/templates/vsprojects/vcxproj_defs.include index 87412debda..55ec37393f 100644 --- a/templates/vsprojects/vcxproj_defs.include +++ b/templates/vsprojects/vcxproj_defs.include @@ -19,7 +19,10 @@ if not project_guid: project_guid = project.vs_project_guid if configuration_type == 'Application': - props.extend(['winsock', 'protobuf', 'zlib', 'openssl']) + if target.build == 'protoc': + props.extend(['protoc']) + else: + props.extend(['winsock', 'protobuf', 'zlib', 'openssl']) if target.language == 'c++': props.extend(['protobuf']) props.extend(['global']) -- cgit v1.2.3