[Qgis-developer] svn_marker?

William Kyngesburye woklist at kyngchaos.com
Sat Nov 13 13:33:35 EST 2010


I could probably remove the dependency from the custom target, but for now I used a test and set it to CMakeLists.txt if SVN_MARKER-NOTFOUND.

P.S. have you compiled from source at all since 1.0?  Any comments on my cmake overhaul for the Mac build?

On Nov 13, 2010, at 12:11 PM, Tom Elwertowski wrote:

> Hi William,
> 
> I haven't done a release build since 1.0 but my recollection is that it had something to do with putting a useful version string into the Mac bundle when building from a tarball without an svn connection.
> 
> I believe the svn versioning code has been modified since I last did a release build; perhaps a Mac tarball build was not tested at the time. If you can successfully build from a tarball (or no longer support them), you probably don't need to worry about this.
> 
> Tom
> 
> William Kyngesburye wrote:
>> When I overhauled the Mac cmake build, there was one part I thought was odd but I left it alone.  The src/mac/contents info.plist custom target has a SVN_MARKER as the dependency.  This works in SVN source, but now in the release source it doesn't work.  There is an error that there is no rule to make SVN_MARKER-NOTFOUND.
>> 
>> What does it do?  I found it used in some other projects, where it seems to be some dummy dependency
>> 
>> A search turned up some SVN_MARKER usage in old pre-1.0 versions of the source, so I wonder if it was something where a better way to do what it does was found but this Mac target was skipped?
>> 
>> It could be a moot point later, since I've found that there is a better way to package the Mac application bundle built into cmake now, but the current method must be fixed for release until I can figure that out.
>> 
>> -----
>> William Kyngesburye<kyngchaos*at*kyngchaos*dot*com>
>> http://www.kyngchaos.com/
>> 
>> "Time is an illusion - lunchtime doubly so."
>> 
>> - Ford Prefect
>> 
>> 
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> 
> 

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

The equator is so long, it could encircle the earth completely once.



More information about the Qgis-developer mailing list