summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/task/tasks.hh
diff options
context:
space:
mode:
authorMartial Simon <msimon_fr@hotmail.com>2025-09-15 01:07:58 +0200
committerMartial Simon <msimon_fr@hotmail.com>2025-09-15 01:07:58 +0200
commit967be9e750221ab2ab783f95df79bb26d290a45e (patch)
tree6802900a5e975f9f68b169f0f503f040056d6952 /tiger-compiler/src/task/tasks.hh
add: added projectsHEADmain
Diffstat (limited to 'tiger-compiler/src/task/tasks.hh')
-rw-r--r--tiger-compiler/src/task/tasks.hh23
1 files changed, 23 insertions, 0 deletions
diff --git a/tiger-compiler/src/task/tasks.hh b/tiger-compiler/src/task/tasks.hh
new file mode 100644
index 0000000..b18943d
--- /dev/null
+++ b/tiger-compiler/src/task/tasks.hh
@@ -0,0 +1,23 @@
+/**
+ ** \file task/tasks.hh
+ ** \brief Task module related tasks.
+ */
+
+#pragma once
+
+#include <task/libtask.hh>
+
+namespace task::tasks
+{
+ TASK_GROUP("0. Tasks");
+
+ /// List all the existing tasks.
+ TASK_DECLARE("task-list", "list registered tasks", tasks_list, "");
+ /// Dump task graph.
+ TASK_DECLARE("task-graph", "show task graph", tasks_graph, "");
+ /// List the selected tasks in order.
+ TASK_DECLARE("task-selection", "list tasks to be run", tasks_selection, "");
+ /// Ask for a time report at the end of the execution.
+ TASK_DECLARE("time-report", "report execution times", time_report, "");
+
+} // namespace task::tasks