summaryrefslogtreecommitdiffhomepage
path: root/Private/Frontend/Compiler/compiler_command.d
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-30 13:25:42 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-30 13:26:33 +0100
commitbe73d82eff113e6a6723d6fb4bd80f56f0ef88ef (patch)
tree93425f2d183c3ea7e5e1b50374ee6548c383ab78 /Private/Frontend/Compiler/compiler_command.d
parent7c8afc0e15e54ae9e0f1a393bb52eed804d34edc (diff)
Compiler: Breaking changes, will work on C++ compiler from now on.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/Frontend/Compiler/compiler_command.d')
-rw-r--r--Private/Frontend/Compiler/compiler_command.d12
1 files changed, 6 insertions, 6 deletions
diff --git a/Private/Frontend/Compiler/compiler_command.d b/Private/Frontend/Compiler/compiler_command.d
index 80d8673..7da7ff3 100644
--- a/Private/Frontend/Compiler/compiler_command.d
+++ b/Private/Frontend/Compiler/compiler_command.d
@@ -20,7 +20,7 @@ public void mpcc_summon_executable(string path)
{
import core.stdc.stdlib;
import std.string;
-
+
system(toStringz(path));
}
@@ -32,7 +32,7 @@ public class Platform
import std.string;
import std.conv;
import std.path;
-
+
string pathHome = expandTilde("~");
pathHome ~= "/mp-ux/libc/";
@@ -45,7 +45,7 @@ public class Platform
import std.string;
import std.conv;
import std.path;
-
+
string pathHome = expandTilde("~");
pathHome ~= "/mp-ux/mp-ux/";
@@ -59,7 +59,7 @@ public class CompileCommand
{
import std.string;
import std.algorithm;
-
+
foreach (file; files)
{
if (file.length == 0)
@@ -68,7 +68,7 @@ public class CompileCommand
import std.datetime;
string input = "/usr/local/bin/bin/cpp";
-
+
string[] arr_macros = CompilerMacroHelpers.getStandardMacros();
foreach (string macro_name; arr_macros)
@@ -149,4 +149,4 @@ public class CompileCommand
mpcc_summon_executable("/usr/local/bin/bin/ld " ~ obj ~ output_object);
}
-} \ No newline at end of file
+}