make {BuildSys} | R Documentation |
Make the Shared Library
Description
Calling make
will build, clean or install your C/C++ library.
Usage
## S4 method for signature 'BSysProject'
make(.Object, Operation = "", Debug = NULL)
Arguments
.Object |
S4 |
Operation |
the
|
Debug |
A |
Details
Calling make
results in the project described by the Object
instance being transformed into a GNU makefile and then
GNU make being called with the appropriate operation as determined by the Operation
argument. The makefile will be
written to the sub-folder specified by the ObjName
attribute of the Object
instance. If the makefile already exists it
will only be re-created if the existing one in not in sync with the project definition. This is determined by an md5 digest of
the project definition which is stored as the header comment line in the makefile. If the makefile is re-written then a make clean
operation will be automatically carried out to ensure the built library remains in sync with the makefile.
Value
This method returns an updated S4 BSysProject
object instance. If the any change to Debug
state is to be preserved then the
returned result should be assigned to the calling BSysProject
object instance passed in the Object
argument.
Note
see BuildSys-package
for examples of use.
Author(s)
Paavo Jumppanen [aut, cre]
Maintainer: Paavo Jumppanen <paavo.jumppanen@csiro.au>
See Also
buildMakefile
initProjectFromFolder
BuildSys-package