setting up dirs

This commit is contained in:
2026-09-11 17:05:03 -04:00
parent e3c90f6c16
commit 4807a79dee
4 changed files with 23 additions and 5 deletions
+6
View File
@@ -0,0 +1,6 @@
import std.stdio;
void main()
{
writeln("same deal");
}
+6
View File
@@ -0,0 +1,6 @@
import std.stdio;
void main()
{
writefln("stub for now until i get the actual emulator done");
}
+2 -1
View File
@@ -1,5 +1,6 @@
import std.stdio; import std.stdio;
void main() { void main()
{
writeln("hello world!"); writeln("hello world!");
} }
+9 -4
View File
@@ -1,9 +1,15 @@
add_rules("mode.debug", "mode.release") add_rules("mode.debug", "mode.release")
target("weirdcpu") target("weirdcpu")
set_kind("binary") do
add_files("src/*.d") set_kind("binary")
add_files("src/*.d")
if is_mode("debug") then
set_toolchains("dmd")
else
set_toolchains("ldc")
end
end
-- --
-- If you want to known more usage about xmake, please see https://xmake.io -- If you want to known more usage about xmake, please see https://xmake.io
-- --
@@ -72,4 +78,3 @@ target("weirdcpu")
-- --
-- @endcode -- @endcode
-- --