Skip to content

Commit fc90fa2

Browse files
authored
Merge pull request #8268 from mikesinouye/abc
cgt: Add ABC_NAMESPACE defines to cgt and cut.
2 parents 2dfc48e + 3502b5a commit fc90fa2

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/cgt/BUILD

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ cc_library(
2626
"include/cgt/NetworkBuilder.h",
2727
"include/cgt/RandomBits.h",
2828
],
29+
defines = [
30+
"ABC_NAMESPACE=abc",
31+
],
2932
includes = [
3033
"include",
3134
],

src/cut/BUILD

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ cc_library(
3434
"@boost.fusion",
3535
"@edu_berkeley_abc//:abc-lib",
3636
],
37-
defines = ["_GLIBCXX_ASSERTIONS"]
37+
defines = [
38+
"_GLIBCXX_ASSERTIONS",
39+
"ABC_NAMESPACE=abc",
40+
],
3841
)
3942

0 commit comments

Comments
 (0)