Remove unused rpc/xdr references.
[dyninst.git] / examples / CMakeLists.txt
1
2
3 add_executable(unstrip unstrip/unstrip.C
4                        unstrip/util.C
5                        unstrip/types.C
6                        unstrip/semanticDescriptor.C
7                        unstrip/database.C
8                        unstrip/fingerprint.C
9                        unstrip/callback.C)
10 add_dependencies(unstrip parseAPI symtabAPI instructionAPI common)
11 target_link_libraries(unstrip parseAPI symtabAPI instructionAPI common)
12 file(COPY unstrip/ddb.db DESTINATION ${INSTALL_BIN_DIR})
13 file(COPY unstrip/params.db DESTINATION ${INSTALL_BIN_DIR})
14 file(COPY unstrip/unistd.db DESTINATION ${INSTALL_BIN_DIR})
15
16 add_executable(codeCoverage codeCoverage/codeCoverage.C)
17 add_dependencies(codeCoverage dyninstAPI patchAPI parseAPI symtabAPI instructionAPI pcontrol common)
18 target_link_libraries(codeCoverage dyninstAPI patchAPI parseAPI symtabAPI instructionAPI pcontrol common)
19
20 add_library(Inst SHARED codeCoverage/libInst.C)
21
22 add_executable(cfg_to_dot ../parseAPI/doc/example.cc)
23 add_dependencies(cfg_to_dot parseAPI symtabAPI)
24 target_link_libraries(cfg_to_dot parseAPI symtabAPI
25         )
26 #add_executable(retee)
27
28 install (TARGETS cfg_to_dot unstrip codeCoverage Inst
29         RUNTIME DESTINATION ${INSTALL_BIN_DIR}
30         LIBRARY DESTINATION ${INSTALL_LIB_DIR}
31         ARCHIVE DESTINATION ${INSTALL_LIB_DIR}
32         PUBLIC_HEADER DESTINATION ${INSTALL_INCLUDE_DIR})
33    
34