Commit 6205ed1c authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

updating compiler/clang CMakeLists


Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent 4b44bef5
set(LIBRARY_NAME qcor-ast-plugin)
add_library(${LIBRARY_NAME} SHARED QCORPluginAction.cpp FuzzyParsingExternalSemaSource.cpp LambdaVisitor.cpp QCORASTConsumer.cpp)
target_include_directories(${LIBRARY_NAME} PUBLIC .)
target_include_directories(${LIBRARY_NAME} PUBLIC ${CMAKE_SOURCE_DIR}/runtime)
target_include_directories(${LIBRARY_NAME} PUBLIC ${CLANG_INCLUDE_DIRS})
target_include_directories(${LIBRARY_NAME} PUBLIC ${LLVM_INCLUDE_DIRS})
target_include_directories(${LIBRARY_NAME} PUBLIC ${XACC_INCLUDE_DIRS})
target_link_libraries(${LIBRARY_NAME} PUBLIC ${CLANG_LIBS} ${XACC_LIBRARIES} qcor)
add_library(${LIBRARY_NAME}
SHARED
QCORPluginAction.cpp
FuzzyParsingExternalSemaSource.cpp
LambdaVisitor.cpp
QCORASTConsumer.cpp)
target_include_directories(${LIBRARY_NAME}
PUBLIC .
${CMAKE_SOURCE_DIR}/runtime
${CLANG_INCLUDE_DIRS}
${LLVM_INCLUDE_DIRS}
${XACC_INCLUDE_ROOT}
${XACC_INCLUDE_ROOT}/xacc
${XACC_INCLUDE_ROOT}/cppmicroservices4)
target_link_libraries(${LIBRARY_NAME}
PUBLIC ${CLANG_LIBS} ${XACC_LIBRARIES} qcor)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment