aboutsummaryrefslogtreecommitdiff
path: root/build2/algorithm
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-09 11:31:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-12 17:04:22 +0200
commit9fa5f73d00905568e8979d0c93ec4a8f645c81d5 (patch)
treef2bf937fa256c0ef2c9bbe05d3655d1985719405 /build2/algorithm
parenta1b2319ff2ddc8a6f139ee364cabe236ca62e23e (diff)
Implement support for C compilation
We now have two new modules: cc (c-common) and c.
Diffstat (limited to 'build2/algorithm')
-rw-r--r--build2/algorithm10
1 files changed, 9 insertions, 1 deletions
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 <typename T>
+ 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 <build2/algorithm.ixx>
-#include <build2/algorithm.txx>
#endif // BUILD2_ALGORITHM