Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
0f100cab
Commit
0f100cab
authored
Oct 21, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #238 from frosteyes/master
Updated configuration script and libdoxygen.pro.in to use llvm-config
parents
a6c6c59d
61e07f8e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
configure
configure
+8
-3
libdoxygen.pro.in
src/libdoxygen.pro.in
+1
-0
No files found.
configure
View file @
0f100cab
...
...
@@ -554,8 +554,13 @@ fi
if
test
"
$f_libclang
"
=
YES
;
then
printf
" Checking for libclang ... "
libclang_hdr_dir
=
"/usr/include /usr/local/include /opt/local/include"
libclang_lib_dir
=
"/usr/lib /usr/local/lib /opt/local/lib /usr/lib64/llvm /usr/lib/llvm"
if
llvm-config
--version
>
/dev/null 2>&1
;
then
libclang_hdr_dir
=
$(
llvm-config
--includedir
)
libclang_lib_dir
=
$(
llvm-config
--libdir
)
else
libclang_hdr_dir
=
"/usr/include /usr/local/include /opt/local/include"
libclang_lib_dir
=
"/usr/lib /usr/local/lib /opt/local/lib /usr/lib64/llvm /usr/lib/llvm"
fi
if
test
"
$f_libclangstatic
"
=
NO
;
then
libclang_lib_name
=
"libclang.so libclang.dylib libclang.a libclang.dll.a"
else
...
...
@@ -952,7 +957,7 @@ EOF
#if test "$f_thread" = YES; then
# realopts="$realopts thread"
#fi
cat
$SRC
.tmakeconfig |
sed
-e
"s/
\$
extraopts/
$realopts
/g"
-e
"s;%%SQLITE3_INC%%;
$sqlite3_hdr_dir
;g"
-e
"s;%%SQLITE3_LIBS%%;
$sqlite3_link
;g"
-e
"s;%%LIBCLANG_LIBS%%;
$libclang_link
;g"
>>
$DST
cat
$SRC
.tmakeconfig |
sed
-e
"s/
\$
extraopts/
$realopts
/g"
-e
"s;%%SQLITE3_INC%%;
$sqlite3_hdr_dir
;g"
-e
"s;%%SQLITE3_LIBS%%;
$sqlite3_link
;g"
-e
"s;%%LIBCLANG_
INC%%;
$libclang_hdr_dir
;g"
-e
"s;%%LIBCLANG_
LIBS%%;
$libclang_link
;g"
>>
$DST
echo
" Created
$DST
from
$SRC
..."
done
...
...
src/libdoxygen.pro.in
View file @
0f100cab
...
...
@@ -230,6 +230,7 @@ win32-g++:TMAKE_CXXFLAGS += -fno-exceptions
linux-g++:TMAKE_CXXFLAGS += -fno-exceptions
INCLUDEPATH += ../generated_src/doxygen ../src ../qtools ../libmd5 ../vhdlparser
INCLUDEPATH += %%SQLITE3_INC%%
INCLUDEPATH += %%LIBCLANG_INC%%
DEPENDPATH += ../generated_src/doxygen
win32:INCLUDEPATH += .
DESTDIR = ../lib
...
...
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