Sets up executable for the .cpp file (tpl) by looking for exe in package directory or compiles cpp file in local directory (clean=FALSE) of from package directory.
setup_tmb(tpl, clean =FALSE, debug =FALSE)
Arguments
tpl: character string for admb template file
clean: if TRUE, deletes the tpl (.cpp) and executable files in local directory and copies from package directory
debug: if TRUE, writes out debug line values in code