Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
faust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Admin message
GitLab upgrade completed. Current version is 17.11.4.
Show more breadcrumbs
faust group
faust
Commits
253203e6
Commit
253203e6
authored
2 years ago
by
hhakim
Browse files
Options
Downloads
Patches
Plain Diff
Filterout doxygen blocks from m-files of classes too and ensure it happens after doxygen doc gen.
parent
b525332f
Loading
Loading
No related merge requests found
Pipeline
#834155
skipped
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gen_doc/filterout_matlab_doxy_blocks.sh
+1
-1
1 addition, 1 deletion
gen_doc/filterout_matlab_doxy_blocks.sh
wrapper/matlab/CMakeLists.txt
+5
-2
5 additions, 2 deletions
wrapper/matlab/CMakeLists.txt
with
6 additions
and
3 deletions
gen_doc/filterout_matlab_doxy_blocks.sh
+
1
−
1
View file @
253203e6
...
...
@@ -8,5 +8,5 @@
[[
!
-r
"
$1
"
]]
&&
echo
"
$1
is not readable/existing as a file."
>
&2
&&
exit
0
# not an error, just skipping
#sed -i '/%=\{5,\}/,/%=\{5,\}/d' $1 # macos default sed can't do this (it gives an error:sed: 1: command c expects \ followed by text
sed
-e
'/%=\{5,\}/,/%=\{5,\}/d'
$1
>
${
1
}
_tmp
sed
-e
'/%
\s\{0,\}
=\{5,\}/,/%
\s\{0,\}
=\{5,\}/d'
$1
>
${
1
}
_tmp
mv
"
${
1
}
_tmp"
"
$1
"
This diff is collapsed.
Click to expand it.
wrapper/matlab/CMakeLists.txt
+
5
−
2
View file @
253203e6
...
...
@@ -80,6 +80,9 @@ foreach(MATFAUST_FILE IN LISTS FAUST_MATLAB_MATFAUST_FILE_LIST)
#execute_process(COMMAND ${PROJECT_SOURCE_DIR}/gen_doc/gen_matlab_inline_doc_from_doxy_blocks.sh ${FAUST_MATLAB_NAMESPACE_SRC_DIR}/${MATFAUST_FILE} ${FAUST_MATLAB_NAMESPACE_BIN_DIR}/${MATFAUST_FILE} ERROR_QUIET)
#TODO: copy if error (fallback solution)
#configure_file(${FAUST_MATLAB_NAMESPACE_SRC_DIR}/${MATFAUST_FILE} ${FAUST_MATLAB_NAMESPACE_BIN_DIR}/${MATFAUST_FILE} COPYONLY)
add_custom_target
(
FILTER_OUT_MATLAB_DOXYBLOCKS_
${
MATFAUST_SHORT_FILE
}
ALL
COMMAND
${
PROJECT_SOURCE_DIR
}
/gen_doc/filterout_matlab_doxy_blocks.sh
${
FAUST_MATLAB_NAMESPACE_BIN_DIR
}
/
${
MATFAUST_FILE
}
COMMENT
"Removing doxygen blocks from class file
${
MATFAUST_FILE
}
"
DEPENDS doc
)
else
()
message
(
STATUS
"matfaust function file: "
${
MATFAUST_FILE
}
)
# just copy the .m
...
...
@@ -96,9 +99,9 @@ foreach(MATFAUST_FILE IN LISTS FAUST_MATLAB_MATFAUST_FILE_LIST)
COMMENT
"Generating matfaust inline doc for
${
MATFAUST_FILE
}
"
)
add_custom_target
(
FILTER_OUT_MATLAB_DOXYBLOCKS_
${
MATFAUST_SHORT_FILE
}
ALL
COMMAND
${
PROJECT_SOURCE_DIR
}
/gen_doc/filterout_matlab_doxy_blocks.sh
${
FAUST_MATLAB_NAMESPACE_BIN_DIR
}
/
${
MATFAUST_FILE
}
DEPENDS doc
COMMENT
"Removing doxygen blocks from function file
."
)
COMMAND
${
PROJECT_SOURCE_DIR
}
/gen_doc/filterout_matlab_doxy_blocks.sh
${
FAUST_MATLAB_NAMESPACE_BIN_DIR
}
/
${
MATFAUST_FILE
}
COMMENT
"Removing doxygen blocks from function file
${
MATFAUST_FILE
}
."
DEPENDS doc
)
endif
()
add_custom_target
(
GEN_INLINE_DOC_
${
MATFAUST_SHORT_FILE
}
ALL DEPENDS
${
FAUST_MATLAB_NAMESPACE_BIN_DIR
}
/
${
MATFAUST_FILE
}
)
add_custom_target
(
GEN_INLINE_DOC_
${
MATFAUST_SHORT_FILE
}
ALL DEPENDS
${
FAUST_MATLAB_NAMESPACE_BIN_DIR
}
/
${
MATFAUST_FILE
}
)
add_dependencies
(
PREPARE_MATFAUST_FOR_DOXYDOC GEN_INLINE_DOC_
${
MATFAUST_SHORT_FILE
}
)
endforeach
()
...
...
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