blob: 8c6cc98668aa8addb022363f96bd523d8122cff7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class OmeCommonCpp(CMakePackage):
"""Open Microscopy Environment: Common functionality for OME C++ libraries and
applications which is not readily available from the C++ Standard Library.
This includes basic portability functions, to wrapping other libraries to
make them usable with Modern C++ programming practices.
"""
homepage = "https://gitlab.com/codelibre/ome/ome-common-cpp"
url = "https://gitlab.com/codelibre/ome/ome-common-cpp/-/archive/v6.0.0/ome-common-cpp-v6.0.0.tar.gz"
git = "https://gitlab.com/codelibre/ome/ome-common-cpp.git"
maintainers = ["omsai"]
version("master", branch="master")
version("6.0.0", sha256="26f3ce6e0b9a022590eed2ade5519eca12a2507bb207cdfe9f29d360984a7e0d")
depends_on("fmt")
depends_on("spdlog")
depends_on("xalan-c")
depends_on("googletest", type="test")
def cmake_args(self):
return [
"-DCMAKE_CXX_STANDARD=17",
"-DCMAKE_CXX_STANDARD_REQUIRED=ON",
]
|