Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,19 @@

list(APPEND CMAKE_MESSAGE_CONTEXT "dlp_regex_processor")

if(PROJECT_IS_TOPLEVEL)
find_library(MORPHEUS morpheus REQUIRED)
else()
set(MORPHEUS morpheus)
endif()

morpheus_add_pybind11_module(regex_processor
SOURCE_FILES
"regex_processor.cpp"
INCLUDE_DIRS
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
LINK_TARGETS
morpheus
${MORPHEUS}
CUDA::nvtx3
cudf::cudf
glog::glog
Expand Down
3 changes: 3 additions & 0 deletions examples/developer_guide/3_simple_cpp_stage/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
set -x
set -e

export CUR_DIR=${CUR_DIR:-"$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"}
cd ${CUR_DIR}

# Optionally can set INSTALL_PREFIX to build and install to a specific directory. Also causes cmake install to run
BUILD_DIR=${BUILD_DIR:-"build"}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,19 @@

list(APPEND CMAKE_MESSAGE_CONTEXT "pass_thru_cpp_stage")

if(PROJECT_IS_TOPLEVEL)
find_library(MORPHEUS morpheus REQUIRED)
else()
set(MORPHEUS morpheus)
endif()

morpheus_add_pybind11_module(pass_thru_cpp
SOURCE_FILES
"pass_thru.cpp"
INCLUDE_DIRS
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
LINK_TARGETS
morpheus
${MORPHEUS}
CUDA::nvtx3
cudf::cudf
glog::glog
Expand Down
3 changes: 3 additions & 0 deletions examples/developer_guide/4_rabbitmq_cpp_stage/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
set -x
set -e

export CUR_DIR=${CUR_DIR:-"$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"}
cd ${CUR_DIR}

# Optionally can set INSTALL_PREFIX to build and install to a specific directory. Also causes cmake install to run
BUILD_DIR=${BUILD_DIR:-"build"}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,20 @@

list(APPEND CMAKE_MESSAGE_CONTEXT "rabbitmq_cpp_stage")

if(PROJECT_IS_TOPLEVEL)
find_library(MORPHEUS morpheus REQUIRED)
else()
set(MORPHEUS morpheus)
endif()

morpheus_add_pybind11_module(rabbitmq_cpp_stage
SOURCE_FILES
"rabbitmq_source.cpp"
INCLUDE_DIRS
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
${SimpleAmqpClient_SOURCE_DIR}/src
LINK_TARGETS
morpheus
${MORPHEUS}
CUDA::nvtx3
cudf::cudf
glog::glog
Expand Down
Loading