修复导出目录

This commit is contained in:
baidwwy 2021-02-23 12:21:58 +08:00
parent 875c6ffdb4
commit c4e0d4394f
18 changed files with 44 additions and 37 deletions

View File

@ -38,7 +38,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "luasql", "luasql\luasql.vcx
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lzmq", "lzmq\lzmq.vcxproj", "{F0586B55-BD50-4E58-89A8-D957D941B4D7}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lua-mongo", "lua-mongo\lua-mongo.vcxproj", "{E0E8A6E0-EC75-4078-8ED9-35A72C39444C}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mongo", "lua-mongo\lua-mongo.vcxproj", "{E0E8A6E0-EC75-4078-8ED9-35A72C39444C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution

View File

@ -126,7 +126,7 @@
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R32\lib</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R32\lib\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
@ -150,7 +150,8 @@
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R64\lib</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R64\lib\$(TargetFileName)
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>

View File

@ -127,7 +127,7 @@
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R32\lib</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R32\lib\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
@ -156,7 +156,7 @@
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R64\lib</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R64\lib\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>

View File

@ -124,7 +124,7 @@
<AdditionalDependencies>lua54.lib;gsdl2.lib;libavcodec.lib;libavformat.lib;libavutil.lib;libswresample.lib;libswscale.lib;libpostproc.lib;libavfilter.lib;libavdevice.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R32\lib</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R32\lib\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
@ -146,7 +146,7 @@
<LinkTimeCodeGeneration />
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R64\lib</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R64\lib\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>

View File

@ -136,7 +136,7 @@
<AdditionalLibraryDirectories>..\library\x86</AdditionalLibraryDirectories>
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R32\</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R32\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
@ -175,7 +175,7 @@
<AdditionalLibraryDirectories>..\library\x64;</AdditionalLibraryDirectories>
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R64\</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R64\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

View File

@ -126,7 +126,7 @@
<EntryPointSymbol>mainCRTStartup</EntryPointSymbol>
</Link>
<PostBuildEvent>
<Command>copy /y "$(OutDir)"$(TargetName).exe "$(SolutionDir)"R32</Command>
<Command>copy /y "$(OutDir)"$(TargetName).exe "$(SolutionDir)"R32\$(TargetName).exe</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseConsole|Win32'">
@ -170,7 +170,7 @@
<EntryPointSymbol>mainCRTStartup</EntryPointSymbol>
</Link>
<PostBuildEvent>
<Command>copy /y "$(OutDir)"$(TargetName).exe "$(SolutionDir)"R64</Command>
<Command>copy /y "$(OutDir)"$(TargetName).exe "$(SolutionDir)"R64\$(TargetName).exe</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseConsole|x64'">

View File

@ -4,7 +4,7 @@
#include "SDL_stdinc.h"
#include "SDL_mutex.h"
#include "SDL_messagebox.h"
#include <windows.h>
struct INFO {
unsigned int signal;
unsigned int coresize;

View File

@ -126,7 +126,7 @@
<AdditionalDependencies>HPSocket.lib;SDL2.lib;lua54.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R32\lib</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R32\lib\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
@ -150,7 +150,7 @@
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R64\lib</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R64\lib\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>

View File

@ -126,7 +126,7 @@
<AdditionalLibraryDirectories>..\library\x86</AdditionalLibraryDirectories>
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R32\lib</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R32\lib\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
@ -150,7 +150,7 @@
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R64\lib</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R64\lib\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>

View File

@ -126,7 +126,7 @@
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R32\lib</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R32\lib\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
@ -150,7 +150,7 @@
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R64\lib</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R64\lib\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>

View File

@ -172,7 +172,7 @@
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R32\lib</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R32\lib\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
@ -193,7 +193,7 @@
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R64\lib</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R64\lib\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

View File

@ -126,7 +126,7 @@
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R32\lib</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R32\lib\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
@ -150,7 +150,7 @@
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R64\lib</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R64\lib\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>

View File

@ -113,6 +113,9 @@
<AdditionalLibraryDirectories>..\library\x86</AdditionalLibraryDirectories>
<AdditionalDependencies>lua54.lib;bson.lib;mongoc.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R32\lib\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
@ -147,6 +150,9 @@
<LinkTimeCodeGeneration>
</LinkTimeCodeGeneration>
</Link>
<PostBuildEvent>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R64\lib\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="bson.c" />

View File

@ -113,7 +113,7 @@
<AdditionalLibraryDirectories>..\library\x86</AdditionalLibraryDirectories>
</Link>
<PostBuildEvent>
<Command>copy /y "$(OutDir)"$(TargetName).exe "$(SolutionDir)"R32</Command>
<Command>copy /y "$(OutDir)"$(TargetName).exe "$(SolutionDir)"R32\$(TargetName).exe</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
@ -147,7 +147,7 @@
<AdditionalLibraryDirectories>..\library\x64</AdditionalLibraryDirectories>
</Link>
<PostBuildEvent>
<Command>copy /y "$(OutDir)"$(TargetName).exe "$(SolutionDir)"R64</Command>
<Command>copy /y "$(OutDir)"$(TargetName).exe "$(SolutionDir)"R64\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>

View File

@ -88,9 +88,9 @@
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy /y "$(OutDir)"$(TargetName).dll "$(SolutionDir)"R32
copy /y "$(OutDir)"$(TargetName).lib "$(SolutionDir)"library
copy /y "$(OutDir)"$(TargetName).lib "$(SolutionDir)"R32\插件开发\library</Command>
<Command>copy /y "$(OutDir)"$(TargetName).dll "$(SolutionDir)"R32\$(TargetName).dll
copy /y "$(OutDir)"$(TargetName).lib "$(SolutionDir)"library\x86\$(TargetName).lib
copy /y "$(OutDir)"$(TargetName).lib "$(SolutionDir)"R32\插件开发\library\$(TargetName).lib</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
@ -106,8 +106,8 @@ copy /y "$(OutDir)"$(TargetName).lib "$(SolutionDir)"R32\插件开发\library</C
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
</ClCompile>
<PostBuildEvent>
<Command>copy /y "$(OutDir)"$(TargetName).dll "$(SolutionDir)"R64
copy /y "$(OutDir)"$(TargetName)_64.lib "$(SolutionDir)"library
<Command>copy /y "$(OutDir)"$(TargetName).dll "$(SolutionDir)"R64\$(TargetName).dll
copy /y "$(OutDir)"$(TargetName)_64.lib "$(SolutionDir)"library\x64\$(TargetName)_64.lib
copy /y "$(OutDir)"$(TargetName)_64.lib "$(SolutionDir)"R64\插件开发\library</Command>
</PostBuildEvent>
</ItemDefinitionGroup>

View File

@ -128,7 +128,7 @@
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R32\lib</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R32\lib\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
@ -154,7 +154,7 @@
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R64\lib</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R64\lib\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>

View File

@ -126,7 +126,7 @@
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R32\lib</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R32\lib\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
@ -150,7 +150,7 @@
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R64\lib</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R64\lib\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>

View File

@ -113,7 +113,7 @@
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;SOCKET_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;SOCKET_EXPORTS;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\include</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
@ -126,7 +126,7 @@
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R32\lib</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R32\lib\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
@ -137,7 +137,7 @@
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;SOCKET_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;SOCKET_EXPORTS;_CRT_SECURE_NO_WARNINGS;_WINSOCK_DEPRECATED_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
@ -150,7 +150,7 @@
<GenerateDebugInformation>false</GenerateDebugInformation>
</Link>
<PostBuildEvent>
<Command>copy /y $(OutDir)$(TargetFileName) $(SolutionDir)..\GGELUA\R64\lib</Command>
<Command>copy /y "$(OutDir)"$(TargetFileName) "$(SolutionDir)"R64\lib\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>