Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qibuild: generating the project.cmake file #109

Open
wants to merge 2 commits into
base: next
Choose a base branch
from

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