Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ORNL Quantum Computing Institute
qcor
Commits
6205ed1c
Commit
6205ed1c
authored
Mar 26, 2019
by
Mccaskey, Alex
Browse files
updating compiler/clang CMakeLists
Signed-off-by:
Alex McCaskey
<
mccaskeyaj@ornl.gov
>
parent
4b44bef5
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/clang/CMakeLists.txt
View file @
6205ed1c
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
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment