diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-08-09 16:37:33 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-08-09 16:37:33 +0200 |
commit | 5579832b31a8a2dcf3d30f1ce2669cf9015afd0d (patch) | |
tree | e9f056a0ab749cb429d41f8a8ee9de5abdcfe174 | |
parent | 278d320d2062f0aa7bea42ffe2f9877ceeec278c (diff) |
Remove explicit extension specification
Now build2 is able to deal with it automatically.
-rw-r--r-- | buildfile | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -8,16 +8,11 @@ vcpkg/ { ./: vcpkg/exe{vcpkg} file{VERSION.txt} - # @@ Specify extensions explicitly because of source file names like - # commands.edit.cpp. Failed that, we will end up treating, in this case - # .edit, as a specified extension (because the pattern machinery will - # remove .cpp from matches that it has added to the pattern). - # # Note that we need the explicit fsdir{} because our distribution won't - # have this directory. + # have this (empty) directory. # - vcpkg/exe{vcpkg}: cxx{src/vcpkg/**.cpp +src/vcpkg} \ - hxx{include/vcpkg/**.h +include/pch} \ + vcpkg/exe{vcpkg}: cxx{src/vcpkg/** +src/vcpkg} \ + hxx{include/vcpkg/** +include/pch} \ fsdir{vcpkg/} cxx.poptions =+ "-I$src_base/include" -DDISABLE_METRICS=1 \ |