Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
cppit
libclangmm
Commits
a80c8081
Commit
a80c8081
authored
Mar 02, 2021
by
Ole Christian Eidheim
Browse files
Added llvm 12.0.0
parent
1b48e1f4
Pipeline
#264073238
passed with stage
in 2 minutes and 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
cmake_modules/FindLibClang.cmake
cmake_modules/FindLibClang.cmake
+4
-3
No files found.
cmake_modules/FindLibClang.cmake
View file @
a80c8081
...
...
@@ -14,7 +14,8 @@
# Known LLVM release numbers.
# most recent versions come first
set
(
LIBCLANG_KNOWN_LLVM_VERSIONS 11.0.1
set
(
LIBCLANG_KNOWN_LLVM_VERSIONS 12.0.0 12.0 12
11.0.1
11.0.0 11.0 11
10.0.1
10.0.0 10.0 10
...
...
@@ -86,7 +87,7 @@ endforeach()
find_path
(
LIBCLANG_INCLUDE_DIR clang-c/Index.h
PATHS
${
libclang_llvm_header_search_paths
}
PATH_SUFFIXES LLVM/include
#Windows package from http://llvm.org/releases/
llvm110/include llvm100/include llvm90/include llvm80/include llvm71/include llvm70/include llvm60/include llvm50/include llvm41/include llvm40/include llvm39/include llvm38/include llvm37/include llvm36/include
# FreeBSD
llvm120/include
llvm110/include llvm100/include llvm90/include llvm80/include llvm71/include llvm70/include llvm60/include llvm50/include llvm41/include llvm40/include llvm39/include llvm38/include llvm37/include llvm36/include
# FreeBSD
DOC
"The path to the directory that contains clang-c/Index.h"
)
# On Windows with MSVC, the import library uses the ".imp" file extension
...
...
@@ -100,7 +101,7 @@ endif()
find_library
(
LIBCLANG_LIBRARY NAMES libclang.imp libclang clang
PATHS
${
libclang_llvm_lib_search_paths
}
PATH_SUFFIXES LLVM/lib
#Windows package from http://llvm.org/releases/
llvm110/lib llvm100/lib llvm90/lib llvm80/lib llvm71/lib llvm70/lib llvm60/lib llvm50/lib llvm41/lib llvm40/lib llvm39/lib llvm38/lib llvm37/lib llvm36/lib
# FreeBSD
llvm120/lib
llvm110/lib llvm100/lib llvm90/lib llvm80/lib llvm71/lib llvm70/lib llvm60/lib llvm50/lib llvm41/lib llvm40/lib llvm39/lib llvm38/lib llvm37/lib llvm36/lib
# FreeBSD
DOC
"The file that corresponds to the libclang library."
)
get_filename_component
(
LIBCLANG_LIBRARY_DIR
${
LIBCLANG_LIBRARY
}
PATH
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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