mirror of
https://github.com/ModOrganizer2/mob.git
synced 2026-07-27 14:07:05 -07:00
copy the exe from the batch file, not the project
This commit is contained in:
@@ -30,4 +30,11 @@ set "opts=%opts% -clp:ErrorsOnly;Verbosity=minimal"
|
||||
|
||||
set "vcvars=%installation_path%\VC\Auxiliary\Build\vcvarsall.bat"
|
||||
cmd /c ""%vcvars%" amd64 > NUL && msbuild %opts%"
|
||||
|
||||
if %errorlevel% neq 0 (
|
||||
echo build failed
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
copy "build\Release\x64\mob.exe" .\mob.exe > NUL
|
||||
echo run `mob -d path` to start building
|
||||
|
||||
@@ -27,9 +27,6 @@
|
||||
<AdditionalLibraryDirectories>..\third-party\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalDependencies>Ws2_32.lib;Crypt32.lib;Wldap32.lib;Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
<PostBuildEvent>
|
||||
<Command>copy $(TargetPath) $(ProjectDir)..\</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup />
|
||||
</Project>
|
||||
Reference in New Issue
Block a user