summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/StepsTool.cc (renamed from tools/steps.cc)9
-rw-r--r--tools/steps.toml2
2 files changed, 6 insertions, 5 deletions
diff --git a/tools/steps.cc b/tools/StepsTool.cc
index 6b9a8f7..ccad634 100644
--- a/tools/steps.cc
+++ b/tools/StepsTool.cc
@@ -1,11 +1,11 @@
/* ===========================================================
-Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.
+ Copyright (C) 2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license
=========================================================== */
-#include <libocl/dev/lib/io/print.hpp>
-#include <libsteps/dev/lib/steps.hpp>
+#include <io/print.hpp>
+#include <steps/steps.hpp>
/// =========================================================== ///
/// Use operators from steps namespace to compare steps records.
@@ -25,7 +25,8 @@ int main(void) {
file >> steps;
- if (!ocl::steps::is_valid(steps)) return EXIT_FAILURE;
+ if (!ocl::steps::is_valid(steps))
+ return EXIT_FAILURE;
/// AMLALE: Read steps from file and process them.
diff --git a/tools/steps.toml b/tools/steps.toml
index f9e3734..4d0de7c 100644
--- a/tools/steps.toml
+++ b/tools/steps.toml
@@ -1,7 +1,7 @@
compiler_path = "clang++"
compiler_std = "c++20"
headers_path = [ "../lib", "../lib/libocl/dev/", "/opt/homebrew/Cellar/boost/1.89.0/include" ]
-sources_path = [ "steps.cc" ]
+sources_path = [ "StepsTool.cc" ]
output_name = "steps.o"
compiler_flags = [ "-fPIC" ]
cpp_macros = [ "__NE_STEPS__" ]