-
Notifications
You must be signed in to change notification settings - Fork 2
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
No VERSION keyword in srcs/CMakeLists.txt #3
Comments
Comment by @lgarren on 2021-10-26 16:40:43 Eric, short answer: if you use mrb uv to update the version, it will update both ups/product_deps and the top level CMakeLists.txt: This presumes that you are using a sufficiently recent mrb (the latest is v5_19_04). Give it a try and see if it works for you. |
Comment by @lgarren on 2021-10-26 16:43:05 Failed to mention that you don't actually need to change the version, you can use mrb uv for the existing version. |
Comment by @eflumerf on 2021-10-26 20:49:19 That fixes srcs/product/CMakeLists.txt, but I'm concerned about srcs/CMakeLists.txt (Which is generated by MRB and re-generated with mrb uc and mrbsetenv). Currently, I have a line like: project(artdaq_MRB LANGUAGES NONE) If I add |
Comment by @eflumerf on 2021-10-26 20:57:49 OK, I think the problem is that we are calling newDev without the -v flag, so the version doesn't get set in localProducts/setup. It might be nice if mrb could detect that it's looking at its own CMakeLists.txt and either ignore the error or print a different message (like "set MRB_PROJECT_VERSION in localProducts/setup"). |
Comment by @chissg on 2021-10-26 21:42:25
|
This issue has been migrated from https://cdcvs.fnal.gov/redmine/issues/26382 (FNAL account required)
Originally created by @eflumerf on 2021-10-26 15:44:55
In artdaq_daqinterface, we check the results of our setup scripts to make sure that nothing was printed to stderr. We keep getting messages of the form:
Could we somehow add the VERSION keyword to the generated srcs/CMakeLists.txt?
The text was updated successfully, but these errors were encountered: