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:
parent
6af1633a9b
commit
02d13655b2
151 changed files with 100 additions and 39777 deletions
4
tests/lib_2/CMakeLists.txt
Normal file
4
tests/lib_2/CMakeLists.txt
Normal 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
4
tests/lib_2/lib_2.c
Normal file
|
@ -0,0 +1,4 @@
|
|||
int c_func_add_1( int x )
|
||||
{
|
||||
return x + 1;
|
||||
}
|
1
tests/lib_2/lib_2_import.d
Normal file
1
tests/lib_2/lib_2_import.d
Normal file
|
@ -0,0 +1 @@
|
|||
extern(C) int c_func_add_1( int x );
|
Loading…
Add table
Add a link
Reference in a new issue