Nios® V Processor Software Developer Handbook

ID 743810
Date 5/26/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.1.2.3.3. CMakeLists.txt

The Nios V software development flow generates CMakeLists.txt files and passses the files to CMake to generate build files for Nios V processor software projects.

There are two types of CMakeLists.txt:

  • BSP CMakeLists.txt: Generated from niosv-bsp, is a CMake recipe that describes how to generate build files for the BSP project. The CMakeLists.txt lists the files and directories targeted by the build and included toolchain.cmake file which consist of compiler configurations for the build.
  • APP CMakeLists.txt: Generated from niosv-app, describes how to generate build files for user application or user library with user-provided source files and links with the specific BSP.

Intel recommends you use the BSP Editor in Platform Designer to manage and customize generated BSP files. As for the application or user library, you can use the generated CMakeLists.txt or create your own CMakeLists.txt.