cmake_minimum_required(VERSION 2.8.9)
-PROJECT(qtlldb)
+PROJECT(frida)
set(CMAKE_VERBOSE_MAKEFILE on)
set(CMAKE_CXX_COMPILER "clang++")
-SET(qtlldb_SOURCES
+SET(frida_SOURCES
src/Binary.cxx
src/main.cxx
src/gui/Mainwindow.cxx
src/disassembler/InstructionReader.cxx
src/disassembler/Target.cxx
src/disassembler/Disassembler.cxx)
-SET(qtlldb_HEADERS
+SET(frida_HEADERS
src/Binary.hxx
src/include_llvm.hxx
src/Section.hxx
src/gui/Mainwindow.hxx
src/gui/widgets/BasicBlockWidget.hxx)
-ADD_EXECUTABLE(qtlldb ${qtlldb_SOURCES} ${qtlldb_HEADERS_MOC})
+ADD_EXECUTABLE(frida ${frida_SOURCES} ${frida_HEADERS_MOC})
+#ADD_LIBRARY(llvm SHARED )
ADD_DEFINITIONS(${QT_DEFINITIONS})
-qt5_use_modules(qtlldb Widgets)
+qt5_use_modules(frida Widgets)
INCLUDE_DIRECTORIES("src")
-TARGET_LINK_LIBRARIES(qtlldb ${QT_LIBRARIES} ${LLVM_LDFLAGS} ${LLVM_LIBS} ${LOG4CXX_LDFLAGS} -ltinfo -lpthread -ldl)
+TARGET_LINK_LIBRARIES(frida ${QT_LIBRARIES} ${LLVM_LDFLAGS} ${LLVM_LIBS} ${LOG4CXX_LDFLAGS} -ltinfo -lpthread -ldl)