@ -158,22 +158,28 @@ tde_add_library( ${target} SHARED AUTOMOC
)
# # # # # korganizer ( shared ) # # # # # # # # # # # # # # # # # # # # # # #
# # # # # h e l p e r # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
macro ( process_kcfg _who _out _path _kcfg _kcfgc )
add_custom_command ( OUTPUT ${ CMAKE_CURRENT_BINARY_DIR } / ${ _path } / ${ _out }
C O M M A N D
m k d i r - p $ { C M A K E _ C U R R E N T _ B I N A R Y _ D I R } / $ { _ p a t h }
C O M M A N D $ { K D E 3 _ K C F G C _ E X E C U T A B L E }
- d $ { C M A K E _ C U R R E N T _ B I N A R Y _ D I R } / $ { _ p a t h }
$ { C M A K E _ S O U R C E _ D I R } / $ { _ p a t h } / $ { _ k c f g }
$ { C M A K E _ S O U R C E _ D I R } / $ { _ p a t h } / $ { _ k c f g c }
D E P E N D S
$ { C M A K E _ S O U R C E _ D I R } / $ { _ p a t h } / $ { _ k c f g }
$ { C M A K E _ S O U R C E _ D I R } / $ { _ p a t h } / $ { _ k c f g c } )
set_property ( SOURCE ${ _who } APPEND
P R O P E R T Y O B J E C T _ D E P E N D S $ { C M A K E _ C U R R E N T _ B I N A R Y _ D I R } / $ { _ p a t h } / $ { _ o u t } )
endmacro ( )
add_custom_command ( OUTPUT ${ CMAKE_CURRENT_BINARY_DIR } /libkcal/htmlexportsettings.h
C O M M A N D
m k d i r - p $ { C M A K E _ C U R R E N T _ B I N A R Y _ D I R } / l i b k c a l
C O M M A N D $ { K D E 3 _ K C F G C _ E X E C U T A B L E }
- d $ { C M A K E _ C U R R E N T _ B I N A R Y _ D I R } / l i b k c a l
$ { C M A K E _ S O U R C E _ D I R } / l i b k c a l / h t m l e x p o r t s e t t i n g s . k c f g
$ { C M A K E _ S O U R C E _ D I R } / l i b k c a l / h t m l e x p o r t s e t t i n g s . k c f g c
D E P E N D S
$ { C M A K E _ S O U R C E _ D I R } / l i b k c a l / h t m l e x p o r t s e t t i n g s . k c f g
$ { C M A K E _ S O U R C E _ D I R } / l i b k c a l / h t m l e x p o r t s e t t i n g s . k c f g c
)
set_source_files_properties ( calendarview.cpp
P R O P E R T I E S O B J E C T _ D E P E N D S $ { C M A K E _ C U R R E N T _ B I N A R Y _ D I R } / l i b k c a l / h t m l e x p o r t s e t t i n g s . h )
# # # # # korganizer ( shared ) # # # # # # # # # # # # # # # # # # # # # # #
process_kcfg ( calendarview.cpp htmlexportsettings.h libkcal
h t m l e x p o r t s e t t i n g s . k c f g h t m l e x p o r t s e t t i n g s . k c f g c )
tde_add_library ( korganizer SHARED AUTOMOC
M E T A _ I N C L U D E S $ { C M A K E _ C U R R E N T _ S O U R C E _ D I R } / i n t e r f a c e s / k o r g a n i z e r