diff options
author | Ralph Amissah <ralph@amissah.com> | 2020-03-07 07:59:13 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2020-03-14 15:17:41 -0400 |
commit | 466509b8fc225db0e37021f6e71d0d7648ffcf83 (patch) | |
tree | 1fee28daec7cf516e0dacc407367c804d56110cc /subprojects/tinyendian | |
parent | meson build (diff) |
meson build (subproject imageformats pinned 7.0.0)
- subprojects with "manual" git download where
upstream git lacks meson.build
- imageformats git tag (version) pinned, else
build fails
Diffstat (limited to 'subprojects/tinyendian')
-rw-r--r-- | subprojects/tinyendian/.gitignore | 4 | ||||
-rw-r--r-- | subprojects/tinyendian/dub.json | 16 | ||||
-rw-r--r-- | subprojects/tinyendian/meson.build | 41 |
3 files changed, 0 insertions, 61 deletions
diff --git a/subprojects/tinyendian/.gitignore b/subprojects/tinyendian/.gitignore deleted file mode 100644 index 0ed3f58..0000000 --- a/subprojects/tinyendian/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -.dub -*.o -*.a -*.lib diff --git a/subprojects/tinyendian/dub.json b/subprojects/tinyendian/dub.json deleted file mode 100644 index 6313cdd..0000000 --- a/subprojects/tinyendian/dub.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "tinyendian", - "description": "Lightweight endianness handling library", - "authors": [ "Ferdinand Majerech" ], - "importPaths": ["source"], - "license": "Boost 1.0", - "homepage": "https://github.com/kiith-sa/tinyendian", - "copyright": "Copyright © 2014, Ferdinand Majerech", - - "buildTypes": - { - "debug": { "buildOptions": ["debugMode", "debugInfoC"] }, - "release": { "buildOptions": ["releaseMode", "optimize", "inline", "noBoundsCheck"] }, - "profile": { "buildOptions": ["releaseMode", "optimize", "noBoundsCheck", "debugInfoC"] }, - }, -} diff --git a/subprojects/tinyendian/meson.build b/subprojects/tinyendian/meson.build deleted file mode 100644 index f666958..0000000 --- a/subprojects/tinyendian/meson.build +++ /dev/null @@ -1,41 +0,0 @@ -# -*- mode: python; -*- - -project( - 'tinyendian', - 'd', - meson_version: '>=0.41', - version: '0.2.0', - default_options: ['buildtype=release'], -) - -src_dir = include_directories('source/') -pkgc = import('pkgconfig') - -tinyendian_src = [ - 'source/tinyendian.d' -] - -install_headers(tinyendian_src, subdir: 'd/') - -tinyendian_lib = library( - meson.project_name(), - [tinyendian_src], - include_directories: [src_dir], - version: meson.project_version(), - pic: true, - install: true, -) - -pkgc.generate( - name: meson.project_name(), - libraries: tinyendian_lib, - subdirs: 'd/', - version: meson.project_version(), - description: 'Lightweight endianness library for D.' -) - -# Make Tinyendian easy to use as subproject -tinyendian_dep = declare_dependency( - link_with: tinyendian_lib, - include_directories: [src_dir] -) |