Changeset 18

Show
Ignore:
Timestamp:
08/28/07 07:37:16 (1 year ago)
Author:
flithm
Message:

Add Phobos sample

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/samples/HelloPhobos/CMakeLists.txt

    r17 r18  
    1010 
    1111# Using Tango 
    12 set(CMAKE_D_USE_TANGO True) 
     12set(CMAKE_D_USE_PHOBOS True) 
    1313 
    1414# check for DDoc usage 
  • trunk/samples/HelloPhobos/Hello/hello.d

    r17 r18  
    11module Hello.hello; 
    22 
    3 import tango.io.Stdout
     3import std.stdio
    44 
    55class Hail 
     
    88  void Print() 
    99  { 
    10      Stdout("Hello, World!").newline
     10     writefln ("Hello, World!")
    1111  } 
    1212}