Browse Source

do not install

zrythm_meson
Alexandros Theodotou 11 months ago
parent
commit
beb214ec4d
Signed by: alex GPG Key ID: 022EAE42313D70F3
  1. 40
      meson.build

40
meson.build

@ -138,7 +138,7 @@ libsord = build_target(
c_args: library_args,
dependencies: [m_dep, serd_dep],
gnu_symbol_visibility: 'hidden',
install: true,
install: false,
target_type: library_type)
sord_dep = declare_dependency(
@ -146,44 +146,6 @@ sord_dep = declare_dependency(
dependencies: [m_dep, serd_dep],
link_with: libsord)
pkg.generate(
libsord,
name: 'Sord',
filebase: versioned_name,
subdirs: [versioned_name],
version: meson.project_version(),
description: 'A lightweight library for storing RDF in memory')
# Build sordi command line utility
if get_option('utils')
sordi = executable('sordi', 'src/sordi.c',
c_args: prog_args,
install: true,
dependencies: sord_dep)
pcre_dep = dependency('libpcre', required: false)
if pcre_dep.found()
sordi = executable('sord_validate', 'src/sord_validate.c',
c_args: prog_args,
install: true,
dependencies: [sord_dep, pcre_dep])
endif
if not get_option('docs').disabled()
install_man('doc/sordi.1')
install_man('doc/sord_validate.1')
endif
endif
# Install header to a versioned include directory
install_headers(c_headers, subdir: versioned_name / 'sord')
# if not get_option('docs').disabled()
# subdir('doc')
# endif
if get_option('tests')
subdir('test')
endif

Loading…
Cancel
Save