Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (17 sloc) 581 Bytes
Compile and install WJElement:
$ ccmake . #change settings if desired, 'c'onfigure and 'g'enerate
$ cmake -DLIB_DEST_DIR=/usr/local/lib64 #set lib path if needed
$ make
# make install
You may also use:
$ cmake-gui .
instead of ccmake.
Use it in your program:
#include <wjelement.h>
Link against it in your project:
(simple usage)
-lwjelement -lwjreader -lwjwriter
(advanced and lower-level functionality)
By default, WJElement will install to /usr/local. If linking fails to find
WJElement immediately after installation, you may need to run ldconfig.