diff options
author | Nicolas Noble <nicolasnoble@users.noreply.github.com> | 2015-05-28 12:32:46 -0700 |
---|---|---|
committer | Nicolas Noble <nicolasnoble@users.noreply.github.com> | 2015-05-28 12:32:46 -0700 |
commit | bea00481717ed02dba5745fe240bee81359ad6af (patch) | |
tree | 4d75985bdde00fdfabb9173856b17d4bf65d5f21 /templates/vsprojects/vcxproj_defs.include | |
parent | 2c31a56d4a2af7177e5aaa2f3f40f5f6db8f570f (diff) | |
parent | 7692159e90f2c49c3512cd2a89b3820d9e2090ba (diff) |
Merge pull request #1770 from jtattermusch/plugin_vcxproj
Provide VS projects for building protoc plugins on Windows
Diffstat (limited to 'templates/vsprojects/vcxproj_defs.include')
-rw-r--r-- | templates/vsprojects/vcxproj_defs.include | 5 |
1 files changed, 4 insertions, 1 deletions
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']) |