|
48 | 48 | <TargetExt>.exe</TargetExt> |
49 | 49 | <OutDir>$(SolutionDir)GhostServer\Debug\CLI\</OutDir> |
50 | 50 | <IntDir>$(SolutionDir)GhostServer\Debug\CLI\obj\</IntDir> |
| 51 | + <QtMsBuild></QtMsBuild> |
51 | 52 | </PropertyGroup> |
52 | 53 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseCLI|Win32'" Label="Configuration"> |
53 | 54 | <ConfigurationType>Application</ConfigurationType> |
|
56 | 57 | <TargetExt>.exe</TargetExt> |
57 | 58 | <OutDir>$(SolutionDir)GhostServer\Release\CLI\</OutDir> |
58 | 59 | <IntDir>$(SolutionDir)GhostServer\Release\CLI\obj\</IntDir> |
| 60 | + <QtMsBuild></QtMsBuild> |
59 | 61 | </PropertyGroup> |
60 | 62 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
61 | 63 | <Target Name="QtMsBuildNotFound" BeforeTargets="CustomBuild;ClCompile" Condition="!Exists('$(QtMsBuild)\qt.targets') or !Exists('$(QtMsBuild)\qt.props')"> |
|
74 | 76 | <Import Project="$(QtMsBuild)\qt_defaults.props" /> |
75 | 77 | </ImportGroup> |
76 | 78 | <PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='DebugGUI|Win32'"> |
77 | | - <QtInstall>msvc2017</QtInstall> |
| 79 | + <QtInstall>msvc2019</QtInstall> |
78 | 80 | <QtModules>core;gui;widgets</QtModules> |
79 | 81 | </PropertyGroup> |
80 | 82 | <PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='ReleaseGUI|Win32'"> |
81 | | - <QtInstall>msvc2017</QtInstall> |
| 83 | + <QtInstall>msvc2019</QtInstall> |
82 | 84 | <QtModules>core;gui;widgets</QtModules> |
83 | 85 | </PropertyGroup> |
84 | 86 | <PropertyGroup Label="QtSettings" Condition="'$(Configuration)|$(Platform)'=='DebugCLI|Win32'"> |
|
111 | 113 | <AdditionalDependencies>sfml-system-s-d.lib;sfml-network-s-d.lib;winmm.lib;ws2_32.lib;$(Qt_LIBS_);%(AdditionalDependencies)</AdditionalDependencies> |
112 | 114 | </Link> |
113 | 115 | <PostBuildEvent> |
114 | | - <Command>copy /Y "$(TargetPath)" "$(SolutionDir)GhostServer.exe"</Command> |
| 116 | + <Command> |
| 117 | + copy /Y "$(TargetPath)" "$(SolutionDir)GhostServer_CLI.exe" |
| 118 | + if exist "$(SolutionDir)copy.bat" call "$(SolutionDir)copy.bat" |
| 119 | + </Command> |
115 | 120 | </PostBuildEvent> |
116 | 121 | </ItemDefinitionGroup> |
117 | 122 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseGUI|Win32'"> |
|
132 | 137 | <AdditionalDependencies>sfml-system-s.lib;sfml-network-s.lib;winmm.lib;ws2_32.lib;$(Qt_LIBS_);%(AdditionalDependencies)</AdditionalDependencies> |
133 | 138 | </Link> |
134 | 139 | <PostBuildEvent> |
135 | | - <Command>copy /Y "$(TargetPath)" "$(SolutionDir)GhostServer.exe"</Command> |
| 140 | + <Command> |
| 141 | + copy /Y "$(TargetPath)" "$(SolutionDir)GhostServer_CLI.exe" |
| 142 | + if exist "$(SolutionDir)copy.bat" call "$(SolutionDir)copy.bat" |
| 143 | + </Command> |
136 | 144 | </PostBuildEvent> |
137 | 145 | </ItemDefinitionGroup> |
138 | 146 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugCLI|Win32'"> |
|
154 | 162 | <AdditionalDependencies>sfml-system-s-d.lib;sfml-network-s-d.lib;winmm.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> |
155 | 163 | </Link> |
156 | 164 | <PostBuildEvent> |
157 | | - <Command>copy /Y "$(TargetPath)" "$(SolutionDir)GhostServer_CLI.exe"</Command> |
| 165 | + <Command> |
| 166 | + copy /Y "$(TargetPath)" "$(SolutionDir)GhostServer_CLI.exe" |
| 167 | + if exist "$(SolutionDir)copy.bat" call "$(SolutionDir)copy.bat" |
| 168 | + </Command> |
158 | 169 | </PostBuildEvent> |
159 | 170 | </ItemDefinitionGroup> |
160 | 171 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseCLI|Win32'"> |
|
176 | 187 | <AdditionalDependencies>sfml-system-s.lib;sfml-network-s.lib;winmm.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> |
177 | 188 | </Link> |
178 | 189 | <PostBuildEvent> |
179 | | - <Command>copy /Y "$(TargetPath)" "$(SolutionDir)GhostServer_CLI.exe"</Command> |
| 190 | + <Command> |
| 191 | + copy /Y "$(TargetPath)" "$(SolutionDir)GhostServer_CLI.exe" |
| 192 | + if exist "$(SolutionDir)copy.bat" call "$(SolutionDir)copy.bat" |
| 193 | + </Command> |
180 | 194 | </PostBuildEvent> |
181 | 195 | </ItemDefinitionGroup> |
182 | 196 | <ItemGroup> |
|
0 commit comments