Define dependencies!

This commit is contained in:
Axel Naumann 2015-12-11 15:25:14 +01:00 committed by sftnight
parent 473e16a131
commit 6eac3e3159
3 changed files with 6 additions and 13 deletions

View File

@ -47,12 +47,9 @@ add_cling_library(clingInterpreter
TransactionUnloader.cpp
Value.cpp
ValuePrinter.cpp
ValuePrinterSynthesizer.cpp
ValuePrinterSynthesizer.cpp)
LINK_LIBS
clangBasic
clangAST
)
add_dependencies(clingInterpreter clangBasic clangAST)
if(NOT WIN32)
set_source_files_properties(Exception.cpp COMPILE_FLAGS -fexceptions)

View File

@ -12,11 +12,9 @@ add_cling_library(clingMetaProcessor
MetaLexer.cpp
MetaParser.cpp
MetaProcessor.cpp
MetaSema.cpp
MetaSema.cpp)
LINK_LIBS
clangBasic
)
add_dependencies(clingMetaProcessor clangBasic)
if ( MSVC )
set_target_properties(clingMetaProcessor PROPERTIES

View File

@ -8,12 +8,10 @@
add_cling_library(clingUtils
AST.cpp
LINK_LIBS
clangCodeGen
clangBasic
)
add_dependencies(clingUtils clangBasic clangCodeGen)
if ( MSVC )
set_target_properties(clingUtils PROPERTIES
COMPILE_FLAGS "/D_HAS_EXCEPTIONS=0")