Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kiste
libbulletml
Commits
7e9c801b
Commit
7e9c801b
authored
Dec 16, 2017
by
Kiste
Browse files
Move build scripts
parent
79ae1c8d
Changes
2
Hide whitespace changes
Inline
Side-by-side
meson.build
View file @
7e9c801b
project('libbulletml', 'c', 'cpp', default_options : ['c_std=c89', 'cpp_std=c++03'])
incdir = include_directories('src')
bison = find_program('bison')
bigen = generator(bison, output : ['@BASENAME@.cpp'], arguments : ['@INPUT@', '-y', '--output=@OUTPUT@'])
bifiles = bigen.process('src/calc.yy')
bulletml = library('bulletml',
'src/bulletmlparser-tinyxml.cpp',
'src/bulletmlparser.cpp',
'src/bulletmlrunner.cpp',
'src/bulletmlrunnerimpl.cpp',
'src/bulletmltree.cpp',
'src/formula-variables.cpp',
'src/tinyxml/tinyxml.cpp',
'src/tinyxml/tinyxmlerror.cpp',
'src/tinyxml/tinyxmlparser.cpp',
bifiles, include_directories : incdir, install : true, version : '1.0', soversion : 0
)
install_headers(
'src/auto_ptr_fix.h',
'src/bulletmlcommon.h',
'src/bulletmlerror.h',
'src/bulletmlparser-tinyxml.h',
'src/bulletmlparser-xerces.h',
'src/bulletmlparser-ygg.h',
'src/bulletmlparser.h',
'src/bulletmlrunner.h',
'src/bulletmlrunnerimpl.h',
'src/bulletmltree.h',
'src/calc.h',
'src/formula-variables.h',
'src/formula.h',
'src/tree.h',
subdir : 'bulletml'
)
install_headers(
'src/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')
subdir('src')
src/meson.build
0 → 100644
View file @
7e9c801b
bison = find_program('bison')
bigen = generator(bison, output : ['@BASENAME@.cpp'], arguments : ['@INPUT@', '-y', '--output=@OUTPUT@'])
bifiles = bigen.process('calc.yy')
bulletml = library('bulletml',
'bulletmlparser-tinyxml.cpp',
'bulletmlparser.cpp',
'bulletmlrunner.cpp',
'bulletmlrunnerimpl.cpp',
'bulletmltree.cpp',
'formula-variables.cpp',
'tinyxml/tinyxml.cpp',
'tinyxml/tinyxmlerror.cpp',
'tinyxml/tinyxmlparser.cpp',
bifiles, install : true, version : '1.0', soversion : 0
)
install_headers(
'auto_ptr_fix.h',
'bulletmlcommon.h',
'bulletmlerror.h',
'bulletmlparser-tinyxml.h',
'bulletmlparser-xerces.h',
'bulletmlparser-ygg.h',
'bulletmlparser.h',
'bulletmlrunner.h',
'bulletmlrunnerimpl.h',
'bulletmltree.h',
'calc.h',
'formula-variables.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')
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment