~ubuntu-branches/ubuntu/oneiric/soqt/oneiric

« back to all changes in this revision

Viewing changes to build/msvc8/install-dll-release.bat

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2009-03-01 11:41:00 UTC
  • mfrom: (1.1.4 upstream) (5.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090301114100-f4zz3n1oasa52fgk
Tags: 1.4.2~svn20090224-2
* Upload upstream SVN head version containing fixes to build with Coin 3
  (Closes: #515729, #515736, #515742).  Upstream indicated to me that
  SVN is stable enough to release.

* control: Update Standards-Version to 3.8.0; no changes required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
@echo off
2
 
 
3
 
echo Installing to %COINDIR%
4
 
 
5
 
if not "%COINDIR%"=="" goto coindirset
6
 
echo The COINDIR environment variable must be set to point to a directory
7
 
echo to be able to perform the installation procedure.
8
 
exit
9
 
:coindirset
10
 
if exist %COINDIR%\*.* goto coindirexists
11
 
echo The COINDIR environment variable must point to an existing directory
12
 
echo to be able to perform the installation procedure.
13
 
exit
14
 
:coindirexists
15
 
 
16
 
pushd %COINDIR%
17
 
 
18
 
REM **********************************************************************
19
 
REM * Create all the directories for the installed files
20
 
 
21
 
if exist bin\*.* goto binexists
22
 
echo mkdir %COINDIR%\bin
23
 
mkdir bin
24
 
:binexists
25
 
if exist data\*.* goto dataexists
26
 
echo mkdir %COINDIR%\data
27
 
mkdir data
28
 
:dataexists
29
 
chdir data
30
 
if exist draggerDefaults\*.* goto draggerdefaultsexists
31
 
echo mkdir %COINDIR%\data\draggerDefaults
32
 
mkdir draggerDefaults
33
 
:draggerdefaultsexists
34
 
chdir ..
35
 
if exist lib\*.* goto libexists
36
 
echo mkdir %COINDIR%\lib
37
 
mkdir lib
38
 
:libexists
39
 
if exist include\*.* goto includeexists
40
 
echo mkdir %COINDIR%\include
41
 
mkdir include
42
 
:includeexists
43
 
chdir include
44
 
if exist Inventor\*.* goto inventorexists
45
 
echo mkdir %COINDIR%\include\Inventor
46
 
mkdir Inventor
47
 
:inventorexists
48
 
chdir Inventor
49
 
if exist Qt\*.* goto qtexists
50
 
echo mkdir %COINDIR%\include\Inventor\Qt
51
 
mkdir Qt
52
 
:qtexists
53
 
chdir Qt
54
 
if exist common\*.* goto qtcommonexists
55
 
echo mkdir %COINDIR%\include\Inventor\Qt\common
56
 
mkdir common
57
 
:qtcommonexists
58
 
if exist devices\*.* goto qtdevicesexists
59
 
echo mkdir %COINDIR%\include\Inventor\Qt\devices
60
 
mkdir devices
61
 
:qtdevicesexists
62
 
if exist editors\*.* goto qteditorsexists
63
 
echo mkdir %COINDIR%\include\Inventor\Qt\editors
64
 
mkdir editors
65
 
:qteditorsexists
66
 
if exist engines\*.* goto qtenginesexists
67
 
echo mkdir %COINDIR%\include\Inventor\Qt\engines
68
 
mkdir engines
69
 
:qtenginesexists
70
 
if exist nodes\*.* goto qtnodesexists
71
 
echo mkdir %COINDIR%\include\Inventor\Qt\nodes
72
 
mkdir nodes
73
 
:qtnodesexists
74
 
if exist viewers\*.* goto qtviewersexists
75
 
echo mkdir %COINDIR%\include\Inventor\Qt\viewers
76
 
mkdir viewers
77
 
:qtviewersexists
78
 
if exist widgets\*.* goto qtwidgetsexists
79
 
echo mkdir %COINDIR%\include\Inventor\Qt\widgets
80
 
mkdir widgets
81
 
:qtwidgetsexists
82
 
 
83
 
popd
84
 
 
85
 
REM **********************************************************************
86
 
REM * Copy files
87
 
 
88
 
echo Installing header files...
89
 
call install-headers.bat
90
 
 
91
 
echo Installing binaries...
92
 
xcopy soqt1.dll %COINDIR%\bin\ /R /Y
93
 
xcopy Release\soqt1.lib %COINDIR%\lib\ /R /Y
94
 
 
95
 
echo Done.
96