2016-06-03 13:56:21 -05:00
# 3 june 2016
list ( APPEND _LIBUI_SOURCES
w i n d o w s / a l l o c . c p p
w i n d o w s / a r e a . c p p
w i n d o w s / a r e a d r a w . c p p
w i n d o w s / a r e a e v e n t s . c p p
w i n d o w s / a r e a s c r o l l . c p p
w i n d o w s / a r e a u t i l . c p p
2017-02-22 11:49:55 -06:00
w i n d o w s / a t t r s t r . c p p
2016-06-03 13:56:21 -05:00
w i n d o w s / b o x . c p p
w i n d o w s / b u t t o n . c p p
w i n d o w s / c h e c k b o x . c p p
w i n d o w s / c o l o r b u t t o n . c p p
w i n d o w s / c o l o r d i a l o g . c p p
w i n d o w s / c o m b o b o x . c p p
w i n d o w s / c o n t a i n e r . c p p
w i n d o w s / c o n t r o l . c p p
w i n d o w s / d 2 d s c r a t c h . c p p
w i n d o w s / d a t e t i m e p i c k e r . c p p
w i n d o w s / d e b u g . c p p
w i n d o w s / d r a w . c p p
w i n d o w s / d r a w m a t r i x . c p p
w i n d o w s / d r a w p a t h . c p p
w i n d o w s / d r a w t e x t . c p p
w i n d o w s / d w r i t e . c p p
w i n d o w s / e d i t a b l e c o m b o . c p p
w i n d o w s / e n t r y . c p p
w i n d o w s / e v e n t s . c p p
2017-02-11 15:55:30 -06:00
w i n d o w s / f o n t b u t t o n . c p p
w i n d o w s / f o n t d i a l o g . c p p
2018-03-17 13:50:10 -05:00
w i n d o w s / f o n t m a t c h . c p p
2016-06-08 22:33:32 -05:00
w i n d o w s / f o r m . c p p
2016-06-03 13:56:21 -05:00
w i n d o w s / g r a p h e m e s . c p p
2016-06-10 18:34:48 -05:00
w i n d o w s / g r i d . c p p
2016-06-03 13:56:21 -05:00
w i n d o w s / g r o u p . c p p
w i n d o w s / i n i t . c p p
w i n d o w s / l a b e l . c p p
w i n d o w s / m a i n . c p p
w i n d o w s / m e n u . c p p
w i n d o w s / m u l t i l i n e e n t r y . c p p
2017-05-17 14:57:39 -05:00
w i n d o w s / o p e n t y p e . c p p
2016-06-03 13:56:21 -05:00
w i n d o w s / p a r e n t . c p p
w i n d o w s / p r o g r e s s b a r . c p p
w i n d o w s / r a d i o b u t t o n s . c p p
w i n d o w s / s e p a r a t o r . c p p
w i n d o w s / s i z i n g . c p p
w i n d o w s / s l i d e r . c p p
w i n d o w s / s p i n b o x . c p p
w i n d o w s / s t d d i a l o g s . c p p
w i n d o w s / t a b . c p p
w i n d o w s / t a b p a g e . c p p
w i n d o w s / t e x t . c p p
w i n d o w s / u t f 1 6 . c p p
w i n d o w s / u t i l w i n . c p p
w i n d o w s / w i n d o w . c p p
w i n d o w s / w i n p u b l i c . c p p
w i n d o w s / w i n u t i l . c p p
)
2018-05-02 22:04:43 -05:00
# resources.rc only contains the libui manifest.
# For a DLL, we have to include this directly, so we do so.
# Windows won't link resources in static libraries, so including this would have no effect.
# In those cases, we just need them to include the manifest with the executable (or link it directly into the output executable themselves); they can also customize the manifest as they see fit (assuming nothing breaks in the process).
# TODO make sure this gets added to both binary-only archives and install rules in this case
if ( BUILD_SHARED_LIBS )
list ( APPEND _LIBUI_SOURCES
w i n d o w s / r e s o u r c e s . r c
)
endif ( )
2016-06-03 13:56:21 -05:00
set ( _LIBUI_SOURCES ${ _LIBUI_SOURCES } PARENT_SCOPE )
list ( APPEND _LIBUI_INCLUDEDIRS
w i n d o w s
)
set ( _LIBUI_INCLUDEDIRS _LIBUI_INCLUDEDIRS PARENT_SCOPE )
# TODO prune this list
set ( _LIBUI_LIBS
2017-02-10 21:22:47 -06:00
u s e r 3 2 k e r n e l 3 2 g d i 3 2 c o m c t l 3 2 u x t h e m e m s i m g 3 2 c o m d l g 3 2 d 2 d 1 d w r i t e o l e 3 2 o l e a u t 3 2 o l e a c c u u i d
2016-06-03 13:56:21 -05:00
P A R E N T _ S C O P E )
if ( NOT MSVC )
if ( BUILD_SHARED_LIBS )
message ( FATAL_ERROR
" S o r r y , b u t l i b u i f o r W i n d o w s c a n c u r r e n t l y o n l y b e b u i l t a s a s t a t i c l i b r a r y w i t h M i n G W . Y o u w i l l n e e d t o e i t h e r b u i l d a s a s t a t i c l i b r a r y o r s w i t c h t o MSVC . "
)
endif ( )
endif ( )