Skip to content

Commit 8146077

Browse files
committed
Show how to use includes in .buckconfig
1 parent 9aeb8c6 commit 8146077

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

hello-buck-cxx/.buckconfig

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
21
[cxx]
32
cxxppflags="-D HELLOSTRING=\"Buck\""
43

5-
[cxx#other_platform]
6-
cxxppflags="-D HELLOSTRING=\"Chuck\""
4+
<file:cxx-other-platform/cxx-other-platform.include>
5+
6+
#
7+
# Include the following configuration file if it
8+
# exists. If the file does not exist, do nothing.
9+
# (Note the `?` prefix.)
10+
#
11+
<?file:future-platform/future-platform.include>
712

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[cxx#other_platform]
2+
cxxppflags="-D HELLOSTRING=\"Chuck\""
3+

0 commit comments

Comments
 (0)