2011-05-30 14:13:33 +00:00
# Listing and grouping of all the source files.
# 1) Set the file lists for each component
# 2) Create a Source Group for each component, for IDE project orginization
# 3) Add libassimp using the file lists (eliminates duplication of file names between
# source groups and library command)
2010-03-03 21:48:23 +00:00
#
2014-05-10 08:31:42 +00:00
cmake_minimum_required ( VERSION 2.6 )
2012-02-03 16:25:12 +00:00
SET ( HEADER_PATH ../include/assimp )
2009-04-24 20:53:24 +00:00
2010-02-27 12:00:00 +00:00
SET ( COMPILER_HEADERS
$ { H E A D E R _ P A T H } / C o m p i l e r / p u s h p a c k 1 . h
$ { H E A D E R _ P A T H } / C o m p i l e r / p o p p a c k 1 . h
2010-03-03 21:48:23 +00:00
p s t d i n t . h
2010-03-03 21:46:56 +00:00
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( Compiler FILES ${ COMPILER_HEADERS } )
2010-02-27 12:00:00 +00:00
SET ( PUBLIC_HEADERS
2012-02-03 17:04:06 +00:00
$ { H E A D E R _ P A T H } / a n i m . h
2012-04-22 23:14:39 +00:00
$ { H E A D E R _ P A T H } / a i _ a s s e r t . h
2012-02-03 17:04:06 +00:00
$ { H E A D E R _ P A T H } / c a m e r a . h
$ { H E A D E R _ P A T H } / c o l o r 4 . h
$ { H E A D E R _ P A T H } / c o l o r 4 . i n l
$ { H E A D E R _ P A T H } / c o n f i g . h
$ { H E A D E R _ P A T H } / d e f s . h
$ { H E A D E R _ P A T H } / c f i l e i o . h
$ { H E A D E R _ P A T H } / l i g h t . h
$ { H E A D E R _ P A T H } / m a t e r i a l . h
$ { H E A D E R _ P A T H } / m a t e r i a l . i n l
$ { H E A D E R _ P A T H } / m a t r i x 3 x 3 . h
$ { H E A D E R _ P A T H } / m a t r i x 3 x 3 . i n l
$ { H E A D E R _ P A T H } / m a t r i x 4 x 4 . h
$ { H E A D E R _ P A T H } / m a t r i x 4 x 4 . i n l
$ { H E A D E R _ P A T H } / m e s h . h
$ { H E A D E R _ P A T H } / p o s t p r o c e s s . h
$ { H E A D E R _ P A T H } / q u a t e r n i o n . h
$ { H E A D E R _ P A T H } / q u a t e r n i o n . i n l
$ { H E A D E R _ P A T H } / s c e n e . h
2013-03-29 12:37:55 +00:00
$ { H E A D E R _ P A T H } / m e t a d a t a . h
2012-02-03 17:04:06 +00:00
$ { H E A D E R _ P A T H } / t e x t u r e . h
$ { H E A D E R _ P A T H } / t y p e s . h
$ { H E A D E R _ P A T H } / v e c t o r 2 . h
$ { H E A D E R _ P A T H } / v e c t o r 2 . i n l
$ { H E A D E R _ P A T H } / v e c t o r 3 . h
$ { H E A D E R _ P A T H } / v e c t o r 3 . i n l
$ { H E A D E R _ P A T H } / v e r s i o n . h
$ { H E A D E R _ P A T H } / c i m p o r t . h
2012-04-18 23:07:52 +00:00
$ { H E A D E R _ P A T H } / i m p o r t e r d e s c . h
2012-02-03 17:04:06 +00:00
$ { H E A D E R _ P A T H } / I m p o r t e r . h p p
$ { H E A D E R _ P A T H } / D e f a u l t L o g g e r . h p p
$ { H E A D E R _ P A T H } / P r o g r e s s H a n d l e r . h p p
$ { H E A D E R _ P A T H } / I O S t r e a m . h p p
$ { H E A D E R _ P A T H } / I O S y s t e m . h p p
$ { H E A D E R _ P A T H } / L o g g e r . h p p
$ { H E A D E R _ P A T H } / L o g S t r e a m . h p p
$ { H E A D E R _ P A T H } / N u l l L o g g e r . h p p
$ { H E A D E R _ P A T H } / c e x p o r t . h
$ { H E A D E R _ P A T H } / E x p o r t e r . h p p
2010-02-27 14:04:14 +00:00
)
2011-05-30 14:13:33 +00:00
SET ( Core_SRCS
A s s i m p . c p p
2010-02-27 14:04:14 +00:00
)
2011-05-30 14:13:33 +00:00
SET ( Boost_SRCS
2010-03-03 21:48:23 +00:00
B o o s t W o r k a r o u n d / b o o s t / m a t h / c o m m o n _ f a c t o r _ r t . h p p
B o o s t W o r k a r o u n d / b o o s t / f o r e a c h . h p p
B o o s t W o r k a r o u n d / b o o s t / f o r m a t . h p p
B o o s t W o r k a r o u n d / b o o s t / s c o p e d _ a r r a y . h p p
B o o s t W o r k a r o u n d / b o o s t / s c o p e d _ p t r . h p p
2010-04-11 02:46:52 +00:00
B o o s t W o r k a r o u n d / b o o s t / s h a r e d _ a r r a y . h p p
B o o s t W o r k a r o u n d / b o o s t / s h a r e d _ p t r . h p p
2011-05-31 17:38:22 +00:00
B o o s t W o r k a r o u n d / b o o s t / m a k e _ s h a r e d . h p p
2010-03-03 21:48:23 +00:00
B o o s t W o r k a r o u n d / b o o s t / s t a t i c _ a s s e r t . h p p
B o o s t W o r k a r o u n d / b o o s t / t u p l e / t u p l e . h p p
2010-02-27 12:00:00 +00:00
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( Boost FILES ${ Boost_SRCS } )
2010-02-27 12:00:00 +00:00
2011-05-30 14:13:33 +00:00
SET ( Logging_SRCS
2012-02-03 17:04:06 +00:00
$ { H E A D E R _ P A T H } / D e f a u l t L o g g e r . h p p
$ { H E A D E R _ P A T H } / L o g S t r e a m . h p p
$ { H E A D E R _ P A T H } / L o g g e r . h p p
$ { H E A D E R _ P A T H } / N u l l L o g g e r . h p p
2009-04-24 20:53:24 +00:00
W i n 3 2 D e b u g L o g S t r e a m . h
D e f a u l t L o g g e r . c p p
F i l e L o g S t r e a m . h
2014-01-17 10:24:16 +00:00
S t d O S t r e a m L o g S t r e a m . h
2009-04-24 20:53:24 +00:00
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( Logging FILES ${ Logging_SRCS } )
2010-02-27 12:00:00 +00:00
2011-05-30 14:13:33 +00:00
SET ( Common_SRCS
2010-08-25 16:55:38 +00:00
f a s t _ a t o f . h
2009-04-24 20:53:24 +00:00
q n a n . h
B a s e I m p o r t e r . c p p
B a s e I m p o r t e r . h
B a s e P r o c e s s . c p p
B a s e P r o c e s s . h
2011-08-01 20:58:31 +00:00
I m p o r t e r . h
S c e n e P r i v a t e . h
P o s t S t e p R e g i s t r y . c p p
I m p o r t e r R e g i s t r y . c p p
2009-04-24 20:53:24 +00:00
B y t e S w a p . h
2010-08-26 18:16:12 +00:00
D e f a u l t P r o g r e s s H a n d l e r . h
2009-04-24 20:53:24 +00:00
D e f a u l t I O S t r e a m . c p p
D e f a u l t I O S t r e a m . h
D e f a u l t I O S y s t e m . c p p
D e f a u l t I O S y s t e m . h
2011-03-08 16:15:09 +00:00
C I n t e r f a c e I O W r a p p e r . h
2009-04-24 20:53:24 +00:00
H a s h . h
I m p o r t e r . c p p
I F F . h
2014-03-10 16:20:14 +00:00
M e m o r y I O W r a p p e r . h
2009-04-24 20:53:24 +00:00
P a r s i n g U t i l s . h
S t r e a m R e a d e r . h
S t r i n g C o m p a r i s o n . h
S G S p a t i a l S o r t . c p p
S G S p a t i a l S o r t . h
V e r t e x T r i a n g l e A d j a c e n c y . c p p
V e r t e x T r i a n g l e A d j a c e n c y . h
G e n e r i c P r o p e r t y . h
S p a t i a l S o r t . c p p
S p a t i a l S o r t . h
S c e n e C o m b i n e r . c p p
S c e n e C o m b i n e r . h
S c e n e P r e p r o c e s s o r . c p p
S c e n e P r e p r o c e s s o r . h
S k e l e t o n M e s h B u i l d e r . c p p
S k e l e t o n M e s h B u i l d e r . h
2010-11-27 13:53:34 +00:00
S p l i t B y B o n e C o u n t P r o c e s s . c p p
S p l i t B y B o n e C o u n t P r o c e s s . h
2009-04-24 20:53:24 +00:00
S m o o t h i n g G r o u p s . h
S t a n d a r d S h a p e s . c p p
S t a n d a r d S h a p e s . h
T a r g e t A n i m a t i o n . c p p
T a r g e t A n i m a t i o n . h
R e m o v e C o m m e n t s . c p p
R e m o v e C o m m e n t s . h
2010-01-28 21:17:25 +00:00
S u b d i v i s i o n . c p p
S u b d i v i s i o n . h
V e r t e x . h
2010-04-02 04:17:05 +00:00
L i n e S p l i t t e r . h
T i n y F o r m a t t e r . h
2010-07-08 22:44:44 +00:00
P r o f i l e r . h
2011-05-09 18:00:55 +00:00
L o g A u x . h
2013-12-06 12:20:48 +00:00
B i t m a p . c p p
B i t m a p . h
2009-04-24 20:53:24 +00:00
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( Common FILES ${ Common_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( 3DS_SRCS
2009-04-24 20:53:24 +00:00
3 D S C o n v e r t e r . c p p
3 D S H e l p e r . h
3 D S L o a d e r . c p p
3 D S L o a d e r . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( 3DS FILES ${ 3DS_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( AC_SRCS
2009-04-24 20:53:24 +00:00
A C L o a d e r . c p p
A C L o a d e r . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( AC FILES ${ AC_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( ASE_SRCS
2009-04-24 20:53:24 +00:00
A S E L o a d e r . c p p
A S E L o a d e r . h
A S E P a r s e r . c p p
A S E P a r s e r . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( ASE FILES ${ ASE_SRCS } )
SET ( B3D_SRCS
2009-04-24 20:53:24 +00:00
B 3 D I m p o r t e r . c p p
B 3 D I m p o r t e r . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( B3D FILES ${ B3D_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( BVH_SRCS
2009-04-24 20:53:24 +00:00
B V H L o a d e r . c p p
B V H L o a d e r . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( BVH FILES ${ BVH_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( Collada_SRCS
2009-04-24 20:53:24 +00:00
C o l l a d a H e l p e r . h
C o l l a d a L o a d e r . c p p
C o l l a d a L o a d e r . h
C o l l a d a P a r s e r . c p p
C o l l a d a P a r s e r . h
2011-04-03 11:44:09 +00:00
C o l l a d a E x p o r t e r . h
C o l l a d a E x p o r t e r . c p p
2009-04-24 20:53:24 +00:00
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( Collada FILES ${ Collada_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( DXF_SRCS
2009-04-24 20:53:24 +00:00
D X F L o a d e r . c p p
D X F L o a d e r . h
2011-02-22 19:58:29 +00:00
D X F H e l p e r . h
2009-04-24 20:53:24 +00:00
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( DXF FILES ${ DXF_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( CSM_SRCS
2009-04-26 15:09:03 +00:00
C S M L o a d e r . c p p
C S M L o a d e r . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( CSM FILES ${ CSM_SRCS } )
2009-04-26 15:09:03 +00:00
2011-05-30 14:13:33 +00:00
SET ( HMP_SRCS
2009-04-24 20:53:24 +00:00
H M P F i l e D a t a . h
H M P L o a d e r . c p p
H M P L o a d e r . h
H a l f L i f e F i l e D a t a . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( HMP FILES ${ HMP_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( Irr_SRCS
2009-04-24 20:53:24 +00:00
I R R L o a d e r . c p p
I R R L o a d e r . h
I R R M e s h L o a d e r . c p p
I R R M e s h L o a d e r . h
I R R S h a r e d . c p p
I R R S h a r e d . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( Irr FILES ${ Irr_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( LWO_SRCS
2009-04-24 20:53:24 +00:00
L W O A n i m a t i o n . c p p
L W O A n i m a t i o n . h
L W O B L o a d e r . c p p
L W O F i l e D a t a . h
L W O L o a d e r . c p p
L W O L o a d e r . h
L W O M a t e r i a l . c p p
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( LWO FILES ${ LWO_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( LWS_SRCS
2009-04-24 20:53:24 +00:00
L W S L o a d e r . c p p
L W S L o a d e r . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( LWS FILES ${ LWS_SRCS } )
2009-04-24 20:53:24 +00:00
2013-06-13 09:22:23 +00:00
2011-07-15 11:13:42 +00:00
2011-05-30 14:13:33 +00:00
SET ( MD2_SRCS
2009-04-24 20:53:24 +00:00
M D 2 F i l e D a t a . h
M D 2 L o a d e r . c p p
M D 2 L o a d e r . h
M D 2 N o r m a l T a b l e . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( MD2 FILES ${ MD2_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( MD3_SRCS
2009-04-24 20:53:24 +00:00
M D 3 F i l e D a t a . h
M D 3 L o a d e r . c p p
M D 3 L o a d e r . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( MD3 FILES ${ MD3_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( MD5_SRCS
2009-04-24 20:53:24 +00:00
M D 5 L o a d e r . c p p
M D 5 L o a d e r . h
M D 5 P a r s e r . c p p
M D 5 P a r s e r . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( MD5 FILES ${ MD5_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( MDC_SRCS
2009-04-24 20:53:24 +00:00
M D C F i l e D a t a . h
M D C L o a d e r . c p p
M D C L o a d e r . h
M D C N o r m a l T a b l e . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( MDC FILES ${ MDC_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( MDL_SRCS
2009-04-24 20:53:24 +00:00
M D L D e f a u l t C o l o r M a p . h
M D L F i l e D a t a . h
M D L L o a d e r . c p p
M D L L o a d e r . h
M D L M a t e r i a l L o a d e r . c p p
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( MDL FILES ${ MDL_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( MaterialSystem_SRCS
2009-04-24 20:53:24 +00:00
M a t e r i a l S y s t e m . c p p
M a t e r i a l S y s t e m . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( MaterialSystem FILES ${ MaterialSystem_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( NFF_SRCS
2009-04-24 20:53:24 +00:00
N F F L o a d e r . c p p
N F F L o a d e r . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( NFF FILES ${ NFF_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( NDO_SRCS
2010-08-09 08:24:16 +00:00
N D O L o a d e r . c p p
N D O L o a d e r . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( NDO FILES ${ NDO_SRCS } )
2010-08-09 08:24:16 +00:00
2011-05-30 14:13:33 +00:00
SET ( OFFFormat_SRCS
2009-04-24 20:53:24 +00:00
O F F L o a d e r . c p p
O F F L o a d e r . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( OFFFormat FILES ${ OFFFormat_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( Obj_SRCS
2009-04-24 20:53:24 +00:00
O b j F i l e D a t a . h
O b j F i l e I m p o r t e r . c p p
O b j F i l e I m p o r t e r . h
O b j F i l e M t l I m p o r t e r . c p p
O b j F i l e M t l I m p o r t e r . h
O b j F i l e P a r s e r . c p p
O b j F i l e P a r s e r . h
O b j T o o l s . h
2011-07-19 21:41:59 +00:00
O b j E x p o r t e r . h
O b j E x p o r t e r . c p p
2009-04-24 20:53:24 +00:00
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( Obj FILES ${ Obj_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( Ogre_SRCS
2014-05-01 13:49:26 +00:00
O g r e I m p o r t e r . h
O g r e P a r s i n g U t i l s . h
2009-09-05 12:04:32 +00:00
O g r e I m p o r t e r . c p p
2012-03-07 22:42:40 +00:00
O g r e M a t e r i a l . c p p
O g r e M e s h . c p p
O g r e S k e l e t o n . c p p
2009-09-05 12:04:32 +00:00
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( Ogre FILES ${ Ogre_SRCS } )
2009-09-05 12:04:32 +00:00
2011-05-30 14:13:33 +00:00
SET ( Ply_SRCS
2009-04-24 20:53:24 +00:00
P l y L o a d e r . c p p
P l y L o a d e r . h
P l y P a r s e r . c p p
P l y P a r s e r . h
2012-02-16 02:11:29 +00:00
P l y E x p o r t e r . c p p
P l y E x p o r t e r . h
2009-04-24 20:53:24 +00:00
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( Ply FILES ${ Ply_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( MS3D_SRCS
2010-02-07 00:54:48 +00:00
M S 3 D L o a d e r . c p p
M S 3 D L o a d e r . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( MS3D FILES ${ MS3D_SRCS } )
2010-02-07 00:54:48 +00:00
2011-05-30 14:13:33 +00:00
SET ( COB_SRCS
2010-04-02 04:17:05 +00:00
C O B L o a d e r . c p p
C O B L o a d e r . h
C O B S c e n e . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( COB FILES ${ COB_SRCS } )
2010-04-02 04:17:05 +00:00
2011-05-30 14:13:33 +00:00
SET ( BLENDER_SRCS
2010-05-10 10:22:24 +00:00
B l e n d e r L o a d e r . c p p
B l e n d e r L o a d e r . h
B l e n d e r D N A . c p p
B l e n d e r D N A . h
B l e n d e r D N A . i n l
B l e n d e r S c e n e . c p p
B l e n d e r S c e n e . h
B l e n d e r S c e n e G e n . h
2010-07-07 14:50:19 +00:00
B l e n d e r I n t e r m e d i a t e . h
B l e n d e r M o d i f i e r . h
B l e n d e r M o d i f i e r . c p p
2013-11-22 12:57:50 +00:00
B l e n d e r B M e s h . h
B l e n d e r B M e s h . c p p
B l e n d e r T e s s e l l a t o r . h
B l e n d e r T e s s e l l a t o r . c p p
2010-05-10 10:22:24 +00:00
)
2011-06-14 15:58:22 +00:00
SOURCE_GROUP ( BLENDER FILES ${ BLENDER_SRCS } )
2010-05-10 10:22:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( IFC_SRCS
2011-05-06 23:55:38 +00:00
I F C L o a d e r . c p p
I F C L o a d e r . h
I F C R e a d e r G e n . c p p
I F C R e a d e r G e n . h
2011-06-14 15:58:22 +00:00
I F C U t i l . h
I F C U t i l . c p p
I F C G e o m e t r y . c p p
I F C M a t e r i a l . c p p
I F C P r o f i l e . c p p
2011-07-17 01:09:56 +00:00
I F C C u r v e . c p p
2013-02-07 08:51:33 +00:00
I F C B o o l e a n . c p p
I F C O p e n i n g s . c p p
2011-05-06 23:55:38 +00:00
S T E P F i l e . h
S T E P F i l e R e a d e r . h
S T E P F i l e R e a d e r . c p p
2013-01-24 18:51:46 +00:00
S T E P F i l e E n c o d i n g . c p p
S T E P F i l e E n c o d i n g . h
2011-05-06 23:55:38 +00:00
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( IFC FILES ${ IFC_SRCS } )
2011-05-06 23:55:38 +00:00
2012-03-20 16:52:33 +00:00
SET ( XGL_SRCS
X G L L o a d e r . c p p
X G L L o a d e r . h
)
SOURCE_GROUP ( XGL FILES ${ XGL_SRCS } )
2012-06-23 01:38:44 +00:00
SET ( FBX_SRCS
F B X I m p o r t e r . c p p
F B X C o m p i l e C o n f i g . h
F B X I m p o r t e r . h
F B X P a r s e r . c p p
F B X P a r s e r . h
F B X T o k e n i z e r . c p p
F B X T o k e n i z e r . h
2012-06-28 18:03:29 +00:00
F B X I m p o r t S e t t i n g s . h
F B X C o n v e r t e r . h
F B X C o n v e r t e r . c p p
F B X U t i l . h
F B X U t i l . c p p
F B X D o c u m e n t . h
F B X D o c u m e n t . c p p
2012-07-07 19:11:09 +00:00
F B X P r o p e r t i e s . h
F B X P r o p e r t i e s . c p p
F B X M e s h G e o m e t r y . c p p
F B X M a t e r i a l . c p p
F B X M o d e l . c p p
2012-07-20 22:45:37 +00:00
F B X A n i m a t i o n . c p p
2012-07-26 01:42:02 +00:00
F B X N o d e A t t r i b u t e . c p p
2012-07-26 16:05:24 +00:00
F B X D e f o r m e r . c p p
2012-08-09 00:08:12 +00:00
F B X B i n a r y T o k e n i z e r . c p p
2012-08-10 21:02:38 +00:00
F B X D o c u m e n t U t i l . c p p
2012-06-23 01:38:44 +00:00
)
SOURCE_GROUP ( FBX FILES ${ FBX_SRCS } )
2011-05-30 14:13:33 +00:00
SET ( PostProcessing_SRCS
2009-04-24 20:53:24 +00:00
C a l c T a n g e n t s P r o c e s s . c p p
C a l c T a n g e n t s P r o c e s s . h
C o m p u t e U V M a p p i n g P r o c e s s . c p p
C o m p u t e U V M a p p i n g P r o c e s s . h
C o n v e r t T o L H P r o c e s s . c p p
C o n v e r t T o L H P r o c e s s . h
F i n d D e g e n e r a t e s . c p p
F i n d D e g e n e r a t e s . h
F i n d I n s t a n c e s P r o c e s s . c p p
F i n d I n s t a n c e s P r o c e s s . h
F i n d I n v a l i d D a t a P r o c e s s . c p p
F i n d I n v a l i d D a t a P r o c e s s . h
F i x N o r m a l s S t e p . c p p
F i x N o r m a l s S t e p . h
G e n F a c e N o r m a l s P r o c e s s . c p p
G e n F a c e N o r m a l s P r o c e s s . h
G e n V e r t e x N o r m a l s P r o c e s s . c p p
G e n V e r t e x N o r m a l s P r o c e s s . h
P r e t r a n s f o r m V e r t i c e s . c p p
P r e t r a n s f o r m V e r t i c e s . h
I m p r o v e C a c h e L o c a l i t y . c p p
I m p r o v e C a c h e L o c a l i t y . h
J o i n V e r t i c e s P r o c e s s . c p p
J o i n V e r t i c e s P r o c e s s . h
L i m i t B o n e W e i g h t s P r o c e s s . c p p
L i m i t B o n e W e i g h t s P r o c e s s . h
R e m o v e R e d u n d a n t M a t e r i a l s . c p p
R e m o v e R e d u n d a n t M a t e r i a l s . h
R e m o v e V C P r o c e s s . c p p
R e m o v e V C P r o c e s s . h
S o r t B y P T y p e P r o c e s s . c p p
S o r t B y P T y p e P r o c e s s . h
S p l i t L a r g e M e s h e s . c p p
S p l i t L a r g e M e s h e s . h
T e x t u r e T r a n s f o r m . c p p
T e x t u r e T r a n s f o r m . h
T r i a n g u l a t e P r o c e s s . c p p
T r i a n g u l a t e P r o c e s s . h
V a l i d a t e D a t a S t r u c t u r e . c p p
V a l i d a t e D a t a S t r u c t u r e . h
O p t i m i z e G r a p h . c p p
O p t i m i z e G r a p h . h
O p t i m i z e M e s h e s . c p p
O p t i m i z e M e s h e s . h
2011-04-15 15:09:53 +00:00
D e b o n e P r o c e s s . c p p
D e b o n e P r o c e s s . h
P r o c e s s H e l p e r . h
2011-05-13 00:54:53 +00:00
P r o c e s s H e l p e r . c p p
P o l y T o o l s . h
2011-08-04 11:27:13 +00:00
M a k e V e r b o s e F o r m a t . c p p
M a k e V e r b o s e F o r m a t . h
2009-04-24 20:53:24 +00:00
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( PostProcessing FILES ${ PostProcessing_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( Q3D_SRCS
2009-04-24 20:53:24 +00:00
Q 3 D L o a d e r . c p p
Q 3 D L o a d e r . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( Q3D FILES ${ Q3D_SRCS } )
2010-02-27 14:04:14 +00:00
2011-05-30 14:13:33 +00:00
SET ( Q3BSP_SRCS
2010-06-18 17:36:46 +00:00
Q 3 B S P F i l e D a t a . h
Q 3 B S P F i l e P a r s e r . h
Q 3 B S P F i l e P a r s e r . c p p
Q 3 B S P F i l e I m p o r t e r . h
Q 3 B S P F i l e I m p o r t e r . c p p
Q 3 B S P Z i p A r c h i v e . h
Q 3 B S P Z i p A r c h i v e . c p p
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( Q3BSP FILES ${ Q3BSP_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( Raw_SRCS
2009-04-24 20:53:24 +00:00
R a w L o a d e r . c p p
R a w L o a d e r . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( Raw FILES ${ Raw_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( SMD_SRCS
2009-04-24 20:53:24 +00:00
S M D L o a d e r . c p p
S M D L o a d e r . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( SMD FILES ${ SMD_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( STL_SRCS
2009-04-24 20:53:24 +00:00
S T L L o a d e r . c p p
S T L L o a d e r . h
2011-08-04 11:27:13 +00:00
S T L E x p o r t e r . h
S T L E x p o r t e r . c p p
2009-04-24 20:53:24 +00:00
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( STL FILES ${ STL_SRCS } )
2009-04-24 20:53:24 +00:00
2014-01-17 10:24:16 +00:00
SET ( Terragen_SRCS
T e r r a g e n L o a d e r . c p p
T e r r a g e n L o a d e r . h
)
SOURCE_GROUP ( Terragen FILES ${ Terragen_SRCS } )
2011-05-30 14:13:33 +00:00
SET ( Unreal_SRCS
2009-04-24 20:53:24 +00:00
U n r e a l L o a d e r . c p p
U n r e a l L o a d e r . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( Unreal FILES ${ Unreal_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( XFile_SRCS
2009-04-24 20:53:24 +00:00
X F i l e H e l p e r . h
X F i l e I m p o r t e r . c p p
X F i l e I m p o r t e r . h
X F i l e P a r s e r . c p p
X F i l e P a r s e r . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( XFile FILES ${ XFile_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( Exporter_SRCS
2011-03-08 16:15:09 +00:00
E x p o r t e r . c p p
A s s i m p C E x p o r t . c p p
B l o b I O S y s t e m . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( Exporter FILES ${ Exporter_SRCS } )
2011-03-08 16:15:09 +00:00
2011-05-30 14:13:33 +00:00
SET ( Extra_SRCS
2010-04-11 01:41:24 +00:00
M D 4 F i l e D a t a . h
2009-04-24 20:53:24 +00:00
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( Extra FILES ${ Extra_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( IrrXML_SRCS
2009-04-24 20:53:24 +00:00
i r r X M L W r a p p e r . h
. . / c o n t r i b / i r r X M L / C X M L R e a d e r I m p l . h
. . / c o n t r i b / i r r X M L / h e a p s o r t . h
. . / c o n t r i b / i r r X M L / i r r A r r a y . h
. . / c o n t r i b / i r r X M L / i r r S t r i n g . h
. . / c o n t r i b / i r r X M L / i r r T y p e s . h
. . / c o n t r i b / i r r X M L / i r r X M L . c p p
. . / c o n t r i b / i r r X M L / i r r X M L . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( IrrXML FILES ${ IrrXML_SRCS } )
2009-04-24 20:53:24 +00:00
2011-05-30 14:13:33 +00:00
SET ( ConvertUTF_SRCS
2009-08-21 22:49:58 +00:00
. . / c o n t r i b / C o n v e r t U T F / C o n v e r t U T F . h
. . / c o n t r i b / C o n v e r t U T F / C o n v e r t U T F . c
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( ConvertUTF FILES ${ ConvertUTF_SRCS } )
2009-08-21 22:49:58 +00:00
2012-01-17 01:49:17 +00:00
SET ( Clipper_SRCS
. . / c o n t r i b / c l i p p e r / c l i p p e r . h p p
. . / c o n t r i b / c l i p p e r / c l i p p e r . c p p
)
SOURCE_GROUP ( Clipper FILES ${ Clipper_SRCS } )
SET ( Poly2Tri_SRCS
. . / c o n t r i b / p o l y 2 t r i / p o l y 2 t r i / c o m m o n / s h a p e s . c c
. . / c o n t r i b / p o l y 2 t r i / p o l y 2 t r i / c o m m o n / s h a p e s . h
. . / c o n t r i b / p o l y 2 t r i / p o l y 2 t r i / c o m m o n / u t i l s . h
. . / c o n t r i b / p o l y 2 t r i / p o l y 2 t r i / s w e e p / a d v a n c i n g _ f r o n t . h
. . / c o n t r i b / p o l y 2 t r i / p o l y 2 t r i / s w e e p / a d v a n c i n g _ f r o n t . c c
. . / c o n t r i b / p o l y 2 t r i / p o l y 2 t r i / s w e e p / c d t . c c
. . / c o n t r i b / p o l y 2 t r i / p o l y 2 t r i / s w e e p / c d t . h
. . / c o n t r i b / p o l y 2 t r i / p o l y 2 t r i / s w e e p / s w e e p . c c
. . / c o n t r i b / p o l y 2 t r i / p o l y 2 t r i / s w e e p / s w e e p . h
. . / c o n t r i b / p o l y 2 t r i / p o l y 2 t r i / s w e e p / s w e e p _ c o n t e x t . c c
. . / c o n t r i b / p o l y 2 t r i / p o l y 2 t r i / s w e e p / s w e e p _ c o n t e x t . h
)
SOURCE_GROUP ( Poly2Tri FILES ${ Poly2Tri_SRCS } )
2011-05-30 14:13:33 +00:00
SET ( unzip_SRCS
2010-06-18 17:36:46 +00:00
. . / c o n t r i b / u n z i p / c r y p t . h
. . / c o n t r i b / u n z i p / i o a p i . c
. . / c o n t r i b / u n z i p / i o a p i . h
. . / c o n t r i b / u n z i p / u n z i p . c
. . / c o n t r i b / u n z i p / u n z i p . h
)
2011-05-30 14:13:33 +00:00
SOURCE_GROUP ( unzip FILES ${ unzip_SRCS } )
2010-06-18 17:36:46 +00:00
2012-01-25 18:42:14 +00:00
# VC2010 fixes
2012-07-17 22:56:15 +00:00
if ( MSVC10 )
OPTION ( VC10_STDINT_FIX "Fix for VC10 Compiler regarding pstdint.h redefinition errors" OFF )
if ( VC10_STDINT_FIX )
ADD_DEFINITIONS ( -D_STDINT )
endif ( VC10_STDINT_FIX )
endif ( MSVC10 )
2012-01-25 18:42:14 +00:00
2011-05-09 19:34:21 +00:00
ADD_DEFINITIONS ( -DASSIMP_BUILD_DLL_EXPORT )
2012-07-17 22:56:15 +00:00
if ( MSVC )
2011-05-09 19:34:21 +00:00
ADD_DEFINITIONS ( -D_SCL_SECURE_NO_WARNINGS )
ADD_DEFINITIONS ( -D_CRT_SECURE_NO_WARNINGS )
2012-07-17 22:56:15 +00:00
endif ( MSVC )
2011-05-09 19:34:21 +00:00
2011-05-30 14:13:33 +00:00
if ( UNZIP_FOUND )
SET ( unzip_compile_SRCS "" )
else ( UNZIP_FOUND )
SET ( unzip_compile_SRCS ${ unzip_SRCS } )
endif ( UNZIP_FOUND )
2010-03-03 21:46:56 +00:00
2013-04-20 21:15:59 +00:00
SET ( assimp_src
2011-11-24 10:59:09 +00:00
# Assimp Files
$ { C o r e _ S R C S }
$ { C o m m o n _ S R C S }
$ { L o g g i n g _ S R C S }
$ { E x p o r t e r _ S R C S }
$ { P o s t P r o c e s s i n g _ S R C S }
# Model Support
$ { 3 D S _ S R C S }
$ { A C _ S R C S }
$ { A S E _ S R C S }
$ { B 3 D _ S R C S }
$ { B V H _ S R C S }
$ { C o l l a d a _ S R C S }
$ { D X F _ S R C S }
$ { C S M _ S R C S }
$ { H M P _ S R C S }
$ { I r r _ S R C S }
$ { L W O _ S R C S }
$ { L W S _ S R C S }
$ { M D 2 _ S R C S }
$ { M D 3 _ S R C S }
$ { M D 5 _ S R C S }
$ { M D C _ S R C S }
$ { M D L _ S R C S }
$ { M a t e r i a l S y s t e m _ S R C S }
$ { N F F _ S R C S }
$ { O F F F o r m a t _ S R C S }
$ { O b j _ S R C S }
$ { O g r e _ S R C S }
$ { P l y _ S R C S }
$ { Q 3 D _ S R C S }
$ { Q 3 B S P _ S R C S }
$ { R a w _ S R C S }
$ { S M D _ S R C S }
$ { S T L _ S R C S }
2014-01-17 10:24:16 +00:00
$ { T e r r a g e n _ S R C S }
2011-11-24 10:59:09 +00:00
$ { U n r e a l _ S R C S }
$ { X F i l e _ S R C S }
$ { E x t r a _ S R C S }
$ { M S 3 D _ S R C S }
$ { C O B _ S R C S }
$ { B L E N D E R _ S R C S }
$ { N D O _ S R C S }
$ { I F C _ S R C S }
2012-03-20 16:52:33 +00:00
$ { X G L _ S R C S }
2012-06-23 01:38:44 +00:00
$ { F B X _ S R C S }
2011-11-24 10:59:09 +00:00
# Third-party libraries
$ { I r r X M L _ S R C S }
$ { C o n v e r t U T F _ S R C S }
$ { u n z i p _ c o m p i l e _ S R C S }
2012-01-17 01:49:17 +00:00
$ { P o l y 2 T r i _ S R C S }
$ { C l i p p e r _ S R C S }
2011-11-24 10:59:09 +00:00
# Necessary to show the headers in the project when using the VC++ generator:
$ { B o o s t _ S R C S }
$ { P U B L I C _ H E A D E R S }
$ { C O M P I L E R _ H E A D E R S }
2013-11-08 09:20:50 +00:00
# Old precompiled header
# (removed because the precompiled header is not updated when visual studio switch configuration which leads to failed compilation.
# Moreover it's a drag to recompile assimp entirely each time a modification is made to one of the included header, which is definitely counter-productive.)
A s s i m p P C H . c p p
2011-11-24 10:59:09 +00:00
)
2013-04-20 21:15:59 +00:00
2013-11-08 09:20:50 +00:00
#ADD_MSVC_PRECOMPILED_HEADER("AssimpPCH.h" "AssimpPCH.cpp" assimp_src)
2013-04-20 21:15:59 +00:00
2014-04-21 19:36:33 +00:00
ADD_LIBRARY ( assimp ${ assimp_src } )
2009-04-24 20:53:24 +00:00
2012-07-17 22:56:15 +00:00
SET_PROPERTY ( TARGET assimp PROPERTY DEBUG_POSTFIX ${ ASSIMP_DEBUG_POSTFIX } )
2012-02-18 10:55:47 +00:00
2011-05-09 19:34:21 +00:00
TARGET_LINK_LIBRARIES ( assimp ${ ZLIB_LIBRARIES } )
2010-02-27 12:00:00 +00:00
SET_TARGET_PROPERTIES ( assimp PROPERTIES
2012-06-05 19:30:45 +00:00
V E R S I O N $ { A S S I M P _ V E R S I O N }
2012-06-11 11:49:08 +00:00
S O V E R S I O N $ { A S S I M P _ S O V E R S I O N } # use full version
2013-02-26 05:02:35 +00:00
O U T P U T _ N A M E a s s i m p $ { A S S I M P _ L I B R A R Y _ S U F F I X }
2010-02-27 12:00:00 +00:00
)
2014-03-05 23:06:19 +00:00
if ( APPLE )
SET_TARGET_PROPERTIES ( assimp PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${LIB_INSTALL_DIR}" )
endif ( )
2011-05-30 14:13:33 +00:00
# Build against external unzip, or add ../contrib/unzip so
# assimp can #include "unzip.h"
if ( UNZIP_FOUND )
INCLUDE_DIRECTORIES ( ${ UNZIP_INCLUDE_DIRS } )
TARGET_LINK_LIBRARIES ( assimp ${ UNZIP_LIBRARIES } )
else ( UNZIP_FOUND )
INCLUDE_DIRECTORIES ( "../contrib/unzip" )
endif ( UNZIP_FOUND )
2010-02-27 12:00:00 +00:00
2014-04-21 19:36:33 +00:00
INSTALL ( TARGETS assimp
L I B R A R Y D E S T I N A T I O N $ { A S S I M P _ L I B _ I N S T A L L _ D I R }
A R C H I V E D E S T I N A T I O N $ { A S S I M P _ L I B _ I N S T A L L _ D I R }
R U N T I M E D E S T I N A T I O N $ { A S S I M P _ B I N _ I N S T A L L _ D I R }
C O M P O N E N T $ { L I B A S S I M P _ C O M P O N E N T } )
2012-07-17 22:56:15 +00:00
INSTALL ( FILES ${ PUBLIC_HEADERS } DESTINATION ${ ASSIMP_INCLUDE_INSTALL_DIR } /assimp COMPONENT assimp-dev )
INSTALL ( FILES ${ COMPILER_HEADERS } DESTINATION ${ ASSIMP_INCLUDE_INSTALL_DIR } /assimp/Compiler COMPONENT assimp-dev )
if ( MSVC AND ASSIMP_INSTALL_PDB )
install ( FILES ${ Assimp_BINARY_DIR } /code/Debug/assimp ${ ASSIMP_DEBUG_POSTFIX } .pdb
D E S T I N A T I O N $ { A S S I M P _ L I B _ I N S T A L L _ D I R }
C O N F I G U R A T I O N S D e b u g
)
install ( FILES ${ Assimp_BINARY_DIR } /code/RelWithDebInfo/assimp.pdb
D E S T I N A T I O N $ { A S S I M P _ L I B _ I N S T A L L _ D I R }
C O N F I G U R A T I O N S R e l W i t h D e b I n f o
)
2014-04-21 19:36:33 +00:00
endif ( )