diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7efc9e5af7b3be8f9bb9511a23920b8a50cb293a..bd2ed1c48dec24215fc2d5d5afab5ca11ea4884e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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 ../)
diff --git a/maca_graph_parser/CMakeLists.txt b/maca_graph_parser/CMakeLists.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3d1ab1fe5709b1400a71bb761b3902626de7cdc1
--- /dev/null
+++ b/maca_graph_parser/CMakeLists.txt
@@ -0,0 +1,72 @@
+#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)
+
+
+