Size: 2274
Comment:
|
Size: 2277
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 62: | Line 62: |
It can also be generated from the source code, but is setup as part of the whole wxArt2d for the moment. |
But when configuring wxDoview, you can switch on the option ofr doumentation, and it will be generated for you. |
Line 66: | Line 65: |
Docview Framework Standalone
Get it from SVN
svn co https://wxart2d.svn.sourceforge.net/svnroot/wxart2d/trunk/wxArt2D/packages/wxdocview wxdocview
dependencies
Install wxWidgets, and expat is already init.
configure using CMake
Assuming you checkout into /home/klaas/soft/svncheckout/wxdocview:
cd /home/klaas/soft/svncheckout/wxdocview cd /home/klaas/soft/svncheckout mkdir buidlwxdocview cd buidlwxdocview cmake-gui ../wxdocview
In the last cmake-gui, hit a few times configure, and next generate. All is done. You can set wxWidgets options, in order to choose a different wxWidgets version and/or debug. After a change, configure again and generate again. For wxWidgets 2.9 the output is like:
Configuration /usr/local/bin/wx-config --debug=no;--static=yes;--unicode=yes;--universal=no;--toolkit=gtk2;--version=2.9 wxWidgets_PFVERSION : 2.9 wxWidgets_USE_DEBUG : OFF wxWidgets_USE_UNICODE : ON wxWidgets_USE_STATIC : ON wxWidgets_USE_UNIVERSAL : OFF wxWidgets_FOUND : TRUE wxWidgets_INCLUDE_DIRS : /usr/local/lib/wx/include/gtk2-unicode-static-2.9;/usr/local/include/wx-2.9 wxWidgets_LIBRARY_DIRS : /usr/local/lib wxWidgets_CXX_FLAGS : -Wformat=0; wxWidgets_DEFINITIONS : -D_FILE_OFFSET_BITS=64;-D__WXGTK__;-pthread wxWidgets_FIND_COMPONENTS : aui,stc,qa,xrc,html,adv,xml,net,core,base Configuring done
Now you are ready to build. Just type:
cd /home/klaas/soft/svncheckout/buildwxdocview make
All ready, you will have compiled examples. And next you can install.
sudo make install
For CMake lovers in /usr/local/share/wxdocview you will find what you need to setup your own application using wxWidgets and wxDocview. Incluses are in /usr/local/include/wxdocview-1.2. Libraries are in /usr/local/lib/wxdocview
Documentation
General design and usage DocviewModule. Doxygen based documentation an be found in this wiki here: http://www.wxart2d.org/wxart2dDoxygen/html/index.html But when configuring wxDoview, you can switch on the option ofr doumentation, and it will be generated for you.
Screen shots of the samples see http://www.wxart2d.org/moin/WxArt2dSamples.