Skip to content

Conversation

@Palamecia
Copy link

Creating the project.cmake file containing the project version number when
running qibuild configure. This file allows the use of the qiproject.xml
information in CMake. It is automatically included by the qibuild-config.cmake
in the same way than the dependencies.cmake.

Creating the project.cmake file containing the project version number when
running qibuild configure. This file allows the use of the qiproject.xml
information in CMake. It is automatically included by the qibuild-config.cmake
in the same way than the dependencies.cmake.
#############################################

# Add qiproject version to CMake
set(QI_SDK_VERSION %s CACHE STRING "" FORCE)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe QI_SDK_ prefix is already used elsewhere.

Mabye use QI_PROJECT_VERSION instead ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, I'll fix it.

Changing cmake variable name from QI_SDK_VERSION to QI_PROJECT_VERSION.
Copy link
Contributor

@vbarbaresi vbarbaresi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me, for good measure we should add some tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants