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)
52 #add_library (plugin_aap SHARED plugins/plugin_aap.cxx)
53 #add_library (plugin_compile SHARED plugins/plugin_compile.cxx)
54 #add_library (plugin_foreach SHARED plugins/plugin_foreach.cxx)
55 #add_library (plugin_make SHARED plugins/plugin_make.cxx)
56 #add_library (plugin_scons SHARED plugins/plugin_scons.cxx)
57 #add_library (plugin_test SHARED plugins/plugin_test.cxx)
59 add_library (plugin_cache SHARED plugins/plugin_cache.cxx)
60 add_library (plugin_editor SHARED plugins/plugin_editor.cxx)
61 add_library (plugin_grep SHARED plugins/plugin_grep.cxx)
62 add_library (plugin_perl SHARED plugins/plugin_perl.cxx)
63 add_library (plugin_perlpackages SHARED plugins/plugin_perlpackages.cxx)
64 add_library (plugin_python SHARED plugins/plugin_python.cxx)
65 add_library (plugin_ruby SHARED plugins/plugin_ruby.cxx)
67 install (TARGETS sblib silent_bob RUNTIME DESTINATION bin
68 LIBRARY DESTINATION lib )