Compare commits
5 Commits
243b51a966
...
63caa78f15
| Author | SHA1 | Date | |
|---|---|---|---|
| 63caa78f15 | |||
| 47341c9845 | |||
| f8599ead01 | |||
| 80e62fe54e | |||
| c7d64feb3c |
@@ -8,8 +8,9 @@
|
|||||||
version="1.1"
|
version="1.1"
|
||||||
id="svg1"
|
id="svg1"
|
||||||
inkscape:export-filename="logo.png"
|
inkscape:export-filename="logo.png"
|
||||||
inkscape:export-xdpi="96"
|
inkscape:export-xdpi="273.06668"
|
||||||
inkscape:export-ydpi="96"
|
inkscape:export-ydpi="273.06668"
|
||||||
|
sodipodi:docname="logo.svg"
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
@@ -1,4 +1,4 @@
|
|||||||
project('fourdst', 'cpp', version: 'v0.9.14', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0')
|
project('fourdst', 'cpp', version: 'v0.9.18', default_options: ['cpp_std=c++23'], meson_version: '>=1.5.0')
|
||||||
|
|
||||||
add_project_arguments('-fvisibility=default', language: 'cpp')
|
add_project_arguments('-fvisibility=default', language: 'cpp')
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ option('pkg_config', type: 'boolean', value: false, description: 'generate pkg-c
|
|||||||
option('electron_build_py_backend', type: 'boolean', value: false, description: 'use pyinstaller to build the python backend for the electron app')
|
option('electron_build_py_backend', type: 'boolean', value: false, description: 'use pyinstaller to build the python backend for the electron app')
|
||||||
option('build_tests', type: 'boolean', value: false, description: 'compile subproject tests')
|
option('build_tests', type: 'boolean', value: false, description: 'compile subproject tests')
|
||||||
option('build_lib_all', type: 'boolean', value: true, description: 'build the full fourdst library with all features enabled')
|
option('build_lib_all', type: 'boolean', value: true, description: 'build the full fourdst library with all features enabled')
|
||||||
option('build_lib_comp', type: 'boolean', value: false, description: 'build the minimal fourdst library with only compression and decompression features enabled')
|
option('build_lib_comp', type: 'boolean', value: false, description: 'build the fourdst libcomposition library')
|
||||||
option('build_lib_config', type: 'boolean', value: false, description: 'build the fourdst library configuration tool only')
|
option('build_lib_config', type: 'boolean', value: false, description: 'build the fourdst library configuration tool only')
|
||||||
option('build_lib_const', type: 'boolean', value: false, description: 'build the fourdst library constants only')
|
option('build_lib_const', type: 'boolean', value: false, description: 'build the fourdst library constants only')
|
||||||
option('build_python', type: 'boolean', value: true, description: 'build the python bindings so you can use fourdst from python. This will also build libcomposition, libconfig, and libconstants')
|
option('build_python', type: 'boolean', value: true, description: 'build the python bindings so you can use fourdst from python. This will also build libcomposition, libconfig, and libconstants')
|
||||||
|
|||||||
@@ -34,3 +34,18 @@ dependencies = [
|
|||||||
[project.scripts]
|
[project.scripts]
|
||||||
fourdst-cli = "fourdst.cli.main:app"
|
fourdst-cli = "fourdst.cli.main:app"
|
||||||
|
|
||||||
|
[tool.meson-python.args]
|
||||||
|
setup = [
|
||||||
|
'-Dpkg_config=false',
|
||||||
|
'-Dbuild_python=true',
|
||||||
|
'-Delectron_build_py_backend=false',
|
||||||
|
'-Dbuild_tests=false',
|
||||||
|
'-Dbuild_lib_all=false',
|
||||||
|
'-Dbuild_lib_comp=true',
|
||||||
|
'-Dbuild_lib_config=true',
|
||||||
|
'-Dbuild_lib_const=true',
|
||||||
|
'-Dbuild_lib_log=true',
|
||||||
|
'-Dbuild_lib_plugin=false'
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -277,13 +277,6 @@ void register_comp_bindings(pybind11::module &m) {
|
|||||||
&fourdst::composition::utils::CompositionHash::hash_exact<fourdst::composition::Composition>,
|
&fourdst::composition::utils::CompositionHash::hash_exact<fourdst::composition::Composition>,
|
||||||
py::arg("composition"),
|
py::arg("composition"),
|
||||||
"Compute a hash for a given Composition object."
|
"Compute a hash for a given Composition object."
|
||||||
)
|
|
||||||
.def_static(
|
|
||||||
"hash_quantized",
|
|
||||||
&fourdst::composition::utils::CompositionHash::hash_quantized<fourdst::composition::Composition>,
|
|
||||||
py::arg("composition"),
|
|
||||||
py::arg("eps"),
|
|
||||||
"Compute a quantized hash for a given Composition object with specified precision."
|
|
||||||
);
|
);
|
||||||
|
|
||||||
utils.def(
|
utils.def(
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
[wrap-git]
|
[wrap-git]
|
||||||
url = https://github.com/4D-STAR/libcomposition.git
|
url = https://github.com/4D-STAR/libcomposition.git
|
||||||
revision = v2.2.4
|
revision = v2.3.0
|
||||||
depth = 1
|
depth = 1
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
[wrap-git]
|
[wrap-git]
|
||||||
url = https://github.com/4D-STAR/libconfig.git
|
url = https://github.com/4D-STAR/libconfig.git
|
||||||
revision = v2.0.2
|
revision = v2.0.3
|
||||||
depth = 1
|
depth = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user