Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
make_bindings_via_cmake Namespace Reference

Functions

def make_all_includes
 
def make_bindings_code
 
def compile_sources
 
def main
 

Variables

tuple binder_executable = glob.glob(f'{os.getcwd()}/../../build/llvm-4.0.0/build_4.0.0*/bin/binder')
 
string bindings_dir = 'cmake_bindings'
 
string binder_source = f'{os.getcwd()}/../../source'
 
string pybind_source = f'{os.getcwd()}/../../build/pybind11/include'
 
 use_pybind_stl = True
 
string this_project_source = f'{os.getcwd()}/include'
 
 this_project_include = this_project_source
 
string this_project_namespace_to_bind = 'testers'
 
string python_module_name = 'test_struct'
 

Function Documentation

def make_bindings_via_cmake.compile_sources (   sources_to_compile)

References basic::database.open(), fmt.print(), and binder.split().

Referenced by main().

def make_bindings_via_cmake.main ( )
def make_bindings_via_cmake.make_all_includes ( )
def make_bindings_via_cmake.make_bindings_code (   all_includes_fn)

Variable Documentation

tuple make_bindings_via_cmake.binder_executable = glob.glob(f'{os.getcwd()}/../../build/llvm-4.0.0/build_4.0.0*/bin/binder')
string make_bindings_via_cmake.binder_source = f'{os.getcwd()}/../../source'
string make_bindings_via_cmake.bindings_dir = 'cmake_bindings'
string make_bindings_via_cmake.pybind_source = f'{os.getcwd()}/../../build/pybind11/include'
string make_bindings_via_cmake.python_module_name = 'test_struct'
make_bindings_via_cmake.this_project_include = this_project_source
string make_bindings_via_cmake.this_project_namespace_to_bind = 'testers'
string make_bindings_via_cmake.this_project_source = f'{os.getcwd()}/include'
make_bindings_via_cmake.use_pybind_stl = True