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