Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move core/hooking to hooking/ #39

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ add_subdirectory(common)
add_subdirectory(ui)
add_subdirectory(core)
add_subdirectory(launcher)
add_subdirectory(hooking)

set(GRAPHVIZ_MIN_VERSION "2.20")
find_package(Graphviz)
Expand Down
2 changes: 1 addition & 1 deletion core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ include_directories(
${CMAKE_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/3rdparty
${CMAKE_SOURCE_DIR}/common
${CMAKE_SOURCE_DIR}/include
${CMAKE_SOURCE_DIR}/ui
${CMAKE_CURRENT_SOURCE_DIR}

Expand Down Expand Up @@ -149,5 +150,4 @@ if(NOT WIN32)
endif()
install(TARGETS gammaray_core ${INSTALL_TARGETS_DEFAULT_ARGS})

add_subdirectory(hooking)
add_subdirectory(tools)
4 changes: 2 additions & 2 deletions core/probe.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
#ifndef GAMMARAY_PROBE_H
#define GAMMARAY_PROBE_H

#include "include/gammaray_core_export.h"
#include "include/probeinterface.h"
#include "gammaray_core_export.h"
#include "probeinterface.h"

#include <QObject>
#include <QQueue>
Expand Down
7 changes: 4 additions & 3 deletions core/hooking/CMakeLists.txt → hooking/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")

include_directories(
${CMAKE_BINARY_DIR} # config-gammaray.h
${CMAKE_CURRENT_BINARY_DIR}

${CMAKE_SOURCE_DIR}/core
${CMAKE_SOURCE_DIR}/include
)

set(gammaray_probe_srcs
Expand All @@ -20,9 +24,6 @@ if(WIN32 OR APPLE)
)
endif()

# for the hooks, we actually use gammaray_core
remove_definitions(-DMAKE_GAMMARAY_LIB)

# probe lib
qt4_automoc(${gammaray_probe_srcs})
add_library(gammaray_probe SHARED ${gammaray_probe_srcs})
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.