@ -19,14 +19,6 @@ set( libSources
J o b Q u e u e . c p p
P r o c e s s J o b . c p p
)
include_directories (
$ { C M A K E _ C U R R E N T _ B I N A R Y _ D I R }
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R }
)
# B u i l d s u b d i r s a s t h e i r o w n s e p a r a t e O B J E C T l i b r a r i e s ,
# t o a l l o w c h a n g i n g c o m p i l e r w a r n i n g s o n t h e i r c o d e .
set ( utilsSources
u t i l s / C a l a m a r e s U t i l s . c p p
u t i l s / C a l a m a r e s U t i l s S y s t e m . c p p
@ -34,26 +26,19 @@ set( utilsSources
u t i l s / P l u g i n F a c t o r y . c p p
u t i l s / R e t r a n s l a t o r . c p p
)
add_library ( utilsLib OBJECT ${ utilsSources } )
target_compile_options ( utilsLib PUBLIC -fPIC )
target_include_directories ( utilsLib PUBLIC
$ < T A R G E T _ P R O P E R T Y : Q t 5 : : C o r e , I N T E R F A C E _ I N C L U D E _ D I R E C T O R I E S >
)
set_target_properties ( utilsLib PROPERTIES AUTOMOC TRUE )
set ( kdsagSources
k d s i n g l e a p p l i c a t i o n g u a r d / k d s i n g l e a p p l i c a t i o n g u a r d . c p p
k d s i n g l e a p p l i c a t i o n g u a r d / k d s h a r e d m e m o r y l o c k e r . c p p
k d s i n g l e a p p l i c a t i o n g u a r d / k d t o o l s g l o b a l . c p p
k d s i n g l e a p p l i c a t i o n g u a r d / k d l o c k e d s h a r e d m e m o r y p o i n t e r . c p p
)
add_library ( kdsagLib OBJECT ${ kdsagSources } )
target_compile_options ( kdsagLib PUBLIC -fPIC )
target_include_directories ( kdsagLib PUBLIC
$ < T A R G E T _ P R O P E R T Y : Q t 5 : : C o r e , I N T E R F A C E _ I N C L U D E _ D I R E C T O R I E S >
)
set_target_properties ( kdsagLib PROPERTIES AUTOMOC TRUE )
set_source_files_properties ( ${ kdsagSources }
P R O P E R T I E S C O M P I L E _ F L A G S " $ { S U P P R E S S _ 3 R D P A R T Y _ W A R N I N G S } " )
include_directories (
$ { C M A K E _ C U R R E N T _ B I N A R Y _ D I R }
$ { C M A K E _ C U R R E N T _ S O U R C E _ D I R }
)
if ( WITH_PYTHON )
set ( libSources
@ -91,10 +76,7 @@ if( WITH_PYTHONQT )
endif ( )
add_library ( calamares SHARED ${ libSources }
$ < T A R G E T _ O B J E C T S : k d s a g L i b >
$ < T A R G E T _ O B J E C T S : u t i l s L i b >
)
add_library ( calamares SHARED ${ libSources } ${ kdsagSources } ${ utilsSources } )
set_target_properties ( calamares
P R O P E R T I E S
A U T O M O C T R U E