build with Python 3.7 works on Windows now.

pull/111/head
Apex Liu 2018-09-24 04:04:09 +08:00
parent 867457a95b
commit a6f03f3a66
6 changed files with 9 additions and 676 deletions

View File

@ -1,5 +1,7 @@
# -*- coding: utf-8 -*-
import time
from core import colorconsole as cc
from core import utils
from core.context import *
@ -141,7 +143,7 @@ class BuilderWin(BuilderBase):
utils.copy_ex(_header_path, os.path.join(PATH_EXTERNAL, 'python', 'include'))
def _build_openssl(self, file_name):
cc.n('build openssl static library from source code... ', end='')
cc.n('build openssl static library from source code... ')
_alt_ver = '_'.join(env.ver_ossl.split('.'))
if not utils.download_file('openssl source tarball', 'https://github.com/openssl/openssl/archive/OpenSSL_{}.zip'.format(_alt_ver), PATH_DOWNLOAD, file_name):
@ -160,6 +162,7 @@ class BuilderWin(BuilderBase):
break
if not need_build:
cc.n('build openssl static library from source code... ', end='')
cc.w('already exists, skip.')
return
cc.v('')
@ -207,26 +210,8 @@ class BuilderWin(BuilderBase):
return
cc.v('')
# cc.n('prepare libssh source code... ', end='')
# _include = os.path.join(self.LIBSSH_PATH_SRC, 'include', 'libssh')
# _src = os.path.join(self.LIBSSH_PATH_SRC, 'src')
#
# if not os.path.exists(_include) or not os.path.exists(_src):
# utils.unzip(os.path.join(PATH_DOWNLOAD, file_name), PATH_EXTERNAL)
# # os.rename(os.path.join(PATH_EXTERNAL, 'openssl-OpenSSL_{}'.format(_alt_ver)), self.OPENSSL_PATH_SRC)
#
# _unzipped_path = os.path.join(PATH_EXTERNAL, 'libssh-{}'.format(env.ver_libssh))
#
# utils.copy_ex(os.path.join(_unzipped_path, 'include', 'libssh'), _include)
# utils.copy_ex(os.path.join(_unzipped_path, 'src'), _src)
#
# utils.remove(_unzipped_path)
#
# if not os.path.exists(_include) or not os.path.exists(_src):
# raise RuntimeError('\ncan not prepare libssh source code.')
# else:
# cc.w('already exists, skip.')
cc.w('On Windows, when build libssh, need you use cmake-gui.exe to generate solution file')
cc.w('for Visual Studio 2015. Visit https://docs.tp4a.com for more details.')
cc.w('\nOnce the libssh.sln generated, press Enter to continue or Q to quit...', end='')
try:
x = env.input()
@ -285,6 +270,7 @@ class BuilderWin(BuilderBase):
if not os.path.exists(self.LIBUV_PATH_SRC):
cc.v('')
utils.unzip(os.path.join(PATH_DOWNLOAD, file_name), PATH_EXTERNAL)
time.sleep(1) # wait for a while, otherwise rename may fail.
os.rename(os.path.join(PATH_EXTERNAL, 'libuv-{}'.format(env.ver_libuv)), self.LIBUV_PATH_SRC)
else:
cc.w('already exists, skip.')

View File

