Skip to content
Snippets Groups Projects
Commit 4843bed3 authored by Alexis Nasr's avatar Alexis Nasr
Browse files

activated compiling of maca_graph_parser

parent 045389ae
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,6 @@ add_subdirectory(perceptron)
#add_subdirectory(maca_lemmatizer)
add_subdirectory(maca_trans_parser)
add_subdirectory(maca_crf_tagger)
#add_subdirectory(maca_graph_parser)
add_subdirectory(maca_graph_parser)
#set(CMAKE_INSTALL_PREFIX ../)
#add_definitions("-std=c++0x")
SET( CMAKE_CXX_FLAGS "-std=c++0x")
set(SOURCES
./array.c
./hash.c
./maca_alphabet.cc
./maca_alphabet_wrapper.cc
./maca_common.c
./maca_graph_parser_alphabet.c
./maca_graph_parser.c
./maca_graph_parser_conll2007_format.c
./maca_graph_parser_corpora.c
./maca_graph_parser_decoder1.c
./maca_graph_parser_decoder2.c
./maca_graph_parser_decoder.c
./maca_graph_parser_dep_count_table.c
./maca_graph_parser_feature_counter_array.c
./maca_graph_parser_feature_counter.c
./maca_graph_parser_features.c
./maca_graph_parser_feature_table.c
./maca_graph_parser_feature_vector.c
./maca_graph_parser_hash.c
./maca_graph_parser_heapq.c
./maca_graph_parser_hyperdecoder.c
./maca_graph_parser_hypergraph.c
./maca_graph_parser_metrics.c
./maca_graph_parser_model.c
./maca_graph_parser_sentence.c
./maca_mcf.cc
./maca_mcf_wrapper.cc
./maca_msg.c
./simple_parser.cc
./maca_graph_parser_train.c
)
#compiling library
include_directories(.)
add_library(graph_parser STATIC ${SOURCES})
#target_link_libraries(graph_parser perceptron)
#compiling, linking and installing executables
add_executable(test_simple_parser ./test_simple_parser.cc)
target_link_libraries(test_simple_parser graph_parser)
install (TARGETS test_simple_parser DESTINATION bin)
add_executable(maca_graph_parser_decode ./maca_graph_parser_decode_main.c)
target_link_libraries(maca_graph_parser_decode graph_parser)
install (TARGETS maca_graph_parser_decode DESTINATION bin)
add_executable(maca_graph_parser_eval ./maca_graph_parser_eval_main.c)
target_link_libraries(maca_graph_parser_eval graph_parser)
install (TARGETS maca_graph_parser_eval DESTINATION bin)
add_executable(maca_graph_parser ./maca_graph_parser_main.c)
target_link_libraries(maca_graph_parser graph_parser)
install (TARGETS maca_graph_parser DESTINATION bin)
add_executable(maca_graph_parser_print_model ./maca_graph_parser_print_model_main.c)
target_link_libraries(maca_graph_parser_print_model graph_parser)
install (TARGETS maca_graph_parser_print_model DESTINATION bin)
add_executable(maca_graph_parser_resize_model ./maca_graph_parser_resize_model_main.c)
target_link_libraries(maca_graph_parser_resize_model graph_parser)
install (TARGETS maca_graph_parser_resize_model DESTINATION bin)
add_executable(maca_graph_parser_train ./maca_graph_parser_train_main.c)
target_link_libraries(maca_graph_parser_train graph_parser)
install (TARGETS maca_graph_parser_train DESTINATION bin)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment