aboutsummaryrefslogtreecommitdiff
path: root/zinclib.d/README
diff options
context:
space:
mode:
Diffstat (limited to 'zinclib.d/README')
-rw-r--r--zinclib.d/README55
1 files changed, 55 insertions, 0 deletions
diff --git a/zinclib.d/README b/zinclib.d/README
new file mode 100644
index 0000000..26df619
--- /dev/null
+++ b/zinclib.d/README
@@ -0,0 +1,55 @@
+Zinclib
+=======
+
+Zinclib is a library that is made to use TkZinc into C++ code. It is
+a .o file that can be included directly into your executable.
+
+Directory structure
+-------------------
+
+- src : contains C++ sources of zinclib
+
+- tmp : will contain temporary compilation file and the final zinclib.o
+
+- test : contains zinclib tests' sources
+
+- doc : contains doxygen generated documentation and some examples of
+ zinclib usage
+
+- gen.pl is a file that have been used to generate some of the c++
+source from TkZinc source.
+
+
+Code
+----
+
+API documentation is available into the doc directory as doxygen
+files. To use zinclib in your own code, the 'HOWTO' file explains the
+basic on getting zinclib working.
+
+
+Compilation with zinclib
+------------------------
+
+Before using zinclib into your application you need :
+
+- tcl/tk >= 8.4
+- TkZinc compiled for tcl usage and installed as done by IntuiKit's ThirdParty
+- zinclib.o made as described into 'INSTALL'
+
+zinclib is a .o file because this is the easiest way to compile and
+use. This may change. To use a .o file just add it to your link
+command during the compilation of your applicaion.
+
+To link with zinklib you will need to add these option to your linker :
+
+ -ltcl -ltk -lTkZinc zinclib.o
+
+
+Notes :
+
+- On some plateforms it can be -ltcl8.4 and -ltk8.4 if the linker
+doesn't find tcl and tk.
+- You need to have tkzinc compiled for TCL under the name libTkZinc.<ext>
+in your library search path.
+