qt_add_executable

Creates and finalizes an application target of a platform-specific type.

The command is defined in the Core component of the Qt6 package, which can be loaded like so: