compileAll: Compile .cpp files to executables (.exe)

Description Usage Arguments Author(s) Examples

View source: R/compileAll.R

Description

Wrapper function which compiles all .cpp files into executables (.exe). The Microsoft Visual Studio vcvars323.bat file is used to set include paths and environment variables, so that this function can be simply executed in the Windows cmd line from an R session, as opposed to manually compiling all .cpp files through the Visual Studio C++ Developers Command Prompt. See https://github.com/wilsontom/rawReadeR/blob/master/README.md for futher details on installation.

Usage

1
compileAll(filepath)

Arguments

filepath

the filepath of the rawReadeR source directory.

Author(s)

Tom Wilson tpw2@aber.ac.uk

Examples

1
2
3
4
5
6
## Not run: 
 options(VSPATH = "<path_to_visual_studio_vcvars32.bat>")
 source("rawReadeR/R/compileAll.R") 
 compileAll("C:/rawReadeR")

## End(Not run)

wilsontom/rawReadeR documentation built on May 4, 2019, 6:31 a.m.