Skip to content
Snippets Groups Projects
Select Git revision
  • 4843bed3a28b3ccae5f4b06106b9a90eda865229
  • master default protected
  • johannes
  • partial_parser
  • Aloui_Dary
  • ignore_punct
  • AC
  • classifier
  • fixhelp
  • libmacaon2
  • error_predictor
  • morpho
  • ssrnn
  • tfparsing
  • silvio
  • tagger_options
  • maca_trans_frame_parser
  • alexis
  • new_config
  • tagparse
  • maca_graph_parser
21 results

CMakeLists.txt

Blame
  • CMakeLists.txt 2.41 KiB
    #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)