1 cmake_minimum_required (VERSION 2.6)
3 include_directories ("include", "gclib/include")
4 link_directories ("./")
5 set (LINK_FLAGS, "-L./ -lsblib")
6 add_library (sblib SHARED gclib/src/darray.cxx
7 gclib/src/deprecated_dsplit.cxx
9 gclib/src/dheapsort.cxx
28 link_libraries (sblib dl)
29 add_executable (silent_bob src/callTags.cxx
48 add_dependencies (silent_bob sblib)
50 add_library (plugin_cache SHARED plugins/plugin_cache.cxx)
51 add_library (plugin_editor SHARED plugins/plugin_editor.cxx)
52 add_library (plugin_grep SHARED plugins/plugin_grep.cxx)
53 add_library (plugin_perl SHARED plugins/plugin_perl.cxx)
54 add_library (plugin_perlpackages SHARED plugins/plugin_perlpackages.cxx)
55 add_library (plugin_python SHARED plugins/plugin_python.cxx)
56 add_library (plugin_ruby SHARED plugins/plugin_ruby.cxx)
57 add_library (plugin_ruby_newclass SHARED plugins/plugin_ruby_newclass.cxx)
59 install (TARGETS sblib silent_bob RUNTIME DESTINATION bin
60 LIBRARY DESTINATION lib )