2014-01-07 11:57:25 +01:00
#------------------------------------------------------------------------------
# CLING - the C++ LLVM-based InterpreterG :)
#
# This file is dual-licensed: you can choose to license it under the University
# of Illinois Open Source License or the GNU Lesser General Public License. See
# LICENSE.TXT for details.
#------------------------------------------------------------------------------
2016-07-19 17:45:09 +02:00
set ( LLVM_LINK_COMPONENTS
s u p p o r t
)
2015-04-01 09:47:43 +02:00
if ( NOT EXISTS ${ CMAKE_CURRENT_SOURCE_DIR } /textinput )
2015-03-13 18:25:21 +01:00
set ( TEXTINPUTSRC ${ CMAKE_SOURCE_DIR } /core/textinput/src/ )
include_directories ( ${ TEXTINPUTSRC } )
2016-10-13 18:10:21 +02:00
else ( )
# For cling, install textinput *.h in include/cling/UserInterface/textinput.
install ( DIRECTORY ${ TEXTINPUTSRC } textinput
2016-10-13 18:36:27 +02:00
D E S T I N A T I O N i n c l u d e / c l i n g / U s e r I n t e r f a c e
2016-10-13 18:10:21 +02:00
F I L E S _ M A T C H I N G
P A T T E R N " C M a k e F i l e s " E X C L U D E
P A T T E R N " * . c p p " E X C L U D E
2016-10-13 18:36:27 +02:00
P A T T E R N " d o c " E X C L U D E
2016-10-13 18:10:21 +02:00
P A T T E R N " * . h "
)
2015-03-13 18:25:21 +01:00
endif ( )
2012-09-05 09:37:39 +00:00
add_cling_library ( clingUserInterface
U s e r I n t e r f a c e . c p p
2015-03-13 18:25:21 +01:00
$ { T E X T I N P U T S R C } t e x t i n p u t / E d i t o r . c p p
$ { T E X T I N P U T S R C } t e x t i n p u t / H i s t o r y . c p p
$ { T E X T I N P U T S R C } t e x t i n p u t / K e y B i n d i n g . c p p
$ { T E X T I N P U T S R C } t e x t i n p u t / R a n g e . c p p
$ { T E X T I N P U T S R C } t e x t i n p u t / S i g n a l H a n d l e r . c p p
$ { T E X T I N P U T S R C } t e x t i n p u t / S t r e a m R e a d e r . c p p
$ { T E X T I N P U T S R C } t e x t i n p u t / S t r e a m R e a d e r U n i x . c p p
$ { T E X T I N P U T S R C } t e x t i n p u t / S t r e a m R e a d e r W i n . c p p
$ { T E X T I N P U T S R C } t e x t i n p u t / T e r m i n a l C o n f i g U n i x . c p p
$ { T E X T I N P U T S R C } t e x t i n p u t / T e r m i n a l D i s p l a y . c p p
$ { T E X T I N P U T S R C } t e x t i n p u t / T e r m i n a l D i s p l a y U n i x . c p p
$ { T E X T I N P U T S R C } t e x t i n p u t / T e r m i n a l D i s p l a y W i n . c p p
$ { T E X T I N P U T S R C } t e x t i n p u t / T e x t I n p u t . c p p
$ { T E X T I N P U T S R C } t e x t i n p u t / T e x t I n p u t C o n t e x t . c p p
2016-06-05 19:04:38 -04:00
L I N K _ L I B S
c l i n g M e t a P r o c e s s o r
c l i n g I n t e r p r e t e r
2016-09-10 15:04:39 -04:00
c l i n g U t i l s
2012-09-05 09:37:39 +00:00
)
2015-12-17 16:22:09 +01:00
2016-12-19 08:57:52 -05:00
if ( UNIX )
set_source_files_properties ( UserInterface.cpp COMPILE_FLAGS "-fexceptions" )
endif ( )