Many small Improvements. Removed old non-functional test structures. Switched to dmd for linking. Fixed bug in CMakeDInformation.cmake that we inhereted from the C version. Added C+D test case, which fails.

This commit is contained in:
Steve King 2010-08-13 21:52:06 -07:00
commit 02d13655b2
151 changed files with 100 additions and 39777 deletions

View file

@ -0,0 +1,4 @@
# This project is a C library
PROJECT( lib_2 C )
ADD_DEFINITIONS( ${GLOBAL_C_DEFS} )
ADD_LIBRARY( lib_2 STATIC lib_2.c )

4
tests/lib_2/lib_2.c Normal file
View file

@ -0,0 +1,4 @@
int c_func_add_1( int x )
{
return x + 1;
}

View file

@ -0,0 +1 @@
extern(C) int c_func_add_1( int x );