From b8a87223bb70fccc47ba0f9c96b3f58de6e1e5bd Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Mon, 26 May 2025 22:38:04 +0200 Subject: Add compile-time configuration for build settings --- asl/BUILD.bazel | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 asl/BUILD.bazel (limited to 'asl/BUILD.bazel') diff --git a/asl/BUILD.bazel b/asl/BUILD.bazel new file mode 100644 index 0000000..aa76d47 --- /dev/null +++ b/asl/BUILD.bazel @@ -0,0 +1,17 @@ +# Copyright 2025 Steven Le Rouzic +# +# SPDX-License-Identifier: BSD-3-Clause + +config_setting( + name = "debug", + values = { + "compilation_mode": "dbg", + }, +) + +config_setting( + name = "optimized", + values = { + "compilation_mode": "opt", + }, +) -- cgit