Skip to content

Working with Pure CMake Projects

Dragos Miloiu edited this page Jul 7, 2023 · 1 revision

Pure CMake Projects

SDKs built on the MCUXpresso SDK Builder support downloading standalone examples, as opposed to the full SDK archive. These standalone projects do not require an SDK, instead relying only on CMake and the included files.

Downloading a pure CMake project

After building an MCUXpresso SDK, open the download section and select the Download Standalone Example Project option.

Download Standalone Example Project

Select the desired example project and click on Download Example.

Importing a pure CMake project

The project archive can be imported by opening the Import Project menu in the Quickstart Panel. The Import path should be the downloaded archive.

Import Pure CMake Project

The project can be built just like any other project, however debugging it will open a wizard to ask for more information since there is no associated repository.

Associating a repository

Associating a repository to a pure CMake project is optionally, but it can be done by entering the context menu of the project and selecting the Associate Repository option under the Configure tab of the menu. Two quickpicks will be, then, shown to select the repository to associate to and the target device.

NXP Associate Repository

Building and debugging the project

For building and debugging the project, the standard steps described in build and debug documentation sections should be followed.

home

Clone this wiki locally