Bug #420

Check Spread version in cmake

Added by M. Rolf almost 13 years ago. Updated about 12 years ago.

Status:ResolvedStart date:07/14/2011
Priority:NormalDue date:
Assignee:J. Wienke% Done:

100%

Category:Configuration
Target version:rsb-0.7

Description

E.g. warn for old version on Lucid systems.


Related issues

Blocked by Robotics Systems Commons - Bug #951: Provide version checking with FindSpread.cmake Resolved 03/15/2012

Associated revisions

Revision 66667697
Added by J. Wienke about 12 years ago

Require at least spread 4

fixes #420

History

#1 Updated by S. Wrede almost 13 years ago

  • Category changed from C++ to Configuration

#2 Updated by J. Moringen almost 13 years ago

  • Status changed from New to Feedback

Maybe something like this:
spread --version | grep -e 'Version' | sed -re 's/.*Version ([0-9])\..*/\1/'

Does this work with the offending version?

#3 Updated by J. Wienke about 12 years ago

  • Status changed from Feedback to In Progress
  • Assignee set to J. Wienke
  • Target version set to rsb-0.7

#4 Updated by J. Wienke about 12 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset r3511.

#5 Updated by J. Wienke about 12 years ago

The commit in RSC uses a test program to determine the version so that version checking is available even if no binary could be found / is required. Moreover, I have checked that the Lucid version 3 of spread also defines the required macros.

Also available in: Atom PDF