Very basic stuff working on linux 32-bit with dmd and phobos2.
This commit is contained in:
parent
f23eee9828
commit
67f0225e42
152 changed files with 113 additions and 0 deletions
8
tests/HelloTango/Hello/CMakeLists.txt
Normal file
8
tests/HelloTango/Hello/CMakeLists.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
include_directories(
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}
|
||||
)
|
||||
|
||||
# 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
tests/HelloTango/Hello/hello.d
Normal file
14
tests/HelloTango/Hello/hello.d
Normal file
|
@ -0,0 +1,14 @@
|
|||
module Hello.hello;
|
||||
|
||||
import tango.io.Stdout;
|
||||
|
||||
class Hail
|
||||
{
|
||||
public:
|
||||
void Print()
|
||||
{
|
||||
Stdout("Hello, World!").newline;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue