Visible to Intel only — GUID: kay1653052535785
Ixiasoft
Visible to Intel only — GUID: kay1653052535785
Ixiasoft
13.2.3.2. cmake
CMake is the open-source utility tool that manages the build process using CMakeLists.txt, generated from from the niosv-app and niosv-bsp utilities.
CMake uses the CMakeLists.txt file to generate the build file, used to build main.elf and libbsp.a. The setting can be changed via setting the CMake argument -G, --generator. Nios V software build tools are based on Unix Makefile generator.
Example: cmake -S software/app -G "Unix Makefiles" -B software/app/build
CMake supports out-of-place/out-of-source builds in which build files need not be in the same place as source files. Build directory can be specified to be any arbitrary directory and it does not require to be in the same folder as CMakeLists.txt.