Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.vscode/
MODULE.bazel.lock
bazel*
*.code-workspace
19 changes: 19 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
cc_library(
name = "openfeature_cpp_sdk",

# TODO: Remove recursive glob and replace with individual Bazel packages
# Source files from the src/ directory
srcs = glob(
["src/**/*.cpp"],
allow_empty = True,
),

# Header files from the include/ directory
hdrs = glob(["include/**/*.h"]),

# This tells Bazel to add the 'include' directory to the
# include search path for any target that depends on this one.
# So, users can do #include "my_header.h" instead of #include "include/my_header.h"
includes = ["include"],
visibility = ["//visibility:public"],
)
3 changes: 3 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module(name = "openfeature_cpp_sdk")

bazel_dep(name = "googletest", version = "1.17.0")
Comment thread
m-olko marked this conversation as resolved.
Loading