mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 12:02:23 +02:00
parent
78c362bfb8
commit
d10b8c7e84
@ -510,14 +510,14 @@ def build(ctx):
|
||||
import os
|
||||
# This assumes all examples are single-file (as examples should be)
|
||||
examples_sources = [
|
||||
( "DOCS/client_api_examples/simple.c" ),
|
||||
( "DOCS/client_api_examples/cocoabasic.m", "cocoa" ),
|
||||
( "simple.c" ),
|
||||
( "cocoabasic.m", "cocoa" ),
|
||||
]
|
||||
|
||||
for source in ctx.filtered_sources(examples_sources):
|
||||
ctx(
|
||||
target = os.path.splitext(source)[0],
|
||||
source = source,
|
||||
source = "DOCS/client_api_examples/" + source,
|
||||
includes = [ctx.bldnode.abspath(), ctx.srcnode.abspath()],
|
||||
use = "mpv",
|
||||
features = "c cprogram",
|
||||
|
Loading…
Reference in New Issue
Block a user