Re: [CMake] Using absolute values in include_directories directive

2010-03-03 Thread Felipe Sodre dos Santos
t I was trying to do. Thanks ! -Original Message- From: John Drescher [mailto:dresche...@gmail.com] Sent: quarta-feira, 3 de março de 2010 16:14 To: Felipe Sodre dos Santos Cc: cmake@cmake.org Subject: Re: [CMake] Using absolute values in include_directories directive On Wed, Mar 3, 201

Re: [CMake] Using absolute values in include_directories directive

2010-03-03 Thread Ryan Pavlik
You can do this at configure-time, by doing include_directories($ENV{WHATEVERDIR}) although that's generally discouraged - use a find module instead to set SOMEPACKAGE_INCLUDE_DIRS that you can use like: include_directories(${SOMEPACKAGE_INCLUDE_DIRS}) For the case of QT, see my recent email t

Re: [CMake] Using absolute values in include_directories directive

2010-03-03 Thread John Drescher
On Wed, Mar 3, 2010 at 1:44 PM, Felipe Sodre dos Santos wrote: > Hello all. > > > > Im trying to set an include directory which is actually an environment > variable inside VC++ , $(QTDIR), and thus I tried the following: > > > > … > > > > include_directories( > >   $(QTDIR)/include > > ) > > > >

[CMake] Using absolute values in include_directories directive

2010-03-03 Thread Felipe Sodre dos Santos
Hello all. Im trying to set an include directory which is actually an environment variable inside VC++ , $(QTDIR), and thus I tried the following: ... include_directories( $(QTDIR)/include ) ... It comes up that in the resulting SLN file, it translates that directive to C:/basedir/$(QTDIR