Classes | Functions
generate_copts Namespace Reference

Classes

class  CMakeStyle
 
class  StarlarkStyle
 

Functions

def copt_list (name, arg_list, style)
 
def file_header_lines ()
 
def flatten (lists)
 
def generate_copt_file (style)
 
def main (argv)
 
def relative_filename (filename)
 

Detailed Description

Generate Abseil compile compile option configs.

Usage: <path_to_absl>/copts/generate_copts.py

The configs are generated from copts.py.

Function Documentation

◆ copt_list()

def generate_copts.copt_list (   name,
  arg_list,
  style 
)
Copt file generation.

Definition at line 73 of file generate_copts.py.

◆ file_header_lines()

def generate_copts.file_header_lines ( )

Definition at line 15 of file generate_copts.py.

◆ flatten()

def generate_copts.flatten (   lists)

Definition at line 23 of file generate_copts.py.

◆ generate_copt_file()

def generate_copts.generate_copt_file (   style)
Creates a generated copt file using the given style object.

Args:
  style: either StarlarkStyle() or CMakeStyle()

Definition at line 86 of file generate_copts.py.

◆ main()

def generate_copts.main (   argv)

Definition at line 100 of file generate_copts.py.

◆ relative_filename()

def generate_copts.relative_filename (   filename)

Definition at line 27 of file generate_copts.py.



abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:23