mirror of
https://github.com/google/liblc3.git
synced 2026-04-17 21:25:30 +00:00
Merge pull request #11 from t-8ch/meson-install-tools
build: meson: small fixes and optimizations
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
project('lc3', 'c',
|
||||
version: '0.1',
|
||||
version: '1.0.1',
|
||||
license: 'Apache-2.0',
|
||||
meson_version: '>= 0.47.0',
|
||||
default_options: ['b_lto=true'])
|
||||
|
||||
@@ -40,7 +40,6 @@ install_headers('../include/lc3.h', '../include/lc3_private.h')
|
||||
pkg_mod = import('pkgconfig')
|
||||
|
||||
pkg_mod.generate(libraries : lc3lib,
|
||||
version : '1.0',
|
||||
name : 'liblc3',
|
||||
filebase : 'lc3',
|
||||
description : 'LC3 codec library')
|
||||
|
||||
@@ -14,12 +14,18 @@
|
||||
|
||||
inc = include_directories('../include')
|
||||
|
||||
executable('elc3', ['elc3.c', 'lc3bin.c', 'wave.c'],
|
||||
link_with : lc3lib,
|
||||
include_directories: inc,
|
||||
dependencies: m_dep)
|
||||
lc3toolslib = static_library('lc3toolslib',
|
||||
['lc3bin.c', 'wave.c'],
|
||||
link_with: lc3lib,
|
||||
dependencies: m_dep,
|
||||
)
|
||||
|
||||
executable('dlc3', ['dlc3.c', 'lc3bin.c', 'wave.c'],
|
||||
link_with : lc3lib,
|
||||
executable('elc3', ['elc3.c'],
|
||||
link_with : lc3toolslib,
|
||||
include_directories: inc,
|
||||
dependencies: m_dep)
|
||||
install: true)
|
||||
|
||||
executable('dlc3', ['dlc3.c'],
|
||||
link_with : lc3toolslib,
|
||||
include_directories: inc,
|
||||
install: true)
|
||||
|
||||
Reference in New Issue
Block a user