2021-02-12 23:21:57 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project DefaultTargets="Build" 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">
|
|
|
|
<VCProjectVersion>16.0</VCProjectVersion>
|
|
|
|
<Keyword>Win32Proj</Keyword>
|
2022-10-15 20:25:42 +08:00
|
|
|
<ProjectGuid>{4de80b82-5f6a-4c4c-9d16-1574308110fa}</ProjectGuid>
|
|
|
|
<RootNamespace>spy</RootNamespace>
|
2021-02-12 23:21:57 +08:00
|
|
|
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
2022-10-15 20:25:42 +08:00
|
|
|
<VcpkgTriplet Condition="'$(Platform)'=='Win32'">x86-windows-static</VcpkgTriplet>
|
|
|
|
<VcpkgTriplet Condition="'$(Platform)'=='x64'">x64-windows-static</VcpkgTriplet>
|
2021-02-12 23:21:57 +08:00
|
|
|
</PropertyGroup>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
|
|
<PlatformToolset>v142</PlatformToolset>
|
|
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
|
|
<PlatformToolset>v142</PlatformToolset>
|
|
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
|
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
|
|
<PlatformToolset>v142</PlatformToolset>
|
|
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
|
|
<PlatformToolset>v142</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)'=='Debug|Win32'">
|
|
|
|
<LinkIncremental>true</LinkIncremental>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
<LinkIncremental>false</LinkIncremental>
|
2022-10-15 20:25:42 +08:00
|
|
|
<PreBuildEventUseInBuild>false</PreBuildEventUseInBuild>
|
2021-02-12 23:21:57 +08:00
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
|
|
<LinkIncremental>true</LinkIncremental>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
|
|
<LinkIncremental>false</LinkIncremental>
|
|
|
|
</PropertyGroup>
|
2022-10-15 20:25:42 +08:00
|
|
|
<PropertyGroup Label="Vcpkg" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
<VcpkgUseStatic>true</VcpkgUseStatic>
|
|
|
|
</PropertyGroup>
|
2021-02-12 23:21:57 +08:00
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
|
|
<ClCompile>
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
<SDLCheck>true</SDLCheck>
|
|
|
|
<PreprocessorDefinitions>WIN32;_DEBUG;SPY_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<ConformanceMode>true</ConformanceMode>
|
2022-10-15 20:25:42 +08:00
|
|
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
2021-02-12 23:21:57 +08:00
|
|
|
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
<EnableUAC>false</EnableUAC>
|
2022-10-15 20:25:42 +08:00
|
|
|
<ModuleDefinitionFile>spy.def</ModuleDefinitionFile>
|
2021-02-12 23:21:57 +08:00
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
<ClCompile>
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
|
|
<SDLCheck>true</SDLCheck>
|
|
|
|
<PreprocessorDefinitions>WIN32;NDEBUG;SPY_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<ConformanceMode>true</ConformanceMode>
|
|
|
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
2022-10-15 20:25:42 +08:00
|
|
|
<PrecompiledHeaderFile>
|
|
|
|
</PrecompiledHeaderFile>
|
|
|
|
<AdditionalIncludeDirectories>$(SolutionDir)rpc;C:\Tools\vcpkg\installed\x86-windows-static\include</AdditionalIncludeDirectories>
|
|
|
|
<PrecompiledHeaderOutputFile />
|
|
|
|
<DisableSpecificWarnings>4251</DisableSpecificWarnings>
|
|
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
|
|
<LanguageStandard>stdcpp17</LanguageStandard>
|
2021-02-12 23:21:57 +08:00
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
<EnableUAC>false</EnableUAC>
|
2022-10-15 20:25:42 +08:00
|
|
|
<AdditionalDependencies>iphlpapi.lib;wsock32.lib;ws2_32.lib;crypt32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
|
|
<ModuleDefinitionFile>spy.def</ModuleDefinitionFile>
|
2021-02-12 23:21:57 +08:00
|
|
|
</Link>
|
2022-10-15 20:25:42 +08:00
|
|
|
<PostBuildEvent>
|
2022-10-16 09:11:50 +08:00
|
|
|
<Command>cd $(OutDir)
|
|
|
|
md out\cpp
|
2023-01-20 11:17:48 +08:00
|
|
|
md out\launcher
|
2022-10-18 19:17:07 +08:00
|
|
|
md out\java\src\main\java
|
|
|
|
md out\java\src\main\resources\win32-x86
|
2022-10-16 09:11:50 +08:00
|
|
|
xcopy /y $(OutDir)spy.dll $(OutDir)out\cpp
|
2023-01-20 11:17:48 +08:00
|
|
|
xcopy /y $(OutDir)spy.dll $(OutDir)out\launcher
|
2022-10-18 19:17:07 +08:00
|
|
|
xcopy /y $(OutDir)spy.dll $(OutDir)out\java\src\main\resources\win32-x86
|
2022-10-19 20:27:22 +08:00
|
|
|
xcopy /y $(OutDir)spy.dll $(SolutionDir)python\wcferry</Command>
|
2022-10-15 20:25:42 +08:00
|
|
|
</PostBuildEvent>
|
|
|
|
<PostBuildEvent>
|
|
|
|
<Message>Copy spy.dll</Message>
|
|
|
|
</PostBuildEvent>
|
|
|
|
<PreBuildEvent>
|
|
|
|
<Command>cd $(SolutionDir)proto
|
|
|
|
protoc -I=. --cpp_out=. wcf.proto
|
|
|
|
protoc -I=. --grpc_out=. --plugin=protoc-gen-grpc="C:\Tools\vcpkg\packages\grpc_x64-windows\tools\grpc\grpc_cpp_plugin.exe" wcf.proto</Command>
|
|
|
|
</PreBuildEvent>
|
|
|
|
<PreBuildEvent>
|
|
|
|
<Message>gRPC</Message>
|
|
|
|
</PreBuildEvent>
|
2021-02-12 23:21:57 +08:00
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
|
|
<ClCompile>
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
<SDLCheck>true</SDLCheck>
|
|
|
|
<PreprocessorDefinitions>_DEBUG;SPY_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<ConformanceMode>true</ConformanceMode>
|
|
|
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
|
|
|
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
<EnableUAC>false</EnableUAC>
|
2022-10-15 20:25:42 +08:00
|
|
|
<ModuleDefinitionFile>spy.def</ModuleDefinitionFile>
|
2021-02-12 23:21:57 +08:00
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
|
|
<ClCompile>
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
|
|
<SDLCheck>true</SDLCheck>
|
|
|
|
<PreprocessorDefinitions>NDEBUG;SPY_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
<ConformanceMode>true</ConformanceMode>
|
|
|
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
|
|
|
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
|
|
|
</ClCompile>
|
|
|
|
<Link>
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
<EnableUAC>false</EnableUAC>
|
2022-10-15 20:25:42 +08:00
|
|
|
<ModuleDefinitionFile>spy.def</ModuleDefinitionFile>
|
2021-02-12 23:21:57 +08:00
|
|
|
</Link>
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
<ItemGroup>
|
2022-10-15 20:25:42 +08:00
|
|
|
<ClInclude Include="..\proto\wcf.grpc.pb.h" />
|
|
|
|
<ClInclude Include="..\proto\wcf.pb.h" />
|
2022-08-21 08:45:16 +08:00
|
|
|
<ClInclude Include="accept_new_friend.h" />
|
2022-08-07 23:32:25 +08:00
|
|
|
<ClInclude Include="exec_sql.h" />
|
2021-02-12 23:21:57 +08:00
|
|
|
<ClInclude Include="framework.h" />
|
2022-08-07 20:50:49 +08:00
|
|
|
<ClInclude Include="get_contacts.h" />
|
2021-02-12 23:21:57 +08:00
|
|
|
<ClInclude Include="load_calls.h" />
|
2022-10-15 20:25:42 +08:00
|
|
|
<ClInclude Include="log.h" />
|
2021-02-12 23:21:57 +08:00
|
|
|
<ClInclude Include="receive_msg.h" />
|
|
|
|
<ClInclude Include="rpc_server.h" />
|
|
|
|
<ClInclude Include="send_msg.h" />
|
2022-08-13 20:03:22 +08:00
|
|
|
<ClInclude Include="spy.h" />
|
2021-02-12 23:21:57 +08:00
|
|
|
<ClInclude Include="spy_types.h" />
|
2022-10-15 20:25:42 +08:00
|
|
|
<ClInclude Include="util.h" />
|
2021-02-12 23:21:57 +08:00
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
2022-10-15 20:25:42 +08:00
|
|
|
<ClCompile Include="..\proto\wcf.grpc.pb.cc" />
|
|
|
|
<ClCompile Include="..\proto\wcf.pb.cc" />
|
2022-08-21 08:45:16 +08:00
|
|
|
<ClCompile Include="accept_new_friend.cpp" />
|
2021-02-12 23:21:57 +08:00
|
|
|
<ClCompile Include="dllmain.cpp" />
|
2022-08-07 23:32:25 +08:00
|
|
|
<ClCompile Include="exec_sql.cpp" />
|
2022-08-07 20:50:49 +08:00
|
|
|
<ClCompile Include="get_contacts.cpp" />
|
2021-02-12 23:21:57 +08:00
|
|
|
<ClCompile Include="load_calls.cpp" />
|
2022-10-15 20:25:42 +08:00
|
|
|
<ClCompile Include="log.cpp" />
|
2021-02-12 23:21:57 +08:00
|
|
|
<ClCompile Include="receive_msg.cpp" />
|
|
|
|
<ClCompile Include="rpc_server.cpp" />
|
|
|
|
<ClCompile Include="send_msg.cpp" />
|
2022-08-13 20:03:22 +08:00
|
|
|
<ClCompile Include="spy.cpp" />
|
2022-10-15 20:25:42 +08:00
|
|
|
<ClCompile Include="util.cpp" />
|
2021-02-12 23:21:57 +08:00
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
2022-10-15 20:25:42 +08:00
|
|
|
<None Include="..\proto\wcf.proto" />
|
|
|
|
<None Include="spy.def" />
|
2021-02-12 23:21:57 +08:00
|
|
|
</ItemGroup>
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
|
|
<ImportGroup Label="ExtensionTargets">
|
|
|
|
</ImportGroup>
|
|
|
|
</Project>
|