revert usage info: interfacePath must be absolute.
parent
a7c1c89c7b
commit
126de1b8a4
|
@ -32,6 +32,7 @@ endfunction()
|
|||
function(wrap_library_cython interface_header generated_files_path extra_imports setup_py_in_path)
|
||||
# Wrap codegen interface
|
||||
# Extract module path and name from interface header file name
|
||||
# wrap requires interfacePath to be *absolute*
|
||||
get_filename_component(interface_header "${interface_header}" ABSOLUTE)
|
||||
get_filename_component(module_path "${interface_header}" PATH)
|
||||
get_filename_component(module_name "${interface_header}" NAME_WE)
|
||||
|
|
|
@ -26,7 +26,7 @@ using namespace std;
|
|||
void usage() {
|
||||
cerr << "wrap parses an interface file and produces a MATLAB or Cython toolbox" << endl;
|
||||
cerr << "usage: wrap [--matlab|--cython] interfacePath moduleName toolboxPath cythonImports" << endl;
|
||||
cerr << " interfacePath : path to directory of module interface file" << endl;
|
||||
cerr << " interfacePath : *absolute* path to directory of module interface file" << endl;
|
||||
cerr << " moduleName : the name of the module, interface file must be called moduleName.h" << endl;
|
||||
cerr << " toolboxPath : the directory in which to generate the wrappers" << endl;
|
||||
cerr << " cythonImports : extra imports for Cython pxd header file" << endl;
|
||||
|
|
Loading…
Reference in New Issue