diff --git a/hello-buck-cxx/.buckconfig b/hello-buck-cxx/.buckconfig index 500096c..f402597 100644 --- a/hello-buck-cxx/.buckconfig +++ b/hello-buck-cxx/.buckconfig @@ -1,9 +1,14 @@ - [cxx] cxxppflags="-D HELLOSTRING=\"Buck\"" -[cxx#other_platform] - cxxppflags="-D HELLOSTRING=\"Chuck\"" + + +# +# Include the following configuration file if it +# exists. If the file does not exist, do nothing. +# (Note the `?` prefix.) +# + [parser] default_build_file_syntax = skylark diff --git a/hello-buck-cxx/cxx-other-platform/cxx-other-platform.include b/hello-buck-cxx/cxx-other-platform/cxx-other-platform.include new file mode 100644 index 0000000..769739d --- /dev/null +++ b/hello-buck-cxx/cxx-other-platform/cxx-other-platform.include @@ -0,0 +1,3 @@ +[cxx#other_platform] + cxxppflags="-D HELLOSTRING=\"Chuck\"" +