File: windows64.bat

package info (click to toggle)
connectome-workbench 1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 28,968 kB
  • ctags: 23,747
  • sloc: cpp: 260,127; ansic: 3,670; sh: 308; makefile: 146
file content (35 lines) | stat: -rwxr-xr-x 730 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@echo=off
set CMD=c:\Windows\system32\cmd.exe
REM
REM Go to correct directory
REM
set BUILD_DIR=c:\dev7\windows64
cd %BUILD_DIR%

REM
REM Go into source directory
REM
cd caret7_source

echo "Caret7 Windows64 Build Result"

REM
REM Grab the latest Sources
REM
c:\cygwin\bin\git.exe reset --hard HEAD
c:\cygwin\bin\git.exe fetch
c:\cygwin\bin\git.exe reset --hard origin/master

REM
REM Build caret
REM
cd build_scripts/windows64
%CMD% /c build.bat
cd ..
cd ..
set DIST_DIR=caret@myelin1:/mainpool/storage/distribution/caret7_distribution/workbench/bin_windows64

echo "Copying Files"
c:\cygwin\bin\scp build/Desktop/wb_view.exe %DIST_DIR%
c:\cygwin\bin\scp build/CommandLine/wb_command.exe %DIST_DIR%
echo "Finished Copying Files"