Skip to content

Commit 866b325

Browse files
committed
Initial bazel files
1 parent 11a4308 commit 866b325

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
.vs/
66
.idea
77
build*/
8+
bazel-*/
9+
MODULE.bazel.lock
810
cmake-build-debug/
911
TestResults/
1012
vcpkg_installed/

MODULE.bazel

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
# SPDX-FileCopyrightText: © 2025 Team CharLS
3+
# SPDX-License-Identifier: BSD-3-Clause
4+
5+
"""
6+
This MODULE.bazel file defines the module and its dependencies for the CharLS project.
7+
"""
8+
9+
module(
10+
name = "charls",
11+
version = "3.0.0",
12+
compatibility_level = 3,
13+
bazel_compatibility = [">=7.5.0"]
14+
)
15+
16+
bazel_dep(name = "rules_cc", version = "0.1.1")

src/BUILD.bazel

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# SPDX-FileCopyrightText: © 2025 Team CharLS
2+
# SPDX-License-Identifier: BSD-3-Clause
3+
4+
cc_library(
5+
name = "charls",
6+
srcs = ["jpeg_stream_reader.cpp"],
7+
hdrs = ["jpeg_stream_reader.hpp"]
8+
)

0 commit comments

Comments
 (0)