Jigsaw/includes/cxxopts/BUILD.bazel
Dominik Krenn 0bf90124f1 Add CMake and pkg-config support for cxxopts library
- Created cxxopts-config.cmake.in for CMake configuration.
- Added pkgconfig.pc.in for pkg-config integration.
- Introduced CMakeLists.txt for building example application.
- Implemented example.cpp demonstrating cxxopts usage.
- Updated main.cpp to utilize cxxopts for command line argument parsing.
2025-07-03 12:22:09 +02:00

16 lines
362 B
Python

load("@rules_cc//cc:defs.bzl", "cc_library")
cc_library(
name = "cxxopts",
hdrs = ["include/cxxopts.hpp"],
strip_include_prefix = "include",
visibility = ["//visibility:public"],
)
load("@rules_fuzzing//fuzzing:cc_defs.bzl", "cc_fuzz_test")
cc_fuzz_test(
name = "cxxopts_fuzz_test",
srcs = ["test/fuzz.cpp"],
deps = [":cxxopts"],
)