Oh my god you're a genius. Thank you so much, kind sir! It works now!
On 07/08/10 00:00, John Drescher wrote: > On Wed, Jul 7, 2010 at 11:58 PM, John Drescher <dresche...@gmail.com> wrote: > >>> Nice. that works. I'm so sorry to be such a bother, but here's my output >>> now... >>> >>> #define PROJECT_VERSION "v0.1-345-ga77ede8-dirty >>> " >>> >>> Needless to say, that's bad :( >>> >>> How would I go about removing that trailing newline? >>> >>> >> > Wait a minute did you use > > OUTPUT_STRIP_TRAILING_WHITESPACE > > in your > > EXECUTE_PROCESS > > ? > > John > -- Regards, -Clark _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake