From: Christoph Egger Date: Mon, 16 Mar 2015 16:34:13 +0000 (+0100) Subject: Start install Foo X-Git-Url: https://git.siccegge.de//index.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fdev%2Finstall;p=frida%2Ffrida.git Start install Foo --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 51f9689..933170b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)