Thanks, John. I'm pretty sure I tried that earlier and it failed. It's working now!
Cheers, Vinay On Tue, Aug 9, 2011 at 1:57 PM, John Drescher <dresche...@gmail.com> wrote: > ---------- Forwarded message ---------- > From: John Drescher <dresche...@gmail.com> > Date: Tue, Aug 9, 2011 at 4:56 PM > Subject: Re: [CMake] access absolute path of parent directory > To: Vinay Raj Hampapur <vinayraj.hampa...@gmail.com> > > > On Tue, Aug 9, 2011 at 4:24 PM, Vinay Raj Hampapur > <vinayraj.hampa...@gmail.com> wrote: > > Sure. > > Here is what I have(I've tried it with double quotes as well): > > > > set(Bob /..) > > set(Dave ${Bob}/Dave) > > set(D_src ${Dave/Dave.cpp) > > > > ... and corresponding add executable command at which point the following > > error is produced: > > > > > > You are setting Bob to be the root folder of your system. Remove the / > in your first set > > set(Bob ..) > > John > > > > -- > John M. Drescher > _______________________________________________ > 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 >
_______________________________________________ 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