Mentions légales du service

Skip to content
Snippets Groups Projects
Commit f7fd5c9c authored by hhakim's avatar hhakim
Browse files

Fix matfaust.version displaying variable instead of the version.

parent 0fd86f94
Branches
No related merge requests found
Pipeline #833975 skipped
...@@ -3,6 +3,6 @@ ...@@ -3,6 +3,6 @@
%> %>
%==================================== %====================================
function ver = version() function ver = version()
ver = '@CPACK_PACKAGE_VERSION@'; ver = '';
end end
%> @package matfaust @brief <b> The FAuST Matlab Wrapper %> @package matfaust @brief <b> The FAuST Matlab Wrapper
%====================================
%> Returns the FAuST package version.
%>
%====================================
function ver = version()
ver = '@CPACK_PACKAGE_VERSION@';
end
%> @package matfaust @brief <b> The FAuST Matlab Wrapper
...@@ -27,6 +27,7 @@ endforeach() ...@@ -27,6 +27,7 @@ endforeach()
#message(FATAL_ERROR ${FAUST_MATLAB_MATFAUST_FILE_LIST}) #message(FATAL_ERROR ${FAUST_MATLAB_MATFAUST_FILE_LIST})
configure_file(${FAUST_MATLAB_SRC_DIR}/+matfaust/version.m.conf ${FAUST_MATLAB_SRC_DIR}/+matfaust/version.m @ONLY)
add_custom_target(PREPARE_MATFAUST_FOR_DOXYDOC ALL) add_custom_target(PREPARE_MATFAUST_FOR_DOXYDOC ALL)
foreach(MATFAUST_FILE IN LISTS FAUST_MATLAB_MATFAUST_FILE_LIST) foreach(MATFAUST_FILE IN LISTS FAUST_MATLAB_MATFAUST_FILE_LIST)
string(REGEX REPLACE "[^+]*\\+matfaust\\/" "" MATFAUST_FILE ${MATFAUST_FILE}) string(REGEX REPLACE "[^+]*\\+matfaust\\/" "" MATFAUST_FILE ${MATFAUST_FILE})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment