mention which files should be changed when adding a new library in a few places where this was less clear

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-03-21 00:15:29 +00:00
parent d40a56d0db
commit cde948b4db

View File

@@ -174,19 +174,20 @@ a) Add files to files.bkl:
b) Modify bakefile system in build/bakefiles/ to recognize wxFoo:
* Add 'foo' to MAIN_LIBS and LIBS_NOGUI or LIBS_GUI (depending on whether
the library depends on wxCore or not) to wxwin.py file.
* Add the library to EXTRALIBS in wxwin.py
* Add extra libraries needed by wxFoo (if any) to EXTRALIBS in wxwin.py
* Add WXLIB_FOO definition to common.bkl (into the "Names of component
libraries" section). It looks like this:
<set var="WXLIB_FOO">
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('foo')))</if>
</set>
c) Add files to monolithic build: it's enough to add FOO_SRC to MONOLIB_GUI_SRC
or MONOLIB_SRC, depending on whether wxFoo uses GUI or not.
c) Modify monolithic.bkl to add files to monolithic build: it's enough to add
FOO_SRC to MONOLIB_GUI_SRC or MONOLIB_SRC, depending on whether wxFoo uses
GUI or not.
d) Add files to multilib build: add foolib and foodll targets. Don't use
wxBase targets as the template, use e.g. wxXML or wxHTML. Make sure
WXMAKINGDLL_FOO is defined in foodll.
d) Modify multilib.bkl to add files to multilib build: add foolib and foodll
targets. Don't use wxBase targets as the template, use e.g. wxXML or wxHTML.
Make sure WXMAKINGDLL_FOO is defined in foodll.
e) Regenerate all makefiles (don't forget to run autoconf)