]> git.siccegge.de Git - frida/frida.git/blobdiff - CMakeLists.txt
Make function/jump targets clickable
[frida/frida.git] / CMakeLists.txt
index 8a6433f916c0f3d5a30280c7c96329ebb92595f5..3a14e989234ba2cb53d7f7fbb20f100588d4947b 100644 (file)
@@ -27,7 +27,9 @@ execute_process(COMMAND ${LLVM_CONFIG} --ldflags     OUTPUT_VARIABLE LLVM_LDFLAG
 execute_process(COMMAND ${LLVM_CONFIG} --libs        OUTPUT_VARIABLE LLVM_LIBS        OUTPUT_STRIP_TRAILING_WHITESPACE)
 execute_process(COMMAND ${LLVM_CONFIG} --system-libs OUTPUT_VARIABLE LLVM_SYSTEM_LIBS OUTPUT_STRIP_TRAILING_WHITESPACE)
 
-string(REPLACE -O2 '' LLVM_CFLAGS ${LLVM_CFLAGS})
+string(REPLACE -O2 "" LLVM_CFLAGS ${LLVM_CFLAGS})
+string(REPLACE -fno-exceptions "" LLVM_CFLAGS ${LLVM_CFLAGS})
+string(REPLACE -fno-rtti "" LLVM_CFLAGS ${LLVM_CFLAGS})
 
 separate_arguments(LLVM_CFLAGS)
 add_definitions(${LLVM_CFLAGS})
@@ -41,6 +43,7 @@ set(CMAKE_CXX_COMPILER "clang++")
 
 SET(frida_SOURCES
   src/main.cxx
+  src/core/InformationManager.cxx
   src/gui/Mainwindow.cxx
   src/gui/widgets/BasicBlockWidget.cxx
   src/gui/widgets/CFGScene.cxx
@@ -50,6 +53,7 @@ SET(frida_SOURCES
   )
 SET(frida_HEADERS
   src/include_llvm.hxx
+  src/core/InformationManager.hxx
   src/gui/qt.hxx
   src/gui/Mainwindow.hxx
   src/gui/widgets/BasicBlockWidget.hxx