Skip to content

Commit 298db17

Browse files
committed
bring back accidentally-removed plugin
1 parent b79b508 commit 298db17

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

R/plugin.R

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
# Inline plugin used by sourceCpp.
3+
inlineCxxPlugin <- function() {
4+
5+
list(
6+
env = list(
7+
PKG_CXXFLAGS = tbbCxxFlags(),
8+
PKG_LIBS = tbbLdFlags()
9+
),
10+
includes = "#include <RcppParallel.h>",
11+
LinkingTo = "RcppParallel",
12+
body = identity,
13+
Depends = "RcppParallel"
14+
)
15+
}

0 commit comments

Comments
 (0)