Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
55844910
Commit
55844910
authored
2 years ago
by
Andre Maroneze
Committed by
Virgile Prevosto
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Apply remarks from
@maroneze
parent
fd04f42d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/developer/advance.tex
+5
-5
5 additions, 5 deletions
doc/developer/advance.tex
doc/developer/tutorial/hello/src/Makefile
+1
-1
1 addition, 1 deletion
doc/developer/tutorial/hello/src/Makefile
with
6 additions
and
6 deletions
doc/developer/advance.tex
+
5
−
5
View file @
55844910
...
...
@@ -192,7 +192,7 @@ Note that \verb|camlp5| is not among the dependencies declared in
Since the adoption of Dune,
\framac
's
\texttt
{
Makefile
}
s were largely
simplified. They are still used for some tasks, partially due to conciseness
(
\verb
|
make
|
is shorter than
\verb
|
dune build
|
), partially because some tasks
are better suited for them. Some standard
s
targets are defined in various
are better suited for them. Some standard targets are defined in various
Makefiles that are installed in
\framac
's shared directory.
A minimal plugin's
\verb
|
Makefile
|
can thus be the following:
...
...
@@ -825,9 +825,9 @@ one for regular tests (if more than one \verb|OPT|).\\
\hline
\verb
|
PTEST_ORACLE
|
&
basename of the current oracle file (macro only usable in FILTER directives)
\\
\hline
\verb
|
PTEST_MODULE
|
&
current list of module defined by the
\verb
|
MODULE
|
directive
\\
\verb
|
PTEST_MODULE
|
&
current list of module
s
defined by the
\verb
|
MODULE
|
directive
\\
\hline
\verb
|
PTEST_LIBS
|
&
current list of module defined by the
\verb
|
LIBS
|
directive
\\
\verb
|
PTEST_LIBS
|
&
current list of module
s
defined by the
\verb
|
LIBS
|
directive
\\
\hline
\verb
|
PTEST_PLUGIN
|
&
current list of plugins defined by the
\verb
|
PLUGIN
|
directive
\\
\hline
...
...
@@ -4196,9 +4196,9 @@ the \texttt{opam} integration within
\texttt
{
dune
}
\footnote
{
\url
{
https://dune.readthedocs.io/en/stable/opam.html
}}
.
Basically, the
\index
{
dune-project
}
\texttt
{
dune-project
}
file
(see Section~
\ref
{
tut2:hello
}
) should contain a stanza
\texttt
{
(generate
\_
opam
\_
files true)
}
, as well as
a few
meta-information
\texttt
{
(generate
\_
opam
\_
files true)
}
, as well as
some
meta-information
(location of the sources, licence, author(s), etc.). It is also possible to
provide th
ese
information in
to
a file
\texttt
{
my-plugin-package.opam.template
}
,
provide th
is
information in a file
\texttt
{
my-plugin-package.opam.template
}
,
assuming
\texttt
{
my-plugin-package
}
is the name of the package of the plug-in in
the
\texttt
{
dune-project
}
file. See the dune documentation for detailed information
about the creation of the
\texttt
{
opam
}
file.
...
...
This diff is collapsed.
Click to expand it.
doc/developer/tutorial/hello/src/Makefile
+
1
−
1
View file @
55844910
FRAMAC_SHARE
:=
$(
shell frama-c
-print-share-path
)
FRAMAC_SHARE
:=
$(
shell frama-c
-config
-print-share-path
)
sinclude
${FRAMAC_SHARE}/Makefile.common
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment