Commit 98ab1f66 authored by Igor Danielewicz's avatar Igor Danielewicz

Fixed incompatibility with new version of corpus2

parent 57f9fa8d
......@@ -6,6 +6,7 @@ tests/tests
#*#
*~
/tmp/
/build
CMakeCache.txt
CMakeFiles
CMakeLists.txt.user*
......
......@@ -62,9 +62,9 @@ add_subdirectory(maca-analyse)
add_subdirectory(maca-reanalyse)
add_subdirectory(maca-convert)
if(UNIX)
add_subdirectory(tests)
endif()
# if(UNIX)
# add_subdirectory(tests)
# endif()
if(MACA_BUILD_SWIG)
FIND_PACKAGE(SWIG)
......
PROJECT(MacaSwigWrap)
set (CMAKE_CXX_STANDARD 11)
find_package(Toki REQUIRED)
set(TOKI_LIBS ${Toki_LIBRARY})
find_package(LibXML++ REQUIRED QUIET)
include_directories(${LibXML++_INCLUDE_DIRS})
link_directories(${LibXML++_LIBRARY_DIRS})
set(LIBS ${LIBS} ${LibXML++_LIBRARIES})
find_package(Corpus2 1.0.8 REQUIRED)
set(CORPUS2_LIBS ${Corpus2_LIBRARY})
include_directories(${Corpus2_INCLUDE_DIR})
......
......@@ -3,10 +3,12 @@
%module maca
%{
//
#include <libxml++/libxml++.h>
%}
%include <libcorpus2/unicodestring.i>
%include <libcorpus2/unicodestring.i>
//%include <libcorpus2/corpus2exception.i>
%include "plaintextreader.i"
%include "premorphtextreader.i"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment