From 9fa5f73d00905568e8979d0c93ec4a8f645c81d5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 9 Aug 2016 11:31:53 +0200 Subject: Implement support for C compilation We now have two new modules: cc (c-common) and c. --- build2/algorithm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'build2/algorithm') diff --git a/build2/algorithm b/build2/algorithm index d52cca9..651ef24 100644 --- a/build2/algorithm +++ b/build2/algorithm @@ -201,6 +201,15 @@ namespace build2 T* execute_prerequisites (action, target&, const timestamp&); + target* + execute_prerequisites (const target_type&, + action, target&, const timestamp&); + + template + T* + execute_prerequisites (const target_type&, + action, target&, const timestamp&); + // Return noop_recipe instead of using this function directly. // target_state @@ -243,6 +252,5 @@ namespace build2 } #include -#include #endif // BUILD2_ALGORITHM -- cgit v1.1