<%namespace file="packages.include" import="gen_packages_config"/>\ <%def name="get_repo_root()">..\..\ <%def name="to_windows_path(path)">${path.replace('/','\\')}\ <%def name="get_subsystem(is_library)">${'Windows' if is_library else 'Console'}\ <%def name="gen_project(name, libs, targets, configuration_type = 'StaticLibrary', project_guid = None, additional_props = [], openssl_pkg_version = None, zlib_pkg_version = None)">\ % for project in vsprojects: % if project.name == name: % if openssl_pkg_version: % endif Debug Win32 Release Win32 ${project_guid if project_guid else project.vs_project_guid} v100 v110 v120 ${configuration_type} true Unicode ${configuration_type} false true Unicode % for prop in additional_props: % endfor % for prop in additional_props: % endfor ${name} ${name} NotUsing Level3 Disabled WIN32;_DEBUG;_LIB;_USE_32BIT_TIME_T;%(PreprocessorDefinitions) true ${get_subsystem(project.is_library)} true Level3 NotUsing MaxSpeed true true WIN32;NDEBUG;_LIB;_USE_32BIT_TIME_T;%(PreprocessorDefinitions) true ${get_subsystem(project.is_library)} true true true % if project.get('public_headers',[]): % for public_header in project.public_headers: % endfor % endif % if project.get('headers',[]): % for header in project.headers: % endfor % endif % if project.get('src',[]): % for src_name in project.src: % endfor % endif % if project.get('deps',[]): % for dep in project.deps: ${vsproject_dict[dep].vs_project_guid} % endfor % endif %if zlib_pkg_version or openssl_pkg_version: %endif %if zlib_pkg_version: %endif % if openssl_pkg_version: % endif %if zlib_pkg_version or openssl_pkg_version: This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. %if zlib_pkg_version: %endif % if openssl_pkg_version: %endif %endif % endif % endfor \