Update samples
This commit is contained in:
parent
30c8f9774d
commit
ac202ffb0a
5 changed files with 0 additions and 0 deletions
3
samples/HelloPhobos/Hello/CMakeLists.txt
Normal file
3
samples/HelloPhobos/Hello/CMakeLists.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Create a library called "Hello" which includes the source file "hello.cxx".
|
||||
# The extension is already found. Any number of sources could be listed here.
|
||||
ADD_LIBRARY (Hello hello.d)
|
14
samples/HelloPhobos/Hello/hello.d
Normal file
14
samples/HelloPhobos/Hello/hello.d
Normal file
|
@ -0,0 +1,14 @@
|
|||
module Hello.hello;
|
||||
|
||||
import std.stdio;
|
||||
|
||||
class Hail
|
||||
{
|
||||
public:
|
||||
void Print()
|
||||
{
|
||||
writefln ("Hello, World!");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue