Rename a Custom Analyzer
Last updated
Last updated
If you are building your custom analyzer from one of our pre-installed analyzers listed in the article below, then you may want to rename the analyzer to suit your needs.
The rename_analyzer.py script as shared in our SampleAnalyzer only works with the SampleAnalyzer. If you plan on building a custom analyzer using another existing analyzer as a starting point, then the steps below will help rename your analyzer so that it appears in the software as you'd like.
Specifically, to change the name of the analyzer, you really only need to edit some things below. Here we are using the SPI Analyzer source code as the example.:
In CMakeLists.txt
.
Change project(spi_analyzer)
to project(my_analyzer)
. This controls the output library's file name (e.g. spi_analyzer.dll
, libspi_analyzer.so
, etc)
The line of code is here.
Optional - You may also edit the source file names and the class names, but this is not required.