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
5
tests/app_3/CMakeLists.txt
Normal file
5
tests/app_3/CMakeLists.txt
Normal 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
9
tests/app_3/app_3.d
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue