Sane C++ Libraries
C++ Platform Abstraction Libraries
SC::Build::LinkFlags Struct Reference

Link flags (library paths, libraries to link, etc.) More...

#include <Build.h>

Static Public Member Functions

static Result merge (Span< const LinkFlags * > opinions, LinkFlags &flags)
 Merges opinions about flags into target flags. More...
 

Public Attributes

Vector< StringlibraryPaths
 Libraries search paths list. More...
 
Vector< Stringlibraries
 Names of libraries to link. More...
 
Vector< Stringframeworks
 Frameworks to link on both iOS and macOS. More...
 
Vector< StringframeworksIOS
 Frameworks to link on iOS only. More...
 
Vector< StringframeworksMacOS
 Frameworks to link on macOS only. More...
 
Parameter< bool > enableASAN = false
 Enable linking Address Sanitizer. More...
 

Detailed Description

Link flags (library paths, libraries to link, etc.)

Member Function Documentation

◆ merge()

static Result SC::Build::LinkFlags::merge ( Span< const LinkFlags * >  opinions,
LinkFlags flags 
)
static

Merges opinions about flags into target flags.

Parameters
opinionsOpinions about flags from strongest to weakest
flagsOutput flags

Member Data Documentation

◆ enableASAN

Parameter<bool> SC::Build::LinkFlags::enableASAN = false

Enable linking Address Sanitizer.

◆ frameworks

Vector<String> SC::Build::LinkFlags::frameworks

Frameworks to link on both iOS and macOS.

◆ frameworksIOS

Vector<String> SC::Build::LinkFlags::frameworksIOS

Frameworks to link on iOS only.

◆ frameworksMacOS

Vector<String> SC::Build::LinkFlags::frameworksMacOS

Frameworks to link on macOS only.

◆ libraries

Vector<String> SC::Build::LinkFlags::libraries

Names of libraries to link.

◆ libraryPaths

Vector<String> SC::Build::LinkFlags::libraryPaths

Libraries search paths list.


The documentation for this struct was generated from the following file: