@ -32,6 +32,11 @@ add_component_dir (settings
s e t t i n g s p a r s e r
)
# S t a r t o f t e s 3 m p c h a n g e
#
# D o n ' t i n c l u d e c e r t a i n c o m p o n e n t s i n s e r v e r - o n l y b u i l d s
IF ( BUILD_OPENMW OR BUILD_OPENCS )
# E n d o f t e s 3 m p c h a n g e
add_component_dir ( bsa
b s a _ f i l e c o m p r e s s e d b s a f i l e m e m o r y s t r e a m
)
@ -39,8 +44,7 @@ add_component_dir (bsa
add_component_dir ( vfs
m a n a g e r a r c h i v e b s a a r c h i v e f i l e s y s t e m a r c h i v e r e g i s t e r a r c h i v e s
)
IF ( BUILD_OPENMW OR BUILD_OPENCS )
add_component_dir ( resource
s c e n e m a n a g e r k e y f r a m e m a n a g e r i m a g e m a n a g e r b u l l e t s h a p e m a n a g e r b u l l e t s h a p e n i f f i l e m a n a g e r o b j e c t c a c h e m u l t i o b j e c t c a c h e r e s o u r c e s y s t e m
r e s o u r c e m a n a g e r s t a t s a n i m a t i o n
@ -67,7 +71,11 @@ add_component_dir (nifosg
add_component_dir ( nifbullet
b u l l e t n i f l o a d e r
)
ENDIF ( BUILD_OPENMW OR BUILD_OPENCS )
# S t a r t o f t e s 3 m p c h a n g e
#
# D o n ' t i n c l u d e c e r t a i n c o m p o n e n t s i n s e r v e r - o n l y b u i l d s
ENDIF ( BUILD_OPENMW OR BUILD_OPENCS )
# E n d o f t e s 3 m p c h a n g e
add_component_dir ( to_utf8
t o _ u t f 8
@ -84,9 +92,19 @@ add_component_dir (esm
a i s e q u e n c e m a g i c e f f e c t s u t i l c u s t o m m a r k e r s t a t e s t o l e n i t e m s t r a n s p o r t a n i m a t i o n s t a t e c o n t r o l s s t a t e m a p p i n g s
)
# S t a r t o f t e s 3 m p c h a n g e
#
# D o n ' t i n c l u d e c e r t a i n c o m p o n e n t s i n s e r v e r - o n l y b u i l d s
IF ( BUILD_OPENMW OR BUILD_OPENCS )
# E n d o f t e s 3 m p c h a n g e
add_component_dir ( esmterrain
s t o r a g e
)
# S t a r t o f t e s 3 m p c h a n g e
#
# D o n ' t i n c l u d e c e r t a i n c o m p o n e n t s i n s e r v e r - o n l y b u i l d s
ENDIF ( BUILD_OPENMW OR BUILD_OPENCS )
# E n d o f t e s 3 m p c h a n g e
add_component_dir ( misc
c o n s t a n t s u t f 8 s t r e a m s t r i n g o p s r e s o u r c e h e l p e r s r n g m e s s a g e f o r m a t p a r s e r w e a k c a c h e t h r e a d
@ -100,6 +118,7 @@ IF(NOT WIN32 AND NOT APPLE)
add_definitions ( -DGLOBAL_DATA_PATH= "${GLOBAL_DATA_PATH}" )
add_definitions ( -DGLOBAL_CONFIG_PATH= "${GLOBAL_CONFIG_PATH}" )
ENDIF ( )
add_component_dir ( files
l i n u x p a t h a n d r o i d p a t h w i n d o w s p a t h m a c o s p a t h f i x e d p a t h m u l t i d i r c o l l e c t i o n c o l l e c t i o n s c o n f i g u r a t i o n m a n a g e r e s c a p e
l o w l e v e l f i l e c o n s t r a i n e d f i l e s t r e a m m e m o r y s t r e a m
@ -121,6 +140,11 @@ add_component_dir (translation
t r a n s l a t i o n
)
# S t a r t o f t e s 3 m p a d d i t i o n
#
# D o n ' t i n c l u d e c e r t a i n c o m p o n e n t s i n s e r v e r - o n l y b u i l d s
IF ( BUILD_OPENMW OR BUILD_OPENCS )
# E n d o f t e s 3 m p c h a n g e
add_component_dir ( terrain
s t o r a g e w o r l d b u f f e r c a c h e d e f s t e r r a i n g r i d m a t e r i a l t e r r a i n d r a w a b l e t e x t u r e m a n a g e r c h u n k m a n a g e r c o m p o s i t e m a p r e n d e r e r q u a d t r e e w o r l d q u a d t r e e n o d e v i e w d a t a c e l l b o r d e r
)
@ -128,8 +152,7 @@ add_component_dir (terrain
add_component_dir ( loadinglistener
l o a d i n g l i s t e n e r
)
IF ( BUILD_OPENMW OR BUILD_OPENCS )
add_component_dir ( myguiplatform
m y g u i r e n d e r m a n a g e r m y g u i d a t a m a n a g e r m y g u i p l a t f o r m m y g u i t e x t u r e m y g u i l o g l i s t e n e r a d d i t i v e l a y e r s c a l i n g l a y e r
)
@ -145,7 +168,11 @@ add_component_dir (fontloader
add_component_dir ( sdlutil
g l 4 e s _ i n i t s d l g r a p h i c s w i n d o w i m a g e t o s u r f a c e s d l i n p u t w r a p p e r s d l v i d e o w r a p p e r e v e n t s s d l c u r s o r m a n a g e r
)
ENDIF ( BUILD_OPENMW OR BUILD_OPENCS )
# S t a r t o f t e s 3 m p c h a n g e
#
# D o n ' t i n c l u d e c e r t a i n c o m p o n e n t s i n s e r v e r - o n l y b u i l d s
ENDIF ( BUILD_OPENMW OR BUILD_OPENCS )
# E n d o f t e s 3 m p c h a n g e
add_component_dir ( version
v e r s i o n
@ -228,7 +255,7 @@ add_component_dir (fallback
#
# D o n ' t r e q u i r e t h e c r a s h c a t c h e r w h e n b u i l d i n g o n p l a t f o r m s o t h e r t h a n W i n d o w s o r w h e n b u i l d i n g o n l y t h e s e r v e r ,
# a s i t c a u s e s c o m p i l a t i o n p r o b l e m s
if ( BUILD_OPENMW OR BUILD_OPENCS )
IF ( BUILD_OPENMW OR BUILD_OPENCS )
if ( WIN32 )
add_component_dir ( crashcatcher
w i n d o w s _ c r a s h c a t c h e r
@ -236,13 +263,13 @@ if (BUILD_OPENMW OR BUILD_OPENCS)
w i n d o w s _ c r a s h s h m
)
endif ( )
endif( )
ENDIF ( BUILD_OPENMW OR BUILD_OPENCS )
# E n d o f t e s 3 m p change ( major )
# S t a r t o f t e s 3 m p change ( major )
#
# D o n ' t r e q u i r e t h e D e t o u r N a v i g a t o r w h e n b u i l d i n g t h e s e r v e r
if ( BUILD_OPENMW OR BUILD_OPENCS )
IF ( BUILD_OPENMW OR BUILD_OPENCS )
add_component_dir ( detournavigator
d e b u g
m a k e n a v m e s h
@ -265,7 +292,7 @@ if (BUILD_OPENMW OR BUILD_OPENCS)
o s c i l l a t i n g r e c a s t m e s h o b j e c t
o f f m e s h c o n n e c t i o n s m a n a g e r
)
endif( )
ENDIF ( BUILD_OPENMW OR BUILD_OPENCS )
# E n d o f t e s 3 m p change ( major )
set ( ESM_UI ${ CMAKE_SOURCE_DIR } /files/ui/contentselector.ui
@ -274,7 +301,8 @@ set (ESM_UI ${CMAKE_SOURCE_DIR}/files/ui/contentselector.ui
# S t a r t o f t e s 3 m p change ( major )
#
# D o n ' t r e q u i r e Q t w h e n b u i l d i n g t h e s e r v e r
if ( BUILD_OPENMW OR BUILD_OPENCS )
IF ( BUILD_OPENMW OR BUILD_OPENCS )
# E n d o f t e s 3 m p c h a n g e
if ( USE_QT )
add_component_qt_dir ( contentselector
m o d e l / m o d e l i t e m m o d e l / e s m f i l e
@ -299,8 +327,11 @@ if (USE_QT)
QT5_WRAP_UI ( ESM_UI_HDR ${ ESM_UI } )
QT5_WRAP_CPP ( MOC_SRCS ${ COMPONENT_MOC_FILES } )
endif ( )
endif ( BUILD_OPENMW OR BUILD_OPENCS )
# E n d o f t e s 3 m p change ( major )
# S t a r t o f t e s 3 m p change ( major )
#
# D o n ' t r e q u i r e Q t w h e n b u i l d i n g t h e s e r v e r
ENDIF ( BUILD_OPENMW OR BUILD_OPENCS )
# E n d o f t e s 3 m p c h a n g e
if ( CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
if ( "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64" AND NOT APPLE )
@ -314,8 +345,8 @@ add_library(components STATIC ${COMPONENT_FILES} ${MOC_SRCS} ${ESM_UI_HDR})
# S t a r t o f t e s 3 m p change ( major )
#
# D o n ' t r e q u i r e OS G w h e n b u i l d i n g t h e s e r v e r
if ( BUILD_OPENMW OR BUILD_OPENCS )
# D o n ' t r e q u i r e gr a p h i c s r e l a t e d l i b s w h e n b u i l d i n g t h e s e r v e r
IF ( BUILD_OPENMW OR BUILD_OPENCS )
target_link_libraries ( components
# C M a k e ' s b u i l t - i n O S G f i n d e r d o e s n o t u s e p k g c o n f i g , s o w e h a v e t o
# m a n u a l l y e n s u r e t h e o r d e r i s c o r r e c t f o r i n t e r - l i b r a r y d e p e n d e n c i e s .
@ -332,32 +363,33 @@ target_link_libraries(components
$ { O S G _ L I B R A R I E S }
$ { O P E N T H R E A D S _ L I B R A R I E S }
$ { B o o s t _ S Y S T E M _ L I B R A R Y }
$ { B o o s t _ F I L E S Y S T E M _ L I B R A R Y }
$ { B o o s t _ P R O G R A M _ O P T I O N S _ L I B R A R Y }
$ { B o o s t _ I O S T R E A M S _ L I B R A R Y }
$ { S D L 2 _ L I B R A R I E S }
$ { O P E N G L _ g l _ L I B R A R Y }
$ { M y G U I _ L I B R A R I E S }
L Z 4 : : L Z 4
)
endif ( )
ENDIF ( BUILD_OPENMW OR BUILD_OPENCS )
target_link_libraries ( components
$ { B o o s t _ S Y S T E M _ L I B R A R Y }
$ { B o o s t _ F I L E S Y S T E M _ L I B R A R Y }
$ { B o o s t _ P R O G R A M _ O P T I O N S _ L I B R A R Y }
$ { B o o s t _ I O S T R E A M S _ L I B R A R Y }
)
# E n d o f t e s 3 m p change ( major )
# S t a r t o f t e s 3 m p change ( major )
#
# D o n ' t r e q u i r e R e c a s t N a v i g a t i o n , B a s e 6 4 o r B u l l e t w h e n b u i l d i n g t h e s e r v e r
if ( BUILD_OPENMW OR BUILD_OPENCS )
# D o n ' t r e q u i r e R e c a s t N a v i g a t i o n n o r B u l l e t w h e n b u i l d i n g t h e s e r v e r
IF ( BUILD_OPENMW OR BUILD_OPENCS )
target_link_libraries ( components
R e c a s t N a v i g a t i o n : : D e b u g U t i l s
R e c a s t N a v i g a t i o n : : D e t o u r
R e c a s t N a v i g a t i o n : : R e c a s t
B a s e 6 4
$ { B U L L E T _ L I B R A R I E S }
)
endif ( )
ENDIF ( BUILD_OPENMW OR BUILD_OPENCS )
target_link_libraries ( components Base64 )
# E n d o f t e s 3 m p change ( major )
if ( WIN32 )
@ -369,12 +401,16 @@ endif()
# S t a r t o f t e s 3 m p change ( major )
#
# D o n ' t r e q u i r e Q t w h e n b u i l d i n g t h e s e r v e r
IF ( BUILD_OPENMW OR BUILD_OPENCS )
# E n d o f t e s 3 m p c h a n g e
if ( USE_QT )
if ( BUILD_OPENMW OR BUILD_OPENCS )
target_link_libraries ( components Qt5::Widgets Qt5::Core )
endif ( )
endif ( )
# E n d o f t e s 3 m p change ( major )
# S t a r t o f t e s 3 m p change ( major )
#
# D o n ' t r e q u i r e Q t w h e n b u i l d i n g t h e s e r v e r
ENDIF ( BUILD_OPENMW OR BUILD_OPENCS )
# E n d o f t e s 3 m p c h a n g e
if ( GIT_CHECKOUT )
add_dependencies ( components git-version )