Warning, /education/labplot/liborigin/README is written in an unsupported language. File is not indexed.
0001 liborigin, standalone version 0002 --------------------- 0003 0004 This code is a standalone library for reading OriginLab project files. 0005 0006 It is based on the code at 0007 http://sourceforge.net/projects/liborigin 0008 http://soft.proindependent.com/liborigin2 0009 0010 Additionally, some fixes were applied to silence UBSan warnings caused by 0011 uninitialised POD struct members. 0012 0013 AUTHORS: Knut Franke, Miquel Garriga, Stefan Gerlach, Alex Kargovsky, Russell Standish, Ion Vasilief 0014 0015 DEPENDENCIES: tree.hh (included) http://tree.phi-sci.com/ 0016 0017 --------------------------------------------------------------------------- 0018 COMPILING: liborigin uses CMake for the building process. 0019 CMake is available at http://www.cmake.org/ 0020 0021 After installing CMake on your system, issue the following commands: 0022 $ mkdir build 0023 $ cd build 0024 $ cmake .. 0025 $ make 0026 $ make install 0027 0028 This will compile and install: 0029 a shared and a static version of liborigin library 0030 opj2dat, a program to extract data tables of an origin project into ASCII .dat files 0031 liborigin.pc a pkg-config metadata file to get compiler and linker flags 0032 c++ devel headers 0033 0034 Individual components (origin-static, origin, opj2dat, or doc) can be generated and installed by requesting 0035 a specific target on the make command line. 0036 For example: 0037 $ make origin-static 0038 builds the static liborigin.a library only. Then: 0039 $ make install 0040 installs the c++ devel headers, liborigin.pc, and liborigin.a 0041 0042 Doc generation requires doxygen (http://doxygen.org) 0043 0044 To include liborigin in a project using cmake add 0045 find_package(PkgConfig) 0046 pkg_check_modules(liborigin liborigin=>3.0.0) 0047 target_link_libraries( my_target ${liborigin_LIBRARIES} ) 0048 target_include_directories( my_target PUBLIC ${liborigin_INCLUDE_DIRS} ) 0049 to the project CMakeLists.txt file. 0050 0051 To include liborigin in a project using qmake add 0052 CONFIG += link_pkgconfig 0053 PKGCONFIG += liborigin 0054 to the project.pro file. 0055 0056 Logging of origin file parsing process is deactivated by default. 0057 To enable it define a GENERATE_CODE_FOR_LOG variable at the cmake command: 0058 $ cmake -DGENERATE_CODE_FOR_LOG=1 .. 0059 0060 --------------------------------------------------------------------------- 0061 FEATURES: 0062 * supports the import of any project from version 3.5 to latest (2017) 0063 * includes a pkg-config metadata file 0064 0065 --------------------------------------------------------------------------- 0066 EXAMPLES: 0067 * opj2dat (included) extracts the data tables of an origin project file into dat files