]> git.siccegge.de Git - frida/frida.git/commitdiff
Start install Foo dev/install
authorChristoph Egger <Christoph.Egger@fau.de>
Mon, 16 Mar 2015 16:34:13 +0000 (17:34 +0100)
committerChristoph Egger <Christoph.Egger@fau.de>
Mon, 16 Mar 2015 16:34:13 +0000 (17:34 +0100)
CMakeLists.txt

index 51f9689ee3f673fb785d80b8410e126aa690508b..933170b5f74c6c6bbb9f1da22ca6d9e9f2c4964e 100644 (file)
@@ -2,10 +2,10 @@ cmake_minimum_required(VERSION 2.8.9)
 PROJECT(frida)
 
 set(CMAKE_VERBOSE_MAKEFILE on)
-
 set(CMAKE_AUTOMOC ON)
 set(CMAKE_INCLUDE_CURRENT_DIR ON)
 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules")
+include(GNUInstallDirs)
 
 find_package(Qt5Widgets)
 find_package(Qt5 CONFIG REQUIRED Widgets Gui)
@@ -82,7 +82,7 @@ SET(frida_HEADERS
   )
 
 ADD_EXECUTABLE(frida src/main.cxx ${frida_SOURCES} ${frida_HEADERS_MOC})
-#ADD_LIBRARY(llvm SHARED )
+
 
 ADD_DEFINITIONS(${QT_DEFINITIONS})
 
@@ -134,3 +134,11 @@ ADD_SUBDIRECTORY(/usr/src/gmock gmock)
 enable_testing()
 target_link_libraries(fridatest gmock gtest ${QT_LIBRARIES} ${LLVM_LDFLAGS} -lLLVM-3.5 ${LLVM_SYSTEM_LIBS} ${LOG4CXX_LDFLAGS} ${GUILE_LDFLAGS} ${QUAZIP_LIBRARIES})
 add_test(NAME fridatest COMMAND fridatest ${CMAKE_SOURCE_DIR})
+
+
+
+install(TARGETS frida
+  RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
+
+install(TARGETS guilePlugin
+  DESTINATION ${CMAKE_INSTALL_LIBDIR}/frida/plugins/Interpreter)