-
Notifications
You must be signed in to change notification settings - Fork 4
/
Bin2Text.pj2
96 lines (79 loc) · 2.97 KB
/
Bin2Text.pj2
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
*--------------------------------------------------------------------------------------------------------------------------------------------------------
* (EN) AUTOGENERATED - ATTENTION!! - NOT INTENDED FOR EXECUTION!! USE ONLY FOR MERGING CHANGES AND STORING WITH SCM TOOLS!!
*--------------------------------------------------------------------------------------------------------------------------------------------------------
*< FOXBIN2PRG: Version="1.21" SourceFile="bin2text.pjx" CPID="0" /> (Solo para binarios VFP 9 / Only for VFP 9 binaries)
*
LPARAMETERS tcDir
lcCurdir = SYS(5)+CURDIR()
CD ( EVL( tcDir, JUSTPATH( SYS(16) ) ) )
*<DevInfo>
_Author = "Lutz Scheffler"
_Company = "Lutz Scheffler Software Ingenieurbüro"
_Address = ""
_City = "Dresden"
_State = ""
_PostalCode = ""
_Country = "Deutschland"
*--
_Comments = ""
_CompanyName = " "
_FileDescription = " "
_LegalCopyright = ""
_LegalTrademark = ""
_ProductName = " "
_MajorVer = "1"
_MinorVer = "3"
_Revision = "0"
_LanguageID = ""
_AutoIncrement = "0"
*</DevInfo>
*<BuildProj>
*<.HomeDir = 'e:\se\bin2text' />
FOR EACH loProject IN _VFP.Projects FOXOBJECT
loProject.Close()
ENDFOR
STRTOFILE( '', '__newproject.f2b' )
BUILD PROJECT Bin2Text.pjx FROM '__newproject.f2b'
FOR EACH loProject IN _VFP.Projects FOXOBJECT
loProject.Close()
ENDFOR
MODIFY PROJECT 'Bin2Text.pjx' NOWAIT NOSHOW NOPROJECTHOOK
loProject = _VFP.Projects('Bin2Text.pjx')
WITH loProject.FILES
.ADD('doku\runb2t.pdmicl') && *< FileMetadata: Type="x" Cpid="1252" Timestamp="0" ID="0" ObjRev="0" User="" />
.ADD('doku\runb2t.pdm') && *< FileMetadata: Type="x" Cpid="1252" Timestamp="0" ID="0" ObjRev="0" User="" />
.ADD('library\bin_2_text.vcx') && *< FileMetadata: Type="V" Cpid="1252" Timestamp="0" ID="0" ObjRev="544" User="" />
.ADD('menu\bin2text.mnx') && *< FileMetadata: Type="M" Cpid="1252" Timestamp="0" ID="0" ObjRev="544" User="" />
.ADD('program\runb2t.prg') && *< FileMetadata: Type="P" Cpid="1252" Timestamp="0" ID="0" ObjRev="544" User="" />
.ADD('stuff.h') && *< FileMetadata: Type="T" Cpid="1252" Timestamp="0" ID="0" ObjRev="0" User="" />
*</BuildProj>
.ITEM('__newproject.f2b').Remove()
*<FileComments>
.ITEM(lcCurdir + 'program\runb2t.prg').Description = 'Main program. Defines Interfaces.'
*</FileComments>
*<ExcludedFiles>
.ITEM(lcCurdir + 'doku\runb2t.pdmicl').Exclude = .T.
.ITEM(lcCurdir + 'doku\runb2t.pdm').Exclude = .T.
.ITEM(lcCurdir + 'stuff.h').Exclude = .T.
*</ExcludedFiles>
*<TextFiles>
.ITEM(lcCurdir + 'stuff.h').Type = 'T'
*</TextFiles>
ENDWITH
WITH loProject
*<ProjectProperties>
.SetMain(lcCurdir + 'program\runb2t.prg')
.Debug = .T.
.Encrypted = .F.
*<.CmntStyle = 1 />
*<.NoLogo = .F. />
*<.SaveCode = .T. />
*<.User = '' />
.ProjectHookLibrary = 'library\hook.vcx'
.ProjectHookClass = 'bin2text_hook'
*</ProjectProperties>
ENDWITH
_VFP.Projects('Bin2Text.pjx').Close()
*ERASE '__newproject.f2b'
CD (lcCurdir)
RETURN