36 lines
848 B
CMake
36 lines
848 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.
|
|
#------------------------------------------------------------------------------
|
|
|
|
set(LIBS
|
|
libclingInterpreter
|
|
)
|
|
|
|
add_cling_library(clingMetaProcessor OBJECT
|
|
Display.cpp
|
|
InputValidator.cpp
|
|
MetaLexer.cpp
|
|
MetaParser.cpp
|
|
MetaProcessor.cpp
|
|
MetaSema.cpp
|
|
|
|
LINK_LIBS
|
|
LLVMCore
|
|
LLVMSupport
|
|
clangBasic
|
|
clangAST
|
|
clangLex
|
|
clingInterpreter
|
|
)
|
|
|
|
add_dependencies(clingMetaProcessor clangBasic LLVMSupport)
|
|
|
|
if ( MSVC )
|
|
set_target_properties(clingMetaProcessor PROPERTIES
|
|
COMPILE_FLAGS "/D_HAS_EXCEPTIONS=0")
|
|
endif ()
|