Use same location for StaConfig.hh output as in cmake.

CMakeLists.txt:393 puts the output in include/sta/StaConfig.hh;
do the same for bazel.

Signed-off-by: Henner Zeller <h.zeller@acm.org>
This commit is contained in:
Henner Zeller 2025-10-24 10:10:56 -07:00
parent d8a87863aa
commit 6e37350994
1 changed files with 2 additions and 1 deletions

3
BUILD
View File

@ -177,8 +177,9 @@ tcl_encode_sta(
genrule(
name = "StaConfig",
srcs = [],
outs = ["util/StaConfig.hh"],
outs = ["include/sta/StaConfig.hh"],
cmd = """echo -e '
#pragma once
#define STA_VERSION "2.7.0"
#define STA_GIT_SHA1 "f21d4a3878e2531e3af4930818d9b5968aad9416"
#define SSTA 0