Rosetta
Functions | Variables
make_bindings_via_cmake Namespace Reference

Functions

def make_all_includes ()
 
def make_bindings_code (all_includes_fn)
 
def compile_sources (sources_to_compile)
 
def main ()
 

Variables

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

Function Documentation

◆ compile_sources()

def make_bindings_via_cmake.compile_sources (   sources_to_compile)

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

Referenced by main().

◆ main()

def make_bindings_via_cmake.main ( )

◆ make_all_includes()

def make_bindings_via_cmake.make_all_includes ( )

◆ make_bindings_code()

def make_bindings_via_cmake.make_bindings_code (   all_includes_fn)

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

Referenced by main().

Variable Documentation

◆ binder_executable

make_bindings_via_cmake.binder_executable = glob.glob(f'{os.getcwd()}/../../build/llvm-4.0.0/build_4.0.0*/bin/binder')[0]

◆ binder_source

string make_bindings_via_cmake.binder_source = f'{os.getcwd()}/../../source'

◆ bindings_dir

string make_bindings_via_cmake.bindings_dir = 'cmake_bindings'

◆ pybind_source

string make_bindings_via_cmake.pybind_source = f'{os.getcwd()}/../../build/pybind11/include'

◆ python_module_name

string make_bindings_via_cmake.python_module_name = 'test_struct'

◆ this_project_include

string make_bindings_via_cmake.this_project_include = this_project_source

◆ this_project_namespace_to_bind

string make_bindings_via_cmake.this_project_namespace_to_bind = 'testers'

◆ this_project_source

string make_bindings_via_cmake.this_project_source = f'{os.getcwd()}/include'

◆ use_pybind_stl

bool make_bindings_via_cmake.use_pybind_stl = True