Thanks for the tip - it showed that it indeed working; and pointed to a portability problem in the code -
Using VC++ <folder\file> is allowed; however, with g++ under Linux it has to be <folder/file>. The g++ notation should work with VC++ too. Thanks all for the help in finding the issue. Ben ----- Original Message ---- From: Bill Hoffman <[EMAIL PROTECTED]> To: BRM <[EMAIL PROTECTED]> Cc: Christopher Harvey <[EMAIL PROTECTED]>; CMake <cmake@cmake.org> Sent: Sunday, November 16, 2008 3:31:38 AM Subject: Re: [CMake] INCLUDE_DIRECTORIES problem... BRM wrote: > ${project_SOURCE_DIR} is pointing to the root as I thought it would be. > > > Another suggestion was to use ${PROJECT_SOURCE_DIR} however, that is an empty > string. > > I have also tried setting a new variable to ${project_SOURCE_DIR}/include and > using that, however the same result. > > I forgot to mention in the earlier e-mail - as I'm running this on Gentoo > (which has used it for several projects), I am using CMake 2.4 - latest from > Portage. > Do a make VERBOSE=1 and check the actual compile line. It maybe a previous -I that is eating this -I. -Bill _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake