setting up dirs
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import std.stdio;
|
||||
|
||||
void main()
|
||||
{
|
||||
writeln("same deal");
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import std.stdio;
|
||||
|
||||
void main()
|
||||
{
|
||||
writefln("stub for now until i get the actual emulator done");
|
||||
}
|
||||
+2
-1
@@ -1,5 +1,6 @@
|
||||
import std.stdio;
|
||||
|
||||
void main() {
|
||||
void main()
|
||||
{
|
||||
writeln("hello world!");
|
||||
}
|
||||
|
||||
@@ -1,9 +1,15 @@
|
||||
add_rules("mode.debug", "mode.release")
|
||||
|
||||
target("weirdcpu")
|
||||
do
|
||||
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
|
||||
--
|
||||
@@ -72,4 +78,3 @@ target("weirdcpu")
|
||||
--
|
||||
-- @endcode
|
||||
--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user