ANTAREX API

Clava API

LARA API

LARA Common Language API

(.js)
laraImport("lara.cmake.CMakerSources");

(.lara)
import lara.cmake.CMakerSources;

CMakerSources

Constructor

CMakerSources

new CMakerSources(disableWeaving)

Contains CMaker sources

Parameters

disableWeaving: any

Instance Members

addSource

addSource(path)

Add the given sources.

Parameters

path: any

addSources

addSources(paths)

Adds the given sources.

Parameters

paths: any - array with paths to sources

addTaggedSources

addTaggedSources(tag, paths)

Adds the given sources associated to a tag.

Parameters

tag: any
paths: any

copy

copy()

getCode

getCode()

Returns

any - String with the CMake code that declares the current sources

getSourceVariables

getSourceVariables()

Returns

any - an array with the CMake variables that have source files