Unverified Commit b0bbe6d7 authored by Kiste's avatar Kiste
Browse files

Convert to subproject-only use

parent 25379634
......@@ -6,23 +6,6 @@ by Kenta Cho's games.
This is a modification of the original library available
[here](http://shinh.skr.jp/libbulletml/index_en.html).
## How to build
This library uses [Meson](http://mesonbuild.com/) which requires
[Ninja](https://ninja-build.org/) and [Python](https://www.python.org/). You
also need a C++ compiler.
Then run:
$ meson build
$ ninja -v -C build
or if yout want to package this:
$ meson build --buildtype=plain --prefix=$prefix
$ ninja -v -C build
$ DESTDIR=$pkgdir ninja -v -C build install
---
libBulletML is BSD (c) shinichiro.h
......
......@@ -2,7 +2,7 @@ bison = find_program('bison')
bigen = generator(bison, output : ['@BASENAME@.cpp'], arguments : ['@INPUT@', '-y', '--output=@OUTPUT@'])
bifiles = bigen.process('calc.yy')
bulletml = library('bulletml',
libbulletml = library('bulletml',
'bulletmlparser-tinyxml.cpp',
'bulletmlparser.cpp',
'bulletmlrunner.cpp',
......@@ -12,25 +12,7 @@ bulletml = library('bulletml',
'tinyxml/tinyxml.cpp',
'tinyxml/tinyxmlerror.cpp',
'tinyxml/tinyxmlparser.cpp',
bifiles, install : true, version : '1.0', soversion : 0
bifiles
)
install_headers(
'bulletmlcommon.h',
'bulletmlerror.h',
'bulletmlparser-tinyxml.h',
'bulletmlparser.h',
'bulletmlrunner.h',
'bulletmltree.h',
'formula.h',
'tree.h',
subdir : 'bulletml'
)
install_headers(
'tinyxml/tinyxml.h',
subdir : 'bulletml/tinyxml'
)
pkg = import('pkgconfig')
pkg.generate(libraries : bulletml, name : 'libbulletml', version : '1.0', description : 'C++ library to handle BulletML easily')
libbulletmldep = declare_dependency(include_directories: '.', link_with: libbulletml)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment