Skip to content

Commit a19878a

Browse files
committed
Moved to main meson build file
1 parent b8102a2 commit a19878a

File tree

2 files changed

+20
-11
lines changed

2 files changed

+20
-11
lines changed

libbyteconvert/meson.build

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
pkg = import('pkgconfig')
2-
mylib = shared_library('byteconvert', 'ByteConvert.cpp', version : '0.1.3', soversion : '0',install: true)
3-
install_headers('ByteConvert.hpp', subdir : 'ByteConvert')
4-
pkg.generate(libraries : mylib,
5-
version : '0.1.3',
6-
name : 'libbyteconvert',
7-
filebase : 'libbyteconvert',
8-
description : 'A conversion library.',
9-
url: 'https://github.com/SloCompTech/ByteConvert_cpp')
1+
mylib = shared_library('byteconvert', 'ByteConvert.cpp',
2+
version : meson.project_version(),
3+
soversion : '0',
4+
install: true)
5+
install_headers('ByteConvert.hpp', subdir : 'ByteConvert')

meson.build

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,15 @@
1-
project('libbyteconvert','cpp',version:'0.1.3',default_options : ['c_std=c11', 'cpp_std=c++11'])
2-
subdir('libbyteconvert')
1+
project('libbyteconvert','cpp',
2+
version:'0.1.4',
3+
default_options : [
4+
'c_std=c11',
5+
'cpp_std=c++11'])
6+
pkg = import('pkgconfig')
7+
8+
subdir('libbyteconvert')
9+
10+
pkg.generate(libraries : mylib,
11+
version : meson.project_version(),
12+
name : 'libbyteconvert',
13+
filebase : 'byteconvert',
14+
description : 'A conversion library.',
15+
url: 'https://github.com/SloCompTech/ByteConvert_cpp')

0 commit comments

Comments
 (0)