Very basic stuff working on linux 32-bit with dmd and phobos2.

This commit is contained in:
Steve King 2010-08-10 21:55:30 -07:00
commit 67f0225e42
152 changed files with 113 additions and 0 deletions

View file

@ -0,0 +1,5 @@
ADD_EXECUTABLE ( app_3 app_3.d )
INCLUDE_DIRECTORIES( app3 ${PROJECT_SOURCE_DIR} )
MESSAGE( "Project source dir is ${PROJECT_SOURCE_DIR}" )
TARGET_LINK_LIBRARIES ( app_3 lib_1 )
ADD_TEST( app_3 app_3 )

9
tests/app_3/app_3.d Normal file
View file

@ -0,0 +1,9 @@
import lib_1.lib_1;
int main()
{
int x = 1;
int y = lib_1_func( x );
assert( y == x + 1 );
return 0;
}