File: plugin.R

package info (click to toggle)
r-cran-rcppparallel 5.1.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 544 kB
  • sloc: cpp: 1,848; sh: 19; makefile: 3
file content (15 lines) | stat: -rw-r--r-- 329 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

# Inline plugin used by sourceCpp.
inlineCxxPlugin <- function() {
   
   list(
      env = list(
         PKG_CXXFLAGS = tbbCxxFlags(),
         PKG_LIBS = tbbLdFlags()
      ),
      includes  = "#include <RcppParallel.h>",
      LinkingTo = "RcppParallel",
      body      = identity,
      Depends   = "RcppParallel"
   )
}