Rosetta  2016.19
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
build Namespace Reference

Functions

def is_dir_banned
 
def get_rosetta_include_directories
 
def get_defines
 
def execute
 
def update_source_file
 
def get_compiler_family
 
def get_binding_build_root
 
def generate_rosetta_external_cmake_files
 
def generate_rosetta_cmake_files
 
def generate_cmake_file
 
def generate_bindings
 
def build_generated_bindings
 
def main
 

Variables

tuple PlatformBits = platform.architecture()
 
string _banned_dirs_ = 'src/utility/pointer src/protocols/jd3'
 
string _banned_headers_ = 'utility/py/PyHelper.hh utility/keys/KeyCount.hh utility/keys/KeyLookup.functors.hh'
 

Function Documentation

def build.build_generated_bindings (   rosetta_source_path)
Build generate bindings 

References execute(), BuildPackagedBindings.format, and get_binding_build_root().

Referenced by main().

def build.execute (   message,
  command_line,
  return_ = 'status',
  until_successes = False,
  terminate_on_failure = True 
)
def build.generate_bindings (   rosetta_source_path)
def build.generate_cmake_file (   rosetta_source_path,
  extra_sources 
)
def build.generate_rosetta_cmake_files (   rosetta_source_path,
  prefix 
)
def build.generate_rosetta_external_cmake_files (   rosetta_source_path,
  prefix 
)
def build.get_binding_build_root (   rosetta_source_path,
  source = False,
  build = False 
)
Calculate bindings build path using current platform and compilation settings and create dir if it is not there yet 

References get_compiler_family().

Referenced by build_generated_bindings(), generate_bindings(), generate_cmake_file(), and main().

def build.get_compiler_family ( )
Try to guess compiler family using Options.compiler 

Referenced by get_binding_build_root().

def build.get_defines ( )
return list of #defines 

References binder.split().

Referenced by generate_bindings(), and generate_cmake_file().

def build.get_rosetta_include_directories ( )
return list of include directories for compilation 

References binder.split().

Referenced by generate_bindings(), and generate_cmake_file().

def build.is_dir_banned (   directory)

Referenced by generate_bindings().

def build.main (   args)
def build.update_source_file (   file_name,
  data 
)
write data to a file but only if file does not exist or it content different from data 

References basic::database.open(), fmt.print(), and ObjexxFCL.read().

Referenced by generate_cmake_file(), generate_rosetta_cmake_files(), and generate_rosetta_external_cmake_files().

Variable Documentation

string build._banned_dirs_ = 'src/utility/pointer src/protocols/jd3'
string build._banned_headers_ = 'utility/py/PyHelper.hh utility/keys/KeyCount.hh utility/keys/KeyLookup.functors.hh'
tuple build.PlatformBits = platform.architecture()