forked from sillsdev/chorus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GetAndBuildThis and UpdateDependencies batch files
- Loading branch information
Showing
2 changed files
with
29 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
setlocal | ||
call UpdateDependencies.bat | ||
|
||
call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" | ||
IF "%1"=="" ( | ||
set BUILD_CONFIG="Debug" | ||
) ELSE ( | ||
set BUILD_CONFIG=%1 | ||
) | ||
|
||
IF "%2"=="" ( | ||
call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" | ||
SET HaveCalledvcvarsall=True | ||
) | ||
|
||
call UpdateDependencies.bat %BUILD_CONFIG% %HaveCalledvcvarsall% | ||
hg pull -u --rebase | ||
msbuild "Chorus VS2010.sln" /verbosity:quiet /maxcpucount | ||
msbuild "Chorus VS2010.sln" /verbosity:quiet /maxcpucount /p:Configuration=%BUILD_CONFIG% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,30 @@ | ||
REM Since Palaso libraries change frequently, you will likely need to | ||
REM get that project and be able to build it, then run this script. | ||
REM This script assumes that the libraries project are on the same level as this project. | ||
REM It copies the needed libraries both into the lib folder and the debug folder. | ||
REM It copies the needed libraries both into the lib folder and the debug/release folder. | ||
|
||
pushd . | ||
IF "%1"=="" ( | ||
set BUILD_CONFIG="Debug" | ||
) ELSE ( | ||
set BUILD_CONFIG=%1 | ||
) | ||
|
||
pushd . | ||
cd ..\palaso | ||
call GetAndBuildThis.bat | ||
call GetAndBuildThis.bat %BUILD_CONFIG% %2 | ||
popd | ||
|
||
copy /Y ..\palaso\output\debug\palaso.dll lib\debug\ | ||
copy /Y ..\palaso\output\debug\palaso.xml lib\debug\ | ||
copy /Y ..\palaso\output\debug\palaso.pdb lib\debug\ | ||
|
||
copy /Y ..\palaso\output\debug\Palaso.Lift.dll lib\debug\ | ||
copy /Y ..\palaso\output\debug\Palaso.Lift.xml lib\debug\ | ||
copy /Y ..\palaso\output\debug\Palaso.Lift.pdb lib\debug\ | ||
copy /Y ..\palaso\output\%BUILD_CONFIG%\palaso.dll lib\%BUILD_CONFIG% | ||
copy /Y ..\palaso\output\%BUILD_CONFIG%\palaso.pdb lib\%BUILD_CONFIG% | ||
|
||
copy /Y ..\palaso\output\debug\palasouiwindowsforms.dll lib\debug | ||
copy /Y ..\palaso\output\debug\palasouiwindowsforms.xml lib\debug | ||
copy /Y ..\palaso\output\debug\palasouiwindowsforms.pdb lib\debug | ||
copy /Y ..\palaso\output\%BUILD_CONFIG%\Palaso.Lift.dll lib\%BUILD_CONFIG% | ||
copy /Y ..\palaso\output\%BUILD_CONFIG%\Palaso.Lift.pdb lib\%BUILD_CONFIG% | ||
|
||
copy /Y ..\palaso\output\%BUILD_CONFIG%\palasouiwindowsforms.dll lib\%BUILD_CONFIG% | ||
copy /Y ..\palaso\output\%BUILD_CONFIG%\palasouiwindowsforms.pdb lib\%BUILD_CONFIG% | ||
|
||
copy /Y ..\palaso\output\debug\palaso.testutilities.dll lib\debug | ||
copy /Y ..\palaso\output\debug\palaso.testutilities.xml lib\debug | ||
copy /Y ..\palaso\output\debug\palaso.testutilities.pdb debug | ||
|
||
copy /Y ..\palaso\output\debug\palaso.* output\debug | ||
copy /Y ..\palaso\output\debug\palaso.testutilities.* output\debug | ||
copy /Y ..\palaso\output\debug\palasouiwindowsforms.* output\debug | ||
copy /Y ..\palaso\output\%BUILD_CONFIG%\palaso.testutilities.dll lib\%BUILD_CONFIG% | ||
copy /Y ..\palaso\output\%BUILD_CONFIG%\palaso.testutilities.pdb lib\%BUILD_CONFIG% | ||
|
||
pause |