// file : build2/cli/rule -*- C++ -*- // copyright : Copyright (c) 2014-2017 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file #ifndef BUILD2_CLI_RULE #define BUILD2_CLI_RULE #include #include #include namespace build2 { namespace cli { // @@ Redo as two separate rules? // class compile: public rule { public: compile () {} virtual match_result match (action, target&, const string&) const override; virtual recipe apply (action, target&) const override; static target_state perform_update (action, const target&); static target_state perform_clean (action, const target&); }; } } #endif // BUILD2_CLI_RULE