Skip to content

Commit 4564944

Browse files
committed
[cppyy] Enable CppInterOp in clingwrapper
1 parent afd8d31 commit 4564944

File tree

6 files changed

+1330
-1971
lines changed

6 files changed

+1330
-1971
lines changed

bindings/pyroot/cppyy/cppyy-backend/CMakeLists.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
# For the licensing terms see $ROOTSYS/LICENSE.
55
# For the list of contributors see $ROOTSYS/README/CREDITS.
66

7-
add_library(cppyy_backend STATIC clingwrapper/src/clingwrapper.cxx)
7+
add_library(cppyy_backend STATIC
8+
clingwrapper/src/clingwrapper.cxx
9+
clingwrapper/src/cppinterop_dispatch.cxx)
10+
11+
target_include_directories(cppyy_backend PRIVATE
12+
${CMAKE_SOURCE_DIR}/interpreter/CppInterOp/include
13+
)
814
target_link_libraries(cppyy_backend Core)
915
target_compile_options(cppyy_backend PRIVATE -fPIC)

bindings/pyroot/cppyy/cppyy-backend/clingwrapper/src/callcontext.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include "cpp_cppyy.h"
99

1010
//ROOT
11-
#include "Rtypes.h"
11+
// #include "Rtypes.h"
1212

1313
namespace CPyCppyy {
1414

0 commit comments

Comments
 (0)