deploy chipmunk lib
parent
01b7113618
commit
1bb27b8a21
|
@ -2,15 +2,19 @@
|
||||||
! See http:// factorcode.org/license.txt for BSD license.
|
! See http:// factorcode.org/license.txt for BSD license.
|
||||||
USING: accessors alien.c-types alien.syntax classes.struct combinators
|
USING: accessors alien.c-types alien.syntax classes.struct combinators
|
||||||
combinators.short-circuit kernel math math.order sequences
|
combinators.short-circuit kernel math math.order sequences
|
||||||
specialized-arrays.instances.alien.c-types.void* typed
|
typed specialized-arrays locals system alien.libraries ;
|
||||||
specialized-arrays locals system alien.libraries ;
|
SPECIALIZED-ARRAY: void*
|
||||||
IN: chipmunk.ffi
|
IN: chipmunk.ffi
|
||||||
|
|
||||||
<< "chipmunk" {
|
<<
|
||||||
{ [ os windows? ] [ "chipmunk.dll" ] }
|
"chipmunk" {
|
||||||
{ [ os macosx? ] [ "libchipmunk.dylib" ] }
|
{ [ os windows? ] [ "chipmunk.dll" ] }
|
||||||
{ [ os unix? ] [ "libchipmunk.so" ] }
|
{ [ os macosx? ] [ "libchipmunk.dylib" ] }
|
||||||
} cond "cdecl" add-library >>
|
{ [ os unix? ] [ "libchipmunk.so" ] }
|
||||||
|
} cond "cdecl" add-library
|
||||||
|
|
||||||
|
"chipmunk" deploy-library
|
||||||
|
>>
|
||||||
LIBRARY: chipmunk
|
LIBRARY: chipmunk
|
||||||
|
|
||||||
! chipmunk_types.h
|
! chipmunk_types.h
|
||||||
|
|
Loading…
Reference in New Issue