-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
[cmake] Reuse version.txt and add-on API parsing across buildsystems #9845
[cmake] Reuse version.txt and add-on API parsing across buildsystems #9845
Conversation
Nice, I prefer this one. |
Yeah, a lot less shuffling around. |
# | ||
# The following variables are set from libKODI_guilib.h: | ||
# guilib_version - current ADDONGUI API version | ||
# guilib_version_min - minimal ADDONGUI API version | ||
macro(core_find_versions) | ||
include(CMakeParseArguments) | ||
core_file_read_filtered(version_list ${CORE_SOURCE_DIR}/version.txt) | ||
string(REPLACE " " ";" version_list "${version_list}") |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
61789d6
to
d0f6c68
Compare
@fetzerch, done. jenkins build this with addons please |
what? jenkins build this with addons please |
d0f6c68
to
6e635b1
Compare
Just noticed cmake_parse_arguments doesn't like URLs. Any ideas? cmake_parse_arguments documentation is scarce and unhelpful. |
@hudokkow: it's caused by this: https://github.com/xbmc/xbmc/blob/master/project/cmake/scripts/common/Macros.cmake#L241 It could probably be fixed by prepending a space the the regexp (or |
6e635b1
to
76b4414
Compare
Completely missed that. Thanks. |
1afa457
to
18d125d
Compare
18d125d
to
e47fe61
Compare
jenkins build this with addons please |
Build is fine. IOS is acting up. |
Alternative to #9742
Do we want Macros.cmake copied to APP_LIB_DIR?
@fetzerch, @wsnipex