blob: 40d5a8d38dbe94066f8b71c5281358687bcf3ee8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# Any copyright is dedicated to the Public Domain.
# http://creativecommons.org/publicdomain/zero/1.0/
@template
def Library(name):
"""Template for libraries."""
LIBRARY_NAME = name
Library("dummy")
SOURCES += ["bar.s", "foo.asm"]
HOST_SOURCES += ["bar.cpp", "foo.cpp"]
HOST_SOURCES += ["baz.c", "qux.c"]
SOURCES += ["baz.c", "qux.c"]
SOURCES += ["fuga.mm", "hoge.mm"]
SOURCES += ["titi.S", "toto.S"]
WASM_SOURCES += ["bar.cpp"]
WASM_SOURCES += ["baz.c"]
|