Changing project name in CMakeLists does nothing

Hi there,

Very simple question as we are new to Zephyr. We currently have a test application running name qpc-zephyr-app (not nordics' example).This is a basic example project and we will be porting our existing application on top of this one. The project can be found in a folder directory named qpc-zephyr-app as well. We want to rename the project to our existing application.

Now, in the CMakeLists.txt file, we noted the following code:

project(qpc-zephyr-app) (this is the same for all nordic examples as well)

However when changing this to for example, project(rename_test), it seems as if nothing happens? Everything still builds fine, and the application name still seems to be the original qpc-zephyr-app:

What does project() then do? Should the project name be the same as the folder directory is stored in?

Is there documentation on what commands can be used in cmakelists.txt?

Regards,

Frikkie

Related