@ -1,196 +0,0 @@
#ifdef _DEBUG
#include <vld.h>
#endif
/* Name of package */
#define PACKAGE "libssh"
/* Version number of package */
#define VERSION "0.7.5"
/* #undef LOCALEDIR */
/* #undef DATADIR */
//#define LIBDIR "lib"
//#define PLUGINDIR "plugins-4"
/* #undef SYSCONFDIR */
//#define BINARYDIR "E:/work/tp4a/teleport/external/_download_/libssh-0.7.5/build"
//#define SOURCEDIR "E:/work/tp4a/teleport/external/_download_/libssh-0.7.5"
/************************** HEADER FILES *************************/
/* Define to 1 if you have the <argp.h> header file. */
/* #undef HAVE_ARGP_H */
/* Define to 1 if you have the <aprpa/inet.h> header file. */
/* #undef HAVE_ARPA_INET_H */
/* Define to 1 if you have the <pty.h> header file. */
/* #undef HAVE_PTY_H */
/* Define to 1 if you have the <utmp.h> header file. */
/* #undef HAVE_UTMP_H */
/* Define to 1 if you have the <util.h> header file. */
/* #undef HAVE_UTIL_H */
/* Define to 1 if you have the <libutil.h> header file. */
/* #undef HAVE_LIBUTIL_H */
/* Define to 1 if you have the <sys/time.h> header file. */
/* #undef HAVE_SYS_TIME_H */
/* Define to 1 if you have the <termios.h> header file. */
/* #undef HAVE_TERMIOS_H */
/* Define to 1 if you have the <unistd.h> header file. */
/* #undef HAVE_UNISTD_H */
/* Define to 1 if you have the <openssl/aes.h> header file. */
#define HAVE_OPENSSL_AES_H 1
/* Define to 1 if you have the <wspiapi.h> header file. */
#define HAVE_WSPIAPI_H 1
/* Define to 1 if you have the <openssl/blowfish.h> header file. */
#define HAVE_OPENSSL_BLOWFISH_H 1
/* Define to 1 if you have the <openssl/des.h> header file. */
#define HAVE_OPENSSL_DES_H 1
/* Define to 1 if you have the <openssl/ecdh.h> header file. */
#define HAVE_OPENSSL_ECDH_H 1
/* Define to 1 if you have the <openssl/ec.h> header file. */
#define HAVE_OPENSSL_EC_H 1
/* Define to 1 if you have the <openssl/ecdsa.h> header file. */
#define HAVE_OPENSSL_ECDSA_H 1
/* Define to 1 if you have the <pthread.h> header file. */
/* #undef HAVE_PTHREAD_H */
/* Define to 1 if you have eliptic curve cryptography in openssl */
#define HAVE_OPENSSL_ECC 1
/* Define to 1 if you have eliptic curve cryptography in gcrypt */
/* #undef HAVE_GCRYPT_ECC */
/* Define to 1 if you have eliptic curve cryptography */
#define HAVE_ECC 1
/*************************** FUNCTIONS ***************************/
/* Define to 1 if you have the `EVP_aes128_ctr' function. */
//#define HAVE_OPENSSL_EVP_AES_CTR 1
/* Define to 1 if you have the `EVP_aes128_cbc' function. */
//#define HAVE_OPENSSL_EVP_AES_CBC 1
/* Define to 1 if you have the `snprintf' function. */
#define HAVE_SNPRINTF 1
/* Define to 1 if you have the `_snprintf' function. */
#define HAVE__SNPRINTF 1
/* Define to 1 if you have the `_snprintf_s' function. */
#define HAVE__SNPRINTF_S 1
/* Define to 1 if you have the `vsnprintf' function. */
#define HAVE_VSNPRINTF 1
/* Define to 1 if you have the `_vsnprintf' function. */
#define HAVE__VSNPRINTF 1
/* Define to 1 if you have the `_vsnprintf_s' function. */
#define HAVE__VSNPRINTF_S 1
/* Define to 1 if you have the `isblank' function. */
#define HAVE_ISBLANK 1
/* Define to 1 if you have the `strncpy' function. */
#define HAVE_STRNCPY 1
/* Define to 1 if you have the `cfmakeraw' function. */
/* #undef HAVE_CFMAKERAW */
/* Define to 1 if you have the `getaddrinfo' function. */
#define HAVE_GETADDRINFO 1
/* Define to 1 if you have the `poll' function. */
/* #undef HAVE_POLL */
/* Define to 1 if you have the `select' function. */
#define HAVE_SELECT 1
/* Define to 1 if you have the `clock_gettime' function. */
/* #undef HAVE_CLOCK_GETTIME */
/* Define to 1 if you have the `ntohll' function. */
//#define HAVE_NTOHLL 1
/* Define to 1 if you have the `htonll' function. */
//#define HAVE_HTONLL 1
/* Define to 1 if you have the `strtoull' function. */
/* #undef HAVE_STRTOULL */
/* Define to 1 if you have the `__strtoull' function. */
/* #undef HAVE___STRTOULL */
/* Define to 1 if you have the `_strtoui64' function. */
#define HAVE__STRTOUI64 1
/*************************** LIBRARIES ***************************/
/* Define to 1 if you have the `crypto' library (-lcrypto). */
#define HAVE_LIBCRYPTO 1
/* Define to 1 if you have the `gcrypt' library (-lgcrypt). */
/* #undef HAVE_LIBGCRYPT */
/* Define to 1 if you have the `pthread' library (-lpthread). */
/* #undef HAVE_PTHREAD */
/**************************** OPTIONS ****************************/
/* #undef HAVE_GCC_THREAD_LOCAL_STORAGE */
#define HAVE_MSC_THREAD_LOCAL_STORAGE 1
/* #undef HAVE_GCC_VOLATILE_MEMORY_PROTECTION */
/*#define HAVE_GCC_NARG_MACRO 1*/
/* #undef HAVE_COMPILER__FUNC__ */
#define HAVE_COMPILER__FUNCTION__ 1
/* Define to 1 if you want to enable GSSAPI */
/* #undef WITH_GSSAPI */
/* Define to 1 if you want to enable ZLIB */
/*#define WITH_ZLIB 1*/
/* Define to 1 if you want to enable SFTP */
#define WITH_SFTP 1
/* Define to 1 if you want to enable SSH1 */
#define WITH_SSH1 1
/* Define to 1 if you want to enable server support */
#define WITH_SERVER 1
/* Define to 1 if you want to enable debug output for crypto functions */
/* #undef DEBUG_CRYPTO */
/* Define to 1 if you want to enable pcap output support (experimental) */
/* #undef WITH_PCAP */
/* Define to 1 if you want to enable calltrace debug output */
/* #undef DEBUG_CALLTRACE */
/* Define to 1 if you want to enable NaCl support */
/* #undef WITH_NACL */
/*************************** ENDIAN *****************************/
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
/* #undef WORDS_BIGENDIAN */

View File

@ -1,22 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libssh", "libssh.vs2015.vcxproj", "{228F651A-4726-41CE-89B3-5D07CF55909B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{228F651A-4726-41CE-89B3-5D07CF55909B}.Debug|x86.ActiveCfg = Debug|Win32
{228F651A-4726-41CE-89B3-5D07CF55909B}.Debug|x86.Build.0 = Debug|Win32
{228F651A-4726-41CE-89B3-5D07CF55909B}.Release|x86.ActiveCfg = Release|Win32
{228F651A-4726-41CE-89B3-5D07CF55909B}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@ -1,222 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{228F651A-4726-41CE-89B3-5D07CF55909B}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>libssh</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
<ProjectName>libssh</ProjectName>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140_xp</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>$(ProjectDir)lib\</OutDir>
<IntDir>..\..\out\_tmp_\$(ProjectName)\$(PlatformTarget)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<IntDir>..\..\out\_tmp_\$(ProjectName)\$(PlatformTarget)\$(Configuration)\</IntDir>
<OutDir>$(ProjectDir)lib\</OutDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;LIBSSH_STATIC;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;_WINSOCK_DEPRECATED_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>.\include;..\openssl\inc32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
<Lib>
<OutputFile>$(OutDir)$(TargetName)MTd$(TargetExt)</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;LIBSSH_STATIC;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;_WINSOCK_DEPRECATED_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>.\include;..\openssl\inc32</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
<Lib>
<OutputFile>$(OutDir)$(TargetName)MT$(TargetExt)</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<Text Include="ReadMe.txt" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="src\agent.c" />
<ClCompile Include="src\auth.c" />
<ClCompile Include="src\auth1.c" />
<ClCompile Include="src\base64.c" />
<ClCompile Include="src\bignum.c" />
<ClCompile Include="src\bind.c" />
<ClCompile Include="src\buffer.c" />
<ClCompile Include="src\callbacks.c" />
<ClCompile Include="src\channels.c" />
<ClCompile Include="src\channels1.c" />
<ClCompile Include="src\client.c" />
<ClCompile Include="src\config.c" />
<ClCompile Include="src\connect.c" />
<ClCompile Include="src\crc32.c" />
<ClCompile Include="src\curve25519.c" />
<ClCompile Include="src\dh.c" />
<ClCompile Include="src\ecdh.c" />
<ClCompile Include="src\error.c" />
<ClCompile Include="src\external\bcrypt_pbkdf.c" />
<ClCompile Include="src\external\blowfish.c" />
<ClCompile Include="src\external\curve25519_ref.c" />
<ClCompile Include="src\external\ed25519.c" />
<ClCompile Include="src\external\fe25519.c" />
<ClCompile Include="src\external\ge25519.c" />
<ClCompile Include="src\external\sc25519.c" />
<ClCompile Include="src\gcrypt_missing.c" />
<ClCompile Include="src\getpass.c" />
<ClCompile Include="src\init.c" />
<ClCompile Include="src\kex.c" />
<ClCompile Include="src\kex1.c" />
<ClCompile Include="src\known_hosts.c" />
<ClCompile Include="src\legacy.c" />
<ClCompile Include="src\libcrypto.c" />
<ClCompile Include="src\libgcrypt.c" />
<ClCompile Include="src\log.c" />
<ClCompile Include="src\match.c" />
<ClCompile Include="src\messages.c" />
<ClCompile Include="src\misc.c" />
<ClCompile Include="src\options.c" />
<ClCompile Include="src\packet.c" />
<ClCompile Include="src\packet1.c" />
<ClCompile Include="src\packet_cb.c" />
<ClCompile Include="src\packet_crypt.c" />
<ClCompile Include="src\pcap.c" />
<ClCompile Include="src\pki.c" />
<ClCompile Include="src\pki_container_openssh.c" />
<ClCompile Include="src\pki_crypto.c" />
<ClCompile Include="src\pki_ed25519.c" />
<ClCompile Include="src\pki_gcrypt.c" />
<ClCompile Include="src\poll.c" />
<ClCompile Include="src\scp.c" />
<ClCompile Include="src\server.c" />
<ClCompile Include="src\session.c" />
<ClCompile Include="src\sftp.c" />
<ClCompile Include="src\sftpserver.c" />
<ClCompile Include="src\socket.c" />
<ClCompile Include="src\string.c" />
<ClCompile Include="src\threads.c" />
<ClCompile Include="src\threads\pthread.c" />
<ClCompile Include="src\wrapper.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="include\config.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -1,213 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
<Filter Include="Source Files\external">
<UniqueIdentifier>{8ec876c8-97fa-4f69-a5aa-7c59b5107ca1}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\threads">
<UniqueIdentifier>{0f864866-f75b-4063-baf2-63c1c0134342}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<Text Include="ReadMe.txt" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="src\agent.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\auth.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\auth1.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\base64.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\bignum.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\bind.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\buffer.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\callbacks.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\channels.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\channels1.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\client.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\config.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\connect.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\crc32.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\curve25519.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\dh.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\ecdh.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\error.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\gcrypt_missing.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\getpass.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\init.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\kex.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\kex1.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\known_hosts.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\legacy.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\libcrypto.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\libgcrypt.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\log.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\match.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\messages.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\misc.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\options.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\packet.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\packet_cb.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\packet_crypt.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\packet1.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pcap.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pki.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pki_container_openssh.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pki_crypto.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pki_ed25519.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\pki_gcrypt.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\poll.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\scp.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\server.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\session.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\sftp.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\sftpserver.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\socket.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\string.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\threads.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\wrapper.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\external\bcrypt_pbkdf.c">
<Filter>Source Files\external</Filter>
</ClCompile>
<ClCompile Include="src\external\blowfish.c">
<Filter>Source Files\external</Filter>
</ClCompile>
<ClCompile Include="src\external\curve25519_ref.c">
<Filter>Source Files\external</Filter>
</ClCompile>
<ClCompile Include="src\external\ed25519.c">
<Filter>Source Files\external</Filter>
</ClCompile>
<ClCompile Include="src\external\fe25519.c">
<Filter>Source Files\external</Filter>
</ClCompile>
<ClCompile Include="src\external\ge25519.c">
<Filter>Source Files\external</Filter>
</ClCompile>
<ClCompile Include="src\external\sc25519.c">
<Filter>Source Files\external</Filter>
</ClCompile>
<ClCompile Include="src\threads\pthread.c">
<Filter>Source Files\threads</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="include\config.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>

View File

@ -68,7 +68,7 @@
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;TPP_EXPORTS;LIBSSH_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../../../common/teleport;../../../../common/libex/include;../../../../external/jsoncpp/include;../../../../external/libssh-win-static/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>../../../../common/teleport;../../../../common/libex/include;../../../../external/jsoncpp/include;../../../../external/libssh/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>
@ -86,7 +86,7 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;TPP_EXPORTS;LIBSSH_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../../../../common/teleport;../../../../common/libex/include;../../../../external/jsoncpp/include;../../../../external/libssh-win-static/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>../../../../common/teleport;../../../../common/libex/include;../../../../external/jsoncpp/include;../../../../external/libssh/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>