Skip to content

Commit

Permalink
Move bindings to catkit2 directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehpor committed Dec 25, 2024
1 parent 8a1f860 commit 31ead86
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ list(APPEND CMAKE_PREFIX_PATH "$ENV{CONDA_PREFIX}")
list(APPEND CMAKE_PREFIX_PATH "$ENV{CONDA_PREFIX}/Library")

add_subdirectory(catkit_core)
add_subdirectory(catkit_bindings)
add_subdirectory(catkit2)
add_subdirectory(benchmarks)
6 changes: 3 additions & 3 deletions catkit_bindings/CMakeLists.txt → catkit2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ set(PROTO_FILES
${CMAKE_CURRENT_SOURCE_DIR}/../proto/tracing.proto
)

set(PYTHON_OUT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../catkit2/proto)
set(PYTHON_OUT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/./proto/)

add_custom_target(
catkit2_python_protobuf ALL
COMMAND ${Protobuf_PROTOC_EXECUTABLE}
--proto_path=${CMAKE_CURRENT_SOURCE_DIR}/../proto
--proto_path=${CMAKE_CURRENT_SOURCE_DIR}/../proto/
--python_out=${PYTHON_OUT_DIR}
${PROTO_FILES}
DEPENDS ${PROTO_FILES}
)

install(TARGETS catkit_bindings LIBRARY DESTINATION catkit2/)
install(TARGETS catkit_bindings LIBRARY DESTINATION "${SKBUILD_PLATLIB_DIR}/catkit2/")
File renamed without changes.

0 comments on commit 31ead86

Please sign in to comment.