cling/lib/MetaProcessor/CMakeLists.txt

25 lines
680 B
CMake

#------------------------------------------------------------------------------
# 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.
#------------------------------------------------------------------------------
add_cling_library(clingMetaProcessor
Display.cpp
InputValidator.cpp
MetaLexer.cpp
MetaParser.cpp
MetaProcessor.cpp
MetaSema.cpp
LINK_LIBS
clangBasic
)
if ( MSVC )
set_target_properties(clingMetaProcessor PROPERTIES
COMPILE_FLAGS "/D_HAS_EXCEPTIONS=0")
endif ()