Fix memory leaks in emitElf (#895)
[dyninst.git] / parseThat / CMakeLists.txt
1 add_executable(parseThat src/parseThat.C src/config.C src/ipc.C src/record.C src/strlist.C src/reglist.C src/log.C src/utils.C src/sha1.C src/dyninstCore.C src/dyninstCompat.v5.C)
2 add_definitions(-DHAVE_BPATCH_PROCESS_H)
3
4 if (USE_OpenMP)
5 set_target_properties (parseThat PROPERTIES COMPILE_FLAGS ${OpenMP_CXX_FLAGS} LINK_FLAGS ${OpenMP_CXX_FLAGS})
6 endif()
7
8 target_link_private_libraries(parseThat dyninstAPI patchAPI parseAPI instructionAPI stackwalk symtabAPI common pcontrol dynDwarf dynElf ${Boost_LIBRARIES} ${ElfUtils_LIBRARIES})
9 install(TARGETS parseThat RUNTIME DESTINATION bin)