Skip to content

Commit

Permalink
BuildRelease: call BuildDetours.bat and minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosalie241 committed Sep 21, 2023
1 parent 79ba9ca commit b47e20e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions BuildRelease.bat
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,25 @@ mkdir "%OBJ_DIR%\SporeModLoader\CoreLibs\march2017"
mkdir "%OBJ_DIR%\SporeModLoader\ModLibs"
mkdir "%OBJ_DIR%\SporeModLoader\SporeModManager"

CALL "%THIRDPARTY_DIR%\BuildDetours.bat"
CALL "%THIRDPARTY_DIR%\BuildMinizipNG.bat"
CALL "%THIRDPARTY_DIR%\BuildSporeModAPI.bat"

msbuild SporeModLoader ^
msbuild "%CUR_DIR%\SporeModLoader" ^
/p:Configuration=Release ^
/p:Platform=Win32 ^
/m

msbuild SporeModManager ^
msbuild "%CUR_DIR%\SporeModManager" ^
/p:Configuration=Release ^
/p:Platform=Win32 ^
/m

copy "%THIRDPARTY_DIR%\Spore-ModAPI\dll\Release\SporeModAPI.disk.dll" "%OBJ_DIR%\SporeModLoader\CoreLibs\disk\SporeModAPI.dll"
copy "%THIRDPARTY_DIR%\Spore-ModAPI\dll\Release\SporeModAPI.march2017.dll" "%OBJ_DIR%\SporeModLoader\CoreLibs\march2017\SporeModAPI.dll"
copy "%THIRDPARTY_DIR%\Spore-ModAPI\dll\Release\SporeModAPI.lib" "%OBJ_DIR%\SporeModLoader\CoreLibs\SporeModAPI.lib"
copy SporeModLoader\Bin\Release\dinput8.dll "%OBJ_DIR%\SporebinEP1\dinput8.dll"
copy SporeModManager\Bin\Release\SporeModManager.exe "%OBJ_DIR%\SporeModLoader\SporeModManager"
copy "%CUR_DIR%\SporeModLoader\Bin\Release\dinput8.dll" "%OBJ_DIR%\SporebinEP1\dinput8.dll"
copy "%CUR_DIR%\SporeModManager\Bin\Release\SporeModManager.exe" "%OBJ_DIR%\SporeModLoader\SporeModManager"

cd "%OBJ_DIR%"

Expand Down

0 comments on commit b47e20e

Please sign in to comment.