Mercurial > projects > ldc
annotate tests/mini/phobos/imports2.d @ 983:6e68054cfc20
Fix out-ouf-source build for runtime as well.
To build out-of-source, follow these steps:
# [[Insert LLVM build instructions here]]
mkdir my_build_dir
cd my_build_dir
svn co http://svn.dsource.org/projects/tango/trunk tango
ccmake <PATH_TO_SOURCE>
# (Regular ccmake stuff, press 'c' a few times followed by 'g')
make
make runtime
# add `PWD`/bin to PATH
closes #213
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Thu, 19 Feb 2009 11:01:34 +0100 |
parents | fc098100ecc7 |
children |
rev | line source |
---|---|
17
6c6cd097bcdf
[svn r21] * Fixed local instances of imported templates
lindquist
parents:
16
diff
changeset
|
1 module imports2; |
16
860524276608
[svn r20] * Added a simple compiletime std.stdio by downs
lindquist
parents:
diff
changeset
|
2 import std.stdio; |
860524276608
[svn r20] * Added a simple compiletime std.stdio by downs
lindquist
parents:
diff
changeset
|
3 |
860524276608
[svn r20] * Added a simple compiletime std.stdio by downs
lindquist
parents:
diff
changeset
|
4 void main() { |
860524276608
[svn r20] * Added a simple compiletime std.stdio by downs
lindquist
parents:
diff
changeset
|
5 writefln("Hello world!"[]); |
860524276608
[svn r20] * Added a simple compiletime std.stdio by downs
lindquist
parents:
diff
changeset
|
6 } |