Select Git revision
-
Loic-Lenof authoredLoic-Lenof authored
CMakeLists.txt 3.53 KiB
set(SOURCES src/context.c
src/feat_desc.c
src/movement_parser.c
src/movement_tagger.c
src/feat_fct.c
src/global_feat_vec.c
src/oracle_parser.c
src/oracle_tagger.c
src/simple_decoder_parser.c
src/simple_decoder_forrest.c
src/simple_decoder_tagger.c
src/feat_lib.c
src/stack.c
src/config2feat_vec.c
src/depset.c
src/feat_model.c
src/config.c
src/queue.c
src/beam.c
src/feat_types.c
src/word_buffer.c
)
#compiling library
include_directories(src)
add_library(transparse STATIC ${SOURCES})
target_link_libraries(transparse perceptron)
#compiling, linking and installing executables
add_executable(maca_trans_tagger_mcf2cff ./src/maca_trans_tagger_mcf2cff.c)
target_link_libraries(maca_trans_tagger_mcf2cff perceptron)
target_link_libraries(maca_trans_tagger_mcf2cff transparse)
target_link_libraries(maca_trans_tagger_mcf2cff maca_common)
install (TARGETS maca_trans_tagger_mcf2cff DESTINATION bin)
add_executable(maca_trans_parser_mcf2fann ./src/maca_trans_parser_mcf2fann.c)
target_link_libraries(maca_trans_parser_mcf2fann perceptron)
target_link_libraries(maca_trans_parser_mcf2fann transparse)
target_link_libraries(maca_trans_parser_mcf2fann maca_common)
install (TARGETS maca_trans_parser_mcf2fann DESTINATION bin)
add_executable(maca_trans_parser_mcf2cff ./src/maca_trans_parser_mcf2cff.c)
target_link_libraries(maca_trans_parser_mcf2cff perceptron)
target_link_libraries(maca_trans_parser_mcf2cff transparse)
target_link_libraries(maca_trans_parser_mcf2cff maca_common)
install (TARGETS maca_trans_parser_mcf2cff DESTINATION bin)
add_executable(maca_trans_parser ./src/maca_trans_parser.c)
target_link_libraries(maca_trans_parser perceptron)
target_link_libraries(maca_trans_parser transparse)
target_link_libraries(maca_trans_parser maca_common)
install (TARGETS maca_trans_parser DESTINATION bin)
add_executable(maca_trans_parser_forrest ./src/decode_forrest.c)
target_link_libraries(maca_trans_parser_forrest perceptron)
target_link_libraries(maca_trans_parser_forrest transparse)
target_link_libraries(maca_trans_parser_forrest maca_common)
install (TARGETS maca_trans_parser_forrest DESTINATION bin)
add_executable(maca_trans_tagger ./src/maca_trans_tagger.c)
target_link_libraries(maca_trans_tagger perceptron)
target_link_libraries(maca_trans_tagger transparse)
target_link_libraries(maca_trans_tagger maca_common)
install (TARGETS maca_trans_tagger DESTINATION bin)
add_executable(maca_trans_parser_train ./src/train_perceptron.c)
target_compile_options(maca_trans_parser_train INTERFACE -Wall)
target_link_libraries(maca_trans_parser_train perceptron)
target_link_libraries(maca_trans_parser_train transparse)
target_link_libraries(maca_trans_parser_train maca_common)
install (TARGETS maca_trans_parser_train DESTINATION bin)
add_executable(test_word_buffer ./src/test_word_buffer.c)
target_compile_options(test_word_buffer INTERFACE -Wall)
target_link_libraries(test_word_buffer transparse)
target_link_libraries(test_word_buffer maca_common)
install (TARGETS test_word_buffer DESTINATION bin)
#add_executable(test_w2v ./src/test_w2v.c)
#target_link_libraries(test_w2v transparse)
#install (TARGETS test_w2v DESTINATION bin)
#add_executable(w2v_filter ./src/w2v_filter.c)
#target_link_libraries(w2v_filter transparse)
#install (TARGETS w2v_filter DESTINATION bin)
#add_executable(test_word_emb ./src/test_word_emb.c)
#target_link_libraries(test_word_emb transparse)
#install (TARGETS test_word_emb DESTINATION bin)
#add_executable(print_model ./src/print_model.c)
#target_link_libraries(print_model transparse)
#install (TARGETS print_model DESTINATION bin)