tzwrapper.cc: fixed use of iterator after erase
[barry.git] / wince / copy_files.bat
blob1bc7968b3002a09f09db9fab0f1780dc13779c87
1 @echo off
3 set PLATFORMNAME=%1
4 set CONFIGURATIONNAME=%2
6 REM strip off the trailing and leading " by dropping those characters
7 set PLATFORMNAME=%PLATFORMNAME:~1,-1%
8 set CONFIGURATIONNAME=%CONFIGURATIONNAME:~1,-1%
10 echo PLATFORMNAME=%PLATFORMNAME%
11 echo CONFIGURATIONNAME=%CONFIGURATIONNAME%
13 IF NOT EXIST dist md dist
14 IF NOT EXIST dist\include md dist\include
15 IF NOT EXIST dist\include\barry (
16         echo Creating barry directory
17         md dist\include\barry
20 REM install the headers
22 for %%H in (
23         barry.h
24         barrysync.h
25         barrybackup.h
26         barryalx.h
27         dll.h
28         builder.h
29         common.h
30         configfile.h
31         controller.h
32         xmlparser.h
33         a_common.h
34         a_codsection.h
35         a_library.h
36         a_application.h
37         a_osloader.h
38         a_alxparser.h
39         m_mode_base.h
40         m_desktop.h
41         m_raw_channel.h
42         m_desktoptmpl.h
43         m_ipmodem.h
44         m_serial.h
45         m_javaloader.h
46         m_jvmdebug.h
47         data.h
48         error.h
49         ldif.h
50         ldifio.h
51         log.h
52         parser.h
53         pin.h
54         probe.h
55         protocol.h
56         record.h
57         recordtmpl.h
58         modem.h
59         r_recur_base.h
60         r_calendar.h
61         r_calllog.h
62         r_bookmark.h
63         r_contact.h
64         r_cstore.h
65         r_folder.h
66         r_hhagent.h
67         r_memo.h
68         r_message_base.h
69         r_message.h
70         r_pin_message.h
71         r_saved_message.h
72         r_servicebook.h
73         r_sms.h
74         r_task.h
75         r_timezone.h
76         dataqueue.h
77         router.h
78         socket.h
79         time.h
80         threadwrap.h
81         vsmartptr.h
82         version.h
83         pppfilter.h
84         sha1.h
85         iconv.h
86         cod.h
87         bmp.h
88         s11n-boost.h
89         dp_codinfo.h
90         j_manager.h
91         j_server.h
92         vformat.h
93         vbase.h
94         vcard.h
95         vevent.h
96         vjournal.h
97         vtodo.h
98         mimeio.h
99         scoped_lock.h
100         semaphore.h
101         backup.h
102         restore.h
103         pipe.h
104         connector.h
105         trim.h
106         tzwrapper.h
107         usbwrap.h
108         tr1_support.h
109         fifoargs.h
110 ) DO (
111         echo Installing %%H header
112         copy ..\src\%%H dist\include\barry
115 REM install the binaries
116 IF NOT EXIST "dist\%PLATFORMNAME%" md "dist\%PLATFORMNAME%"
117 IF NOT EXIST "dist\%PLATFORMNAME%\%CONFIGURATIONNAME%" md "dist\%PLATFORMNAME%\%CONFIGURATIONNAME%"
118 echo Copying libraries
119 copy "%CONFIGURATIONNAME%\%PLATFORMNAME%\libbarry.lib" "dist\%PLATFORMNAME%\%CONFIGURATIONNAME%"
120 copy "%CONFIGURATIONNAME%\%PLATFORMNAME%\libbarry.dll" "dist\%PLATFORMNAME%\%CONFIGURATIONNAME%"