aboutsummaryrefslogtreecommitdiffhomepage
path: root/meson.build
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2018-09-10 18:15:02 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2019-04-10 15:14:15 -0400
commite95c49b76f4ac7bf72c383ee43a0567dfcbf1603 (patch)
treeb3aec9058f69be0047bb526052f8deefb5d97463 /meson.build
parentmaker, subprojects arrange, minor (diff)
0.1.0 renamed doc-reform, doc_reform (& rad)
- from sdp
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build67
1 files changed, 32 insertions, 35 deletions
diff --git a/meson.build b/meson.build
index 7588167..14e3353 100644
--- a/meson.build
+++ b/meson.build
@@ -1,39 +1,36 @@
-project('sdp', 'd',
+project('doc-reform', 'd',
license: 'GPL3',
version: '0.26.5',
meson_version: '>=0.46'
)
-#if meson.get_compiler('d').get_id() == 'gcc'
-# error('sdp cannot be compiled with GDC at time. Sorry.')
-#endif
-sdp_sources = [ 'src/sdp/sdp.d',
- 'src/sdp/conf/compile_time_info.d',
- 'src/sdp/meta/conf_make_meta_json.d',
- 'src/sdp/meta/conf_make_meta_structs.d',
- 'src/sdp/meta/conf_make_meta_toml.d',
- 'src/sdp/meta/defaults.d',
- 'src/sdp/meta/doc_debugs.d',
- 'src/sdp/meta/metadoc.d',
- 'src/sdp/meta/metadoc_from_src.d',
- 'src/sdp/meta/metadoc_summary.d',
- 'src/sdp/meta/object_setter.d',
- 'src/sdp/meta/package.d',
- 'src/sdp/meta/rgx.d',
- 'src/sdp/output/create_zip_file.d',
- 'src/sdp/output/defaults.d',
- 'src/sdp/output/epub3.d',
- 'src/sdp/output/html.d',
- 'src/sdp/output/hub.d',
- 'src/sdp/output/package.d',
- 'src/sdp/output/paths_output.d',
- 'src/sdp/output/rgx.d',
- 'src/sdp/output/source_sisupod.d',
- 'src/sdp/output/sqlite.d',
- 'src/sdp/output/xmls_css.d',
- 'src/sdp/output/xmls.d',
- 'src/sdp/source/paths_source.d',
- 'src/sdp/source/read_config_files.d',
- 'src/sdp/source/read_source_files.d',
+doc_reform_sources = [ 'src/doc_reform/doc_reform.d',
+ 'src/doc_reform/conf/compile_time_info.d',
+ 'src/doc_reform/meta/conf_make_meta_json.d',
+ 'src/doc_reform/meta/conf_make_meta_structs.d',
+ 'src/doc_reform/meta/conf_make_meta_toml.d',
+ 'src/doc_reform/meta/defaults.d',
+ 'src/doc_reform/meta/doc_debugs.d',
+ 'src/doc_reform/meta/metadoc.d',
+ 'src/doc_reform/meta/metadoc_from_src.d',
+ 'src/doc_reform/meta/metadoc_summary.d',
+ 'src/doc_reform/meta/object_setter.d',
+ 'src/doc_reform/meta/package.d',
+ 'src/doc_reform/meta/rgx.d',
+ 'src/doc_reform/output/create_zip_file.d',
+ 'src/doc_reform/output/defaults.d',
+ 'src/doc_reform/output/epub3.d',
+ 'src/doc_reform/output/html.d',
+ 'src/doc_reform/output/hub.d',
+ 'src/doc_reform/output/package.d',
+ 'src/doc_reform/output/paths_output.d',
+ 'src/doc_reform/output/rgx.d',
+ 'src/doc_reform/output/source_sisupod.d',
+ 'src/doc_reform/output/sqlite.d',
+ 'src/doc_reform/output/xmls_css.d',
+ 'src/doc_reform/output/xmls.d',
+ 'src/doc_reform/source/paths_source.d',
+ 'src/doc_reform/source/read_config_files.d',
+ 'src/doc_reform/source/read_source_files.d',
]
source_root = meson.source_root()
sources_dir = include_directories('src/')
@@ -42,9 +39,9 @@ dep_archive = dependency('archive', version: '>= 0.6.0', fallback:
dep_d2sqlite3 = dependency('d2sqlite3', version: '>= 0.16.2', fallback: ['d2sqlite3', 'd2sqlite3_dep'])
dep_imageformats = dependency('imageformats-d', version: '>= 7.0.0', fallback: ['imageformats-d', 'imageformats_dep'])
dep_toml = dependency('toml-d', version: '>= 1.0.0', fallback: ['toml-d', 'toml_dep'])
-# executable
-sdp_exe = executable('sdp',
- [sdp_sources],
+# Executable
+doc_reform_exe = executable('rad',
+ [doc_reform_sources],
include_directories : [sources_dir],
d_import_dirs: [include_directories('views')],
dependencies : [