Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
9a8a040a
Unverified
Commit
9a8a040a
authored
Sep 21, 2021
by
Jose Borreguero
Committed by
GitHub
Sep 21, 2021
Browse files
Merge pull request #32558 from mantidproject/deprecatedAlias_devBuild
Define the alias.deprecated type of warning
parents
06b2f191
99cfb58c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Framework/Kernel/CMakeLists.txt
View file @
9a8a040a
...
...
@@ -586,6 +586,7 @@ else()
endif
()
set
(
CONSOLECHANNELCLASS
"ConsoleChannel"
)
set
(
ALIASDEPRECATED
"Raise"
)
configure_file
(
../Properties/Mantid.properties.template
${
CMAKE_CURRENT_BINARY_DIR
}
/Mantid.properties.config
)
...
...
@@ -639,6 +640,7 @@ else()
endif
()
set
(
CONSOLECHANNELCLASS
"StdoutChannel"
)
set
(
ALIASDEPRECATED
"Log"
)
configure_file
(
../Properties/Mantid.properties.template
${
CMAKE_CURRENT_BINARY_DIR
}
/Mantid.properties.install
)
...
...
Framework/Properties/Mantid.properties.template
View file @
9a8a040a
...
...
@@ -187,7 +187,7 @@ algorithms.categories.hidden=Workflow\\Inelastic\\UsesPropertyManager;Workflow\\
# Allowed values are:
# "Log": log a warning indicating the alias is deprecated, along with the name to be used
# "Raise": raise a RuntimeError if the deprecated deadline has been met
algorithms.alias.deprecated =
Log
algorithms.alias.deprecated =
@ALIASDEPRECATED@
# All interface categories are shown by default.
interfaces.categories.hidden =
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment