# Build an application with simulation target

Source: [https://docs.qualcomm.com/doc/80-41102-1/topic/build-an-application-with-simulation-target.html](https://docs.qualcomm.com/doc/80-41102-1/topic/build-an-application-with-simulation-target.html)

Under the TelAF root directory,
            run:

    source set_af_env.sh simulation & ./bin/legsCopy to clipboard

            Build the application with the simulation as the
            target:

    mkapp -t simulation -i <interface path> <yourApp.adef>Copy to clipboard

Users can also compile in the TelAF develop
            container.

    # enter the telaf develop container
    make simula-up-develop
    
    # switch the path to your project with ABS PATH in container
    cd /path/to/your/project/telaf
    source set_af_env.sh simulation
    ./bin/legsCopy to clipboard

The application package can be uploaded to the container either via shared volume or
                [SSH](https://docs.qualcomm.com/doc/80-41102-1/topic/use-ssh-to-connect-to-the-telaf-simulation-container.html).

**Parent Topic:** [Use TelAF simulation](https://docs.qualcomm.com/doc/80-41102-1/topic/use-telaf-simulation.html)

Last Published: May 12, 2026

[Previous Topic
Deploy TelAF on the simulation environment](https://docs.qualcomm.com/bundle/publicresource/80-41102-1/topics/deploy-telaf-on-the-simulation-environment.md) [Next Topic
Use SSH to connect to the TelAF simulation container](https://docs.qualcomm.com/bundle/publicresource/80-41102-1/topics/use-ssh-to-connect-to-the-telaf-simulation-container.md)