summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_external/doc/doxygen/tools/InterfaceGenerator/CMake Integration.txt
blob: b4fb0b3df57397b5a8d8a5af91de914ae7244908 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*! \page tools_interfacegenerator_cmakeintegration Integration with CMake

In order to organize usable build process that allows to create generated code at every workstation in accordance with local setting and ensure that code re-generated after any modification in source XML or InterfaceGenerator itself was designed custom CMake rule "GenerateInterface".

This rule takes 3 arguments - name of source XML file, desired namespace for generated code and name of parser to use (name of parser is required because supported XML formats are indistinguishable and client must explicitly specify desired parser type).

Example:

<pre>
GenerateInterface("test_v4_protocol_v2_0_revP.xml" "Gen::test::components::JSONHandler" "alrpcv2")
</pre>

*/