diff options
author | Nicolas Noble <nnoble@google.com> | 2015-05-11 17:40:26 -0700 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2015-05-12 23:24:15 +0200 |
commit | e1445368526e047d1f50a81c0194c1ca902b4d70 (patch) | |
tree | 5e0c33057f7b0feeda8537deca01bfd219d4512b /templates/vsprojects/vcxproj_defs.include | |
parent | 903810191e19ef0d2bb593815b0b5277b3eb5487 (diff) |
Various Win32 fixes and improvements.
-) Properly setting up the endpoint pair.
-) Beancounting on socket shutdown to properly add references.
-) Only proceed to clear out data when called from the IOCP thread.
-) Enabling ALL the tests.
-) Fixing run_tests.py to properly invoke them.
Diffstat (limited to 'templates/vsprojects/vcxproj_defs.include')
-rw-r--r-- | templates/vsprojects/vcxproj_defs.include | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/vsprojects/vcxproj_defs.include b/templates/vsprojects/vcxproj_defs.include index 628074c75f..87412debda 100644 --- a/templates/vsprojects/vcxproj_defs.include +++ b/templates/vsprojects/vcxproj_defs.include @@ -4,12 +4,16 @@ <%def name="get_subsystem(is_library)">${'Windows' if is_library else 'Console'}</%def>\ <%def name="gen_project(name, collection, configuration_type = None, project_guid = None, props = [], packages = [])">\ <% + target = None for p in vsprojects: if p.name == name: project = p for t in collection: if t.name == name: target = t + if not configuration_type and target: + if target.build == 'test' or target.build == 'tool': + configuration_type = 'Application' if not configuration_type: configuration_type = 'StaticLibrary' if not project_guid: |