# Copyright 2017 The Fuchsia Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
config("linenoise_config") { | |
include_dirs = [ "include/linenoise" ] | |
} | |
static_library("linenoise") { | |
public_configs = [ ":linenoise_config" ] | |
sources = [ | |
"linenoise.c", | |
] | |
} | |
executable("linenoise_example") { | |
sources = [ | |
"example.c", | |
] | |
deps = [ | |
":linenoise", | |
] | |
} |