2007-03-08 23:31:36 +08:00
# FIXME: For OS X, need flag for Framework or dylib
2009-03-24 00:01:02 +08:00
IF ( DYNAMIC_OPENSCENEGRAPH )
2007-06-30 00:09:12 +08:00
ADD_DEFINITIONS ( -DOSG_LIBRARY )
2009-03-24 00:01:02 +08:00
ELSE ( )
2007-06-30 00:09:12 +08:00
ADD_DEFINITIONS ( -DOSG_LIBRARY_STATIC )
2009-03-24 00:01:02 +08:00
ENDIF ( )
2007-03-08 23:31:36 +08:00
SET ( LIB_NAME osg )
2008-10-07 23:59:10 +08:00
#
# Enable workaround for OpenGL driver crash with occlusion query
#
OPTION ( OSG_FORCE_QUERY_RESULT_AVAILABLE_BEFORE_RETRIEVAL "Set to ON to build OcclussionQueryNode with a workaround for multi-threaded OpenGL driver occlussion query crash. " OFF )
IF ( OSG_FORCE_QUERY_RESULT_AVAILABLE_BEFORE_RETRIEVAL )
ADD_DEFINITIONS ( -DFORCE_QUERY_RESULT_AVAILABLE_BEFORE_RETRIEVAL )
2009-03-24 00:01:02 +08:00
ENDIF ( )
2008-10-07 23:59:10 +08:00
2007-03-08 23:31:36 +08:00
SET ( HEADER_PATH ${ OpenSceneGraph_SOURCE_DIR } /include/ ${ LIB_NAME } )
SET ( LIB_PUBLIC_HEADERS
2007-06-30 00:09:12 +08:00
$ { H E A D E R _ P A T H } / A l p h a F u n c
$ { H E A D E R _ P A T H } / A n i m a t i o n P a t h
$ { H E A D E R _ P A T H } / A p p l i c a t i o n U s a g e
$ { H E A D E R _ P A T H } / A r g u m e n t P a r s e r
$ { H E A D E R _ P A T H } / A r r a y
2009-10-21 03:34:24 +08:00
$ { H E A D E R _ P A T H } / A r r a y D i s p a t c h e r s
2009-02-28 04:16:08 +08:00
$ { H E A D E R _ P A T H } / A u d i o S t r e a m
2007-06-30 00:09:12 +08:00
$ { H E A D E R _ P A T H } / A u t o T r a n s f o r m
$ { H E A D E R _ P A T H } / B i l l b o a r d
$ { H E A D E R _ P A T H } / B l e n d C o l o r
$ { H E A D E R _ P A T H } / B l e n d E q u a t i o n
$ { H E A D E R _ P A T H } / B l e n d F u n c
$ { H E A D E R _ P A T H } / B o u n d i n g B o x
$ { H E A D E R _ P A T H } / B o u n d i n g S p h e r e
$ { H E A D E R _ P A T H } / B o u n d s C h e c k i n g
2008-06-20 23:50:53 +08:00
$ { H E A D E R _ P A T H } / b u f f e r e d _ v a l u e
2010-11-30 01:43:27 +08:00
$ { H E A D E R _ P A T H } / B u f f e r I n d e x B i n d i n g
2007-06-30 00:09:12 +08:00
$ { H E A D E R _ P A T H } / B u f f e r O b j e c t
$ { H E A D E R _ P A T H } / C a m e r a
$ { H E A D E R _ P A T H } / C a m e r a N o d e
$ { H E A D E R _ P A T H } / C a m e r a V i e w
$ { H E A D E R _ P A T H } / C l a m p C o l o r
$ { H E A D E R _ P A T H } / C l e a r N o d e
$ { H E A D E R _ P A T H } / C l i p N o d e
$ { H E A D E R _ P A T H } / C l i p P l a n e
$ { H E A D E R _ P A T H } / C l u s t e r C u l l i n g C a l l b a c k
$ { H E A D E R _ P A T H } / C o l l e c t O c c l u d e r s V i s i t o r
$ { H E A D E R _ P A T H } / C o l o r M a s k
$ { H E A D E R _ P A T H } / C o l o r M a t r i x
$ { H E A D E R _ P A T H } / C o m p u t e B o u n d s V i s i t o r
$ { H E A D E R _ P A T H } / C o n v e x P l a n a r O c c l u d e r
$ { H E A D E R _ P A T H } / C o n v e x P l a n a r P o l y g o n
$ { H E A D E R _ P A T H } / C o o r d i n a t e S y s t e m N o d e
$ { H E A D E R _ P A T H } / C o p y O p
$ { H E A D E R _ P A T H } / C u l l F a c e
2008-06-20 23:50:53 +08:00
$ { H E A D E R _ P A T H } / C u l l i n g S e t
2007-06-30 00:09:12 +08:00
$ { H E A D E R _ P A T H } / C u l l S e t t i n g s
$ { H E A D E R _ P A T H } / C u l l S t a c k
$ { H E A D E R _ P A T H } / D e l e t e H a n d l e r
$ { H E A D E R _ P A T H } / D e p t h
$ { H E A D E R _ P A T H } / D i s p l a y S e t t i n g s
$ { H E A D E R _ P A T H } / D r a w a b l e
2008-06-20 23:50:53 +08:00
$ { H E A D E R _ P A T H } / D r a w P i x e l s
2007-06-30 00:09:12 +08:00
$ { H E A D E R _ P A T H } / E n d i a n
$ { H E A D E R _ P A T H } / E x p o r t
2008-06-20 23:50:53 +08:00
$ { H E A D E R _ P A T H } / f a s t _ b a c k _ s t a c k
2007-06-30 00:09:12 +08:00
$ { H E A D E R _ P A T H } / F o g
$ { H E A D E R _ P A T H } / F r a g m e n t P r o g r a m
$ { H E A D E R _ P A T H } / F r a m e B u f f e r O b j e c t
$ { H E A D E R _ P A T H } / F r a m e S t a m p
$ { H E A D E R _ P A T H } / F r o n t F a c e
2008-06-20 23:50:53 +08:00
$ { H E A D E R _ P A T H } / G e o d e
$ { H E A D E R _ P A T H } / G e o m e t r y
2007-06-30 00:09:12 +08:00
$ { H E A D E R _ P A T H } / G L
$ { H E A D E R _ P A T H } / G L 2 E x t e n s i o n s
$ { H E A D E R _ P A T H } / G L E x t e n s i o n s
2009-10-17 00:26:27 +08:00
$ { H E A D E R _ P A T H } / G L B e g i n E n d A d a p t e r
2007-07-06 21:08:51 +08:00
$ { H E A D E R _ P A T H } / G L O b j e c t s
2007-06-30 00:09:12 +08:00
$ { H E A D E R _ P A T H } / G L U
$ { H E A D E R _ P A T H } / G r a p h i c s C o n t e x t
$ { H E A D E R _ P A T H } / G r a p h i c s T h r e a d
$ { H E A D E R _ P A T H } / G r o u p
$ { H E A D E R _ P A T H } / H i n t
$ { H E A D E R _ P A T H } / I m a g e
2008-07-21 17:46:53 +08:00
$ { H E A D E R _ P A T H } / I m a g e S e q u e n c e
2007-06-30 00:09:12 +08:00
$ { H E A D E R _ P A T H } / I m a g e S t r e a m
2009-01-09 23:19:25 +08:00
$ { H E A D E R _ P A T H } / I m a g e U t i l s
2008-06-20 23:50:53 +08:00
$ { H E A D E R _ P A T H } / i o _ u t i l s
2008-07-04 23:57:48 +08:00
$ { H E A D E R _ P A T H } / K d T r e e
2007-06-30 00:09:12 +08:00
$ { H E A D E R _ P A T H } / L i g h t
$ { H E A D E R _ P A T H } / L i g h t M o d e l
$ { H E A D E R _ P A T H } / L i g h t S o u r c e
$ { H E A D E R _ P A T H } / L i n e S e g m e n t
$ { H E A D E R _ P A T H } / L i n e S t i p p l e
$ { H E A D E R _ P A T H } / L i n e W i d t h
2008-06-20 23:50:53 +08:00
$ { H E A D E R _ P A T H } / L O D
2007-06-30 00:09:12 +08:00
$ { H E A D E R _ P A T H } / L o g i c O p
$ { H E A D E R _ P A T H } / M a t e r i a l
$ { H E A D E R _ P A T H } / M a t h
$ { H E A D E R _ P A T H } / M a t r i x
$ { H E A D E R _ P A T H } / M a t r i x d
$ { H E A D E R _ P A T H } / M a t r i x f
2008-06-20 23:50:53 +08:00
$ { H E A D E R _ P A T H } / M a t r i x T r a n s f o r m
2008-06-21 01:32:27 +08:00
$ { H E A D E R _ P A T H } / M i x i n V e c t o r
2007-06-30 00:09:12 +08:00
$ { H E A D E R _ P A T H } / M u l t i s a m p l e
$ { H E A D E R _ P A T H } / N o d e
$ { H E A D E R _ P A T H } / N o d e C a l l b a c k
$ { H E A D E R _ P A T H } / N o d e T r a c k e r C a l l b a c k
$ { H E A D E R _ P A T H } / N o d e V i s i t o r
$ { H E A D E R _ P A T H } / N o t i f y
$ { H E A D E R _ P A T H } / O b j e c t
2008-06-20 23:50:53 +08:00
$ { H E A D E R _ P A T H } / o b s e r v e r _ p t r
2010-02-16 04:14:32 +08:00
$ { H E A D E R _ P A T H } / O b s e r v e r
$ { H E A D E R _ P A T H } / O b s e r v e r N o d e P a t h
2007-06-30 00:09:12 +08:00
$ { H E A D E R _ P A T H } / O c c l u d e r N o d e
2007-12-21 22:45:16 +08:00
$ { H E A D E R _ P A T H } / O c c l u s i o n Q u e r y N o d e
2007-07-12 23:54:45 +08:00
$ { H E A D E R _ P A T H } / O p e r a t i o n T h r e a d
2007-06-30 00:09:12 +08:00
$ { H E A D E R _ P A T H } / P a g e d L O D
$ { H E A D E R _ P A T H } / P l a n e
$ { H E A D E R _ P A T H } / P o i n t
$ { H E A D E R _ P A T H } / P o i n t S p r i t e
$ { H E A D E R _ P A T H } / P o l y g o n M o d e
$ { H E A D E R _ P A T H } / P o l y g o n O f f s e t
$ { H E A D E R _ P A T H } / P o l y g o n S t i p p l e
$ { H E A D E R _ P A T H } / P o l y t o p e
$ { H E A D E R _ P A T H } / P o s i t i o n A t t i t u d e T r a n s f o r m
$ { H E A D E R _ P A T H } / P r i m i t i v e S e t
$ { H E A D E R _ P A T H } / P r o g r a m
$ { H E A D E R _ P A T H } / P r o j e c t i o n
$ { H E A D E R _ P A T H } / P r o x y N o d e
$ { H E A D E R _ P A T H } / Q u a t
$ { H E A D E R _ P A T H } / R e f e r e n c e d
2008-06-20 23:50:53 +08:00
$ { H E A D E R _ P A T H } / r e f _ p t r
2007-06-30 00:09:12 +08:00
$ { H E A D E R _ P A T H } / R e n d e r I n f o
$ { H E A D E R _ P A T H } / S c i s s o r
$ { H E A D E R _ P A T H } / S e q u e n c e
$ { H E A D E R _ P A T H } / S h a d e M o d e l
$ { H E A D E R _ P A T H } / S h a d e r
2010-06-25 01:15:27 +08:00
$ { H E A D E R _ P A T H } / S h a d e r A t t r i b u t e
$ { H E A D E R _ P A T H } / S h a d e r C o m p o s e r
2007-06-30 00:09:12 +08:00
$ { H E A D E R _ P A T H } / S h a d o w V o l u m e O c c l u d e r
$ { H E A D E R _ P A T H } / S h a p e
$ { H E A D E R _ P A T H } / S h a p e D r a w a b l e
$ { H E A D E R _ P A T H } / S t a t e
$ { H E A D E R _ P A T H } / S t a t e A t t r i b u t e
2009-10-22 18:33:16 +08:00
$ { H E A D E R _ P A T H } / S t a t e A t t r i b u t e C a l l b a c k
2007-06-30 00:09:12 +08:00
$ { H E A D E R _ P A T H } / S t a t e S e t
$ { H E A D E R _ P A T H } / S t a t s
$ { H E A D E R _ P A T H } / S t e n c i l
$ { H E A D E R _ P A T H } / S t e n c i l T w o S i d e d
$ { H E A D E R _ P A T H } / S w i t c h
2007-06-30 00:10:24 +08:00
$ { H E A D E R _ P A T H } / T e m p l a t e P r i m i t i v e F u n c t o r
2007-06-30 00:09:12 +08:00
$ { H E A D E R _ P A T H } / T e x E n v
$ { H E A D E R _ P A T H } / T e x E n v C o m b i n e
$ { H E A D E R _ P A T H } / T e x E n v F i l t e r
$ { H E A D E R _ P A T H } / T e x G e n
$ { H E A D E R _ P A T H } / T e x G e n N o d e
$ { H E A D E R _ P A T H } / T e x M a t
$ { H E A D E R _ P A T H } / T e x t u r e
$ { H E A D E R _ P A T H } / T e x t u r e 1 D
$ { H E A D E R _ P A T H } / T e x t u r e 2 D
2010-04-23 01:02:22 +08:00
$ { H E A D E R _ P A T H } / T e x t u r e 2 D M u l t i s a m p l e
2007-09-07 19:21:02 +08:00
$ { H E A D E R _ P A T H } / T e x t u r e 2 D A r r a y
2007-06-30 00:09:12 +08:00
$ { H E A D E R _ P A T H } / T e x t u r e 3 D
$ { H E A D E R _ P A T H } / T e x t u r e C u b e M a p
$ { H E A D E R _ P A T H } / T e x t u r e R e c t a n g l e
$ { H E A D E R _ P A T H } / T i m e r
2008-06-20 23:50:53 +08:00
$ { H E A D E R _ P A T H } / T r a n s f e r F u n c t i o n
2007-06-30 00:09:12 +08:00
$ { H E A D E R _ P A T H } / T r a n s f o r m
$ { H E A D E R _ P A T H } / T r i a n g l e F u n c t o r
$ { H E A D E R _ P A T H } / T r i a n g l e I n d e x F u n c t o r
$ { H E A D E R _ P A T H } / U n i f o r m
$ { H E A D E R _ P A T H } / V e c 2
$ { H E A D E R _ P A T H } / V e c 2 b
$ { H E A D E R _ P A T H } / V e c 2 d
$ { H E A D E R _ P A T H } / V e c 2 f
$ { H E A D E R _ P A T H } / V e c 2 s
$ { H E A D E R _ P A T H } / V e c 3
$ { H E A D E R _ P A T H } / V e c 3 b
$ { H E A D E R _ P A T H } / V e c 3 d
$ { H E A D E R _ P A T H } / V e c 3 f
$ { H E A D E R _ P A T H } / V e c 3 s
$ { H E A D E R _ P A T H } / V e c 4
$ { H E A D E R _ P A T H } / V e c 4 b
$ { H E A D E R _ P A T H } / V e c 4 d
$ { H E A D E R _ P A T H } / V e c 4 f
$ { H E A D E R _ P A T H } / V e c 4 s
$ { H E A D E R _ P A T H } / V e c 4 u b
$ { H E A D E R _ P A T H } / V e r s i o n
$ { H E A D E R _ P A T H } / V e r t e x P r o g r a m
$ { H E A D E R _ P A T H } / V i e w
$ { H E A D E R _ P A T H } / V i e w p o r t
2008-06-21 03:52:14 +08:00
$ { O P E N S C E N E G R A P H _ C O N F I G _ H E A D E R }
2007-03-08 23:31:36 +08:00
)
ADD_LIBRARY ( ${ LIB_NAME }
2007-06-30 00:09:12 +08:00
$ { O P E N S C E N E G R A P H _ U S E R _ D E F I N E D _ D Y N A M I C _ O R _ S T A T I C }
2008-04-24 19:34:43 +08:00
$ { L I B _ P U B L I C _ H E A D E R S }
2007-06-30 00:09:12 +08:00
A l p h a F u n c . c p p
A n i m a t i o n P a t h . c p p
A p p l i c a t i o n U s a g e . c p p
A r g u m e n t P a r s e r . c p p
A r r a y . c p p
2009-10-21 03:34:24 +08:00
A r r a y D i s p a t c h e r s . c p p
2009-02-28 04:16:08 +08:00
A u d i o S t r e a m . c p p
2007-06-30 00:09:12 +08:00
A u t o T r a n s f o r m . c p p
B i l l b o a r d . c p p
B l e n d C o l o r . c p p
B l e n d E q u a t i o n . c p p
B l e n d F u n c . c p p
2010-11-30 01:43:27 +08:00
B u f f e r I n d e x B i n d i n g . c p p
2007-06-30 00:09:12 +08:00
B u f f e r O b j e c t . c p p
C a m e r a . c p p
C a m e r a V i e w . c p p
C l a m p C o l o r . c p p
C l e a r N o d e . c p p
C l i p N o d e . c p p
C l i p P l a n e . c p p
C l u s t e r C u l l i n g C a l l b a c k . c p p
C o l l e c t O c c l u d e r s V i s i t o r . c p p
C o l o r M a s k . c p p
C o l o r M a t r i x . c p p
C o m p u t e B o u n d s V i s i t o r . c p p
C o n v e x P l a n a r O c c l u d e r . c p p
C o n v e x P l a n a r P o l y g o n . c p p
C o o r d i n a t e S y s t e m N o d e . c p p
C o p y O p . c p p
C u l l F a c e . c p p
2008-11-23 19:35:43 +08:00
C u l l i n g S e t . c p p
2007-06-30 00:09:12 +08:00
C u l l S e t t i n g s . c p p
C u l l S t a c k . c p p
D e l e t e H a n d l e r . c p p
D e p t h . c p p
D i s p l a y S e t t i n g s . c p p
D r a w a b l e . c p p
2008-11-23 19:35:43 +08:00
D r a w P i x e l s . c p p
d x t c t o o l . c p p
d x t c t o o l . h
2007-06-30 00:09:12 +08:00
F o g . c p p
F r a g m e n t P r o g r a m . c p p
F r a m e B u f f e r O b j e c t . c p p
F r a m e S t a m p . c p p
F r o n t F a c e . c p p
2008-11-23 19:35:43 +08:00
G e o d e . c p p
G e o m e t r y . c p p
2008-01-21 19:47:40 +08:00
G L 2 E x t e n s i o n s . c p p
2007-06-30 00:09:12 +08:00
G L E x t e n s i o n s . c p p
2009-10-17 00:26:27 +08:00
G L B e g i n E n d A d a p t e r . c p p
2007-07-06 21:08:51 +08:00
G L O b j e c t s . c p p
2010-05-15 03:47:50 +08:00
G L S t a t i c L i b r a r y . h
G L S t a t i c L i b r a r y . c p p
2007-06-30 00:09:12 +08:00
G r a p h i c s C o n t e x t . c p p
G r a p h i c s T h r e a d . c p p
G r o u p . c p p
H i n t . c p p
I m a g e . c p p
2008-07-21 17:46:53 +08:00
I m a g e S e q u e n c e . c p p
2007-06-30 00:09:12 +08:00
I m a g e S t r e a m . c p p
2009-01-09 23:19:25 +08:00
I m a g e U t i l s . c p p
2008-07-04 23:57:48 +08:00
K d T r e e . c p p
2007-06-30 00:09:12 +08:00
L i g h t . c p p
L i g h t M o d e l . c p p
L i g h t S o u r c e . c p p
L i n e S e g m e n t . c p p
L i n e S t i p p l e . c p p
L i n e W i d t h . c p p
2008-11-23 19:35:43 +08:00
L O D . c p p
2007-06-30 00:09:12 +08:00
L o g i c O p . c p p
M a t e r i a l . c p p
2008-11-23 19:35:43 +08:00
M a t h . c p p
M a t r i x d . c p p
2007-06-30 00:09:12 +08:00
M a t r i x D e c o m p o s i t i o n . c p p
2008-11-23 19:35:43 +08:00
M a t r i x f . c p p
2007-06-30 00:09:12 +08:00
# We don't build this one
# Matrix_implementation.cpp
2008-11-23 19:35:43 +08:00
M a t r i x T r a n s f o r m . c p p
2007-06-30 00:09:12 +08:00
M u l t i s a m p l e . c p p
N o d e C a l l b a c k . c p p
2008-11-23 19:35:43 +08:00
N o d e . c p p
2007-06-30 00:09:12 +08:00
N o d e T r a c k e r C a l l b a c k . c p p
N o d e V i s i t o r . c p p
N o t i f y . c p p
O b j e c t . c p p
2010-02-19 05:21:12 +08:00
O b s e r v e r . c p p
2010-02-16 04:14:32 +08:00
O b s e r v e r N o d e P a t h . c p p
2007-06-30 00:09:12 +08:00
O c c l u d e r N o d e . c p p
2007-12-21 22:45:16 +08:00
O c c l u s i o n Q u e r y N o d e . c p p
2007-07-12 23:54:45 +08:00
O p e r a t i o n T h r e a d . c p p
2007-06-30 00:09:12 +08:00
P a g e d L O D . c p p
P o i n t . c p p
P o i n t S p r i t e . c p p
P o l y g o n M o d e . c p p
P o l y g o n O f f s e t . c p p
P o l y g o n S t i p p l e . c p p
P o s i t i o n A t t i t u d e T r a n s f o r m . c p p
P r i m i t i v e S e t . c p p
P r o g r a m . c p p
P r o j e c t i o n . c p p
P r o x y N o d e . c p p
Q u a t . c p p
R e f e r e n c e d . c p p
S c i s s o r . c p p
S e q u e n c e . c p p
S h a d e M o d e l . c p p
S h a d e r . c p p
2010-06-25 01:15:27 +08:00
S h a d e r A t t r i b u t e . c p p
S h a d e r C o m p o s e r . c p p
2007-06-30 00:09:12 +08:00
S h a d o w V o l u m e O c c l u d e r . c p p
S h a p e . c p p
S h a p e D r a w a b l e . c p p
S t a t e A t t r i b u t e . c p p
2008-11-23 19:35:43 +08:00
S t a t e . c p p
2007-06-30 00:09:12 +08:00
S t a t e S e t . c p p
S t a t s . c p p
S t e n c i l . c p p
S t e n c i l T w o S i d e d . c p p
S w i t c h . c p p
T e x E n v C o m b i n e . c p p
2008-11-23 19:35:43 +08:00
T e x E n v . c p p
2007-06-30 00:09:12 +08:00
T e x E n v F i l t e r . c p p
T e x G e n . c p p
T e x G e n N o d e . c p p
T e x M a t . c p p
T e x t u r e 1 D . c p p
2007-09-07 19:21:02 +08:00
T e x t u r e 2 D A r r a y . c p p
2008-11-23 19:35:43 +08:00
T e x t u r e 2 D . c p p
2010-04-23 01:02:22 +08:00
T e x t u r e 2 D M u l t i s a m p l e . c p p
2007-06-30 00:09:12 +08:00
T e x t u r e 3 D . c p p
2008-11-23 19:35:43 +08:00
T e x t u r e . c p p
2007-06-30 00:09:12 +08:00
T e x t u r e C u b e M a p . c p p
T e x t u r e R e c t a n g l e . c p p
T i m e r . c p p
2008-11-23 19:35:43 +08:00
T r a n s f e r F u n c t i o n . c p p
2007-06-30 00:09:12 +08:00
T r a n s f o r m . c p p
U n i f o r m . c p p
V e r s i o n . c p p
V e r t e x P r o g r a m . c p p
V i e w . c p p
V i e w p o r t . c p p
2010-10-06 22:44:52 +08:00
g l u / l i b u t i l / e r r o r . c p p
g l u / l i b u t i l / m i p m a p . c p p
g l u / l i b t e s s / n o r m a l . c p p
g l u / l i b t e s s / m e m a l l o c . c p p
g l u / l i b t e s s / d i c t - l i s t . h
g l u / l i b t e s s / a l g - o u t l i n e
g l u / l i b t e s s / p r i o r i t y q . c p p
g l u / l i b t e s s / n o r m a l . h
g l u / l i b t e s s / d i c t . h
g l u / l i b t e s s / r e n d e r . c p p
g l u / l i b t e s s / t e s s m o n o . h
g l u / l i b t e s s / m e s h . c p p
g l u / l i b t e s s / r e n d e r . h
g l u / l i b t e s s / t e s s m o n o . c p p
g l u / l i b t e s s / p r i o r i t y q . h
g l u / l i b t e s s / s w e e p . h
g l u / l i b t e s s / p r i o r i t y q - s o r t . h
g l u / l i b t e s s / s w e e p . c p p
g l u / l i b t e s s / t e s s . h
g l u / l i b t e s s / g e o m . h
g l u / l i b t e s s / m e m a l l o c . h
g l u / l i b t e s s / d i c t . c p p
g l u / l i b t e s s / p r i o r i t y q - h e a p . h
g l u / l i b t e s s / g e o m . c p p
g l u / l i b t e s s / t e s s . c p p
g l u / l i b t e s s / m e s h . h
2009-02-05 22:55:17 +08:00
$ { O P E N S C E N E G R A P H _ V E R S I O N I N F O _ R C }
2007-03-08 23:31:36 +08:00
)
2007-06-30 00:09:12 +08:00
LINK_INTERNAL ( ${ LIB_NAME }
O p e n T h r e a d s
2007-05-03 02:07:41 +08:00
)
From Alberto Luaces, "he new GNU linker, "gold", is going to replace soon the current ld in
almost all Linux distributions. Although it is 100% compatible with ld,
by default it gives an error if a library has unresolved symbols at link
time, that is, it has set -Wl,--no-undefined by default. Debian folks
have found that libosg.so and libosgDB.so use some functions belonging
to libdl.so {dlsym,dlopen,dlclose,dlerror} without linking to it.
My changes link those two libraries to libdl.so explicitly in the same
way it is already done for libm.so and librt.so."
2010-02-11 19:17:55 +08:00
LINK_EXTERNAL ( ${ LIB_NAME } ${ CMAKE_THREAD_LIBS_INIT } ${ MATH_LIBRARY } ${ RT_LIBRARY } ${ DL_LIBRARY } )
2009-11-18 21:00:35 +08:00
LINK_CORELIB_DEFAULT ( ${ LIB_NAME } ${ CMAKE_THREAD_LIBS_INIT } ${ MATH_LIBRARY } ${ RT_LIBRARY } )
2007-03-08 23:31:36 +08:00
INCLUDE ( ModuleInstall OPTIONAL )