ProcessSmc¶
Define the function process_smc()
to generate C++ source code
from an SMC .sm
file.
- process_smc¶
Generate C++ source code from an SMC
.sm
file.process_smc(<target-or-var> [<options>])
See also
Options¶
NO_INSTALL
Do not install generated files in either the include or source areas of the built package.
New in version 3.23.00:
NO_INSTALL_SOURCE
Do not install generated files in the source areas of the built package.
Non-option arguments¶
<target-or-var>
If
<target-or-var>
is a target, generated sources will be added asPRIVATE
sources viatarget_sources()
.Deprecated since version 2.10.00: Otherwise, add the generated sources to the CMake variable
<target-or-var>
in the caller’s scope.`