This repository was archived by the owner on Aug 31, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +114
-9
lines changed
Expand file tree Collapse file tree 2 files changed +114
-9
lines changed Original file line number Diff line number Diff line change 44 '../common.gypi' ,
55 ],
66
7+ 'variables' :
8+ {
9+ 'revxml_sources' :
10+ [
11+ 'src/cxml.h' ,
12+ 'src/revxml.h' ,
13+ 'src/revxml.cpp' ,
14+ 'src/xmlattribute.cpp' ,
15+ 'src/xmldoc.cpp' ,
16+ 'src/xmlelement.cpp' ,
17+ ],
18+ },
19+
720 'targets' :
821 [
922 {
2841
2942 'sources' :
3043 [
31- 'src/cxml.h' ,
32- 'src/revxml.h' ,
33- 'src/revxml.cpp' ,
34- 'src/xmlattribute.cpp' ,
35- 'src/xmldoc.cpp' ,
36- 'src/xmlelement.cpp' ,
44+ '<@(revxml_sources)' ,
3745 ],
3846
3947 'xcode_settings' :
5563 },
5664 },
5765 },
66+ {
67+ 'target_name' : 'revxml-server' ,
68+ 'type' : 'shared_library' ,
69+ 'product_prefix' : '' ,
70+ 'product_name' : 'server-revxml' ,
71+
72+ 'dependencies' :
73+ [
74+ '../libexternal/libexternal.gyp:libExternal' ,
75+ '../thirdparty/libxml/libxml.gyp:libxml' ,
76+ '../thirdparty/libxslt/libxslt.gyp:libxslt' ,
77+ '../thirdparty/libz/libz.gyp:libz' ,
78+ ],
79+
80+ 'include_dirs' :
81+ [
82+ 'src' ,
83+ ],
84+
85+ 'sources' :
86+ [
87+ '<@(revxml_sources)' ,
88+ ],
89+
90+ 'xcode_settings' :
91+ {
92+ 'INFOPLIST_FILE' : 'rsrc/revxml-Info.plist' ,
93+ 'EXPORTED_SYMBOLS_FILE' : 'revxml.exports' ,
94+ },
95+
96+ 'variables' :
97+ {
98+ 'ios_external_symbols' : [ '_getXtable' ],
99+ },
100+
101+ 'all_dependent_settings' :
102+ {
103+ 'variables' :
104+ {
105+ 'dist_files' : [ '<(PRODUCT_DIR)/<(_product_name)>(lib_suffix)' ],
106+ },
107+ },
108+ },
58109 ],
59110}
Original file line number Diff line number Diff line change 44 '../common.gypi' ,
55 ],
66
7+ 'variables' :
8+ {
9+ 'revzip_sources' :
10+ [
11+ 'src/revzip.cpp' ,
12+ ],
13+ },
14+
715 'targets' :
816 [
917 {
2129
2230 'sources' :
2331 [
24- 'src/revzip.cpp ' ,
32+ '<@(revzip_sources) ' ,
2533 ],
2634
2735 'xcode_settings' :
3442 [
3543 'OS == "mac"' ,
3644 {
37- 'product_extension' : 'bundle' ,
38-
3945 'libraries' :
4046 [
4147 '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework' ,
5763 },
5864 },
5965 },
66+ {
67+ 'target_name' : 'revzip-server' ,
68+ 'type' : 'shared_library' ,
69+ 'product_prefix' : '' ,
70+ 'product_name' : 'server-revzip' ,
71+
72+ 'dependencies' :
73+ [
74+ '../libexternal/libexternal.gyp:libExternal' ,
75+ '../thirdparty/libzip/libzip.gyp:libzip' ,
76+ ],
77+
78+ 'sources' :
79+ [
80+ '<@(revzip_sources)' ,
81+ ],
82+
83+ 'xcode_settings' :
84+ {
85+ 'INFOPLIST_FILE' : 'rsrc/revzip-info.plist' ,
86+ },
87+
88+ 'conditions' :
89+ [
90+ [
91+ 'OS == "mac"' ,
92+ {
93+ 'libraries' :
94+ [
95+ '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework' ,
96+ ],
97+ },
98+ ],
99+ ],
100+
101+ 'variables' :
102+ {
103+ 'ios_external_symbols' : [ '_getXtable' ],
104+ },
105+
106+ 'all_dependent_settings' :
107+ {
108+ 'variables' :
109+ {
110+ 'dist_files' : [ '<(PRODUCT_DIR)/<(_product_name)>(lib_suffix)' ],
111+ },
112+ },
113+ },
60114 ],
61115}
You can’t perform that action at this time.
0 commit comments