("tmp_allsources", "file", "template-allsources.xml", "sources"),
("tmp_linkorder", "file", "template-linkorder.xml", "sources"),
("tmp_grouplist", "file", "template-grouplist.xml", "sources"),
+ ("tmp_alllibraries", "file", "template-alllibraries.xml", "libraries"),
+ ("tmp_linkorderlib", "file", "template-linkorderlib.xml", "libraries"),
+ ("tmp_grouplistlib", "file", "template-grouplistlib.xml", "libraries"),
("tmp_extrasearchdirs", "file", "template-searchdirs.xml", "extrasearchdirs"),
("tmp_projectxmldata", "file", "template.prj.xml", None)
]
if not os.path.exists(templatedir):
raise Error, "Cannot file templatedir"
self.dict = dict
+ if not dict.has_key('prefixname'):
+ dict['prefixname'] = 'mwerks_plugin_config.h'
self.templatelist = templatelist
self.templatedir = templatedir
raise Error, "List or tuple expected for %s"%key
for curkeyvalue in keyvalues:
self.dict[key] = curkeyvalue
+ if os.path.isabs(curkeyvalue):
+ self.dict['pathtype'] = 'Absolute'
+ else:
+ self.dict['pathtype'] = 'Project'
curkeyvalueresult = self._generate_one_value(datasource, dataname)
result = result + curkeyvalueresult
finally:
# Restore the list
self.dict[key] = keyvalues
+ self.dict['pathtype'] = None
+ del self.dict['pathtype']
else:
# Not a multi-element rule. Simply generate
result = self._generate_one_value(datasource, dataname)
</SETTING>
<!-- Settings for "Access Paths" panel -->
- <SETTING><NAME>AlwaysSearchUserPaths</NAME><VALUE>false</VALUE></SETTING>
+ <SETTING><NAME>AlwaysSearchUserPaths</NAME><VALUE>true</VALUE></SETTING>
<SETTING><NAME>InterpretDOSAndUnixPaths</NAME><VALUE>true</VALUE></SETTING>
<SETTING><NAME>UserSearchPaths</NAME>
<SETTING>
<SETTING><NAME>MWFrontEnd_C_onlystdkeywords</NAME><VALUE>0</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_enumsalwaysint</NAME><VALUE>0</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_mpwpointerstyle</NAME><VALUE>0</VALUE></SETTING>
- <SETTING><NAME>MWFrontEnd_C_prefixname</NAME><VALUE>mwerks_plugin_config.h</VALUE></SETTING>
+ <SETTING><NAME>MWFrontEnd_C_prefixname</NAME><VALUE>%(prefixname)s</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_ansistrict</NAME><VALUE>0</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_mpwcnewline</NAME><VALUE>0</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_wchar_type</NAME><VALUE>1</VALUE></SETTING>
<FILEKIND>Text</FILEKIND>
<FILEFLAGS>Debug</FILEFLAGS>
</FILE>
+%(tmp_alllibraries)s
<FILE>
<PATHTYPE>Name</PATHTYPE>
<PATH>PythonCore</PATH>
<PATH>%(mac_exportname)s</PATH>
<PATHFORMAT>MacOS</PATHFORMAT>
</FILEREF>
+%(tmp_linkorderlib)s
<FILEREF>
<PATHTYPE>Name</PATHTYPE>
<PATH>PythonCore</PATH>
<PATH>MSL ShLibRuntime.Lib</PATH>
<PATHFORMAT>MacOS</PATHFORMAT>
</FILEREF>
+%(tmp_grouplistlib)s
<FILEREF>
<TARGETNAME>%(mac_targetname)s</TARGETNAME>
<PATHTYPE>Name</PATHTYPE>