Re: [CMake] INCLUDE_DIRECTORIES problem...

2008-11-16 Thread BRM
Message From: Bill Hoffman <[EMAIL PROTECTED]> To: BRM <[EMAIL PROTECTED]> Cc: Christopher Harvey <[EMAIL PROTECTED]>; CMake Sent: Sunday, November 16, 2008 3:31:38 AM Subject: Re: [CMake] INCLUDE_DIRECTORIES problem... BRM wrote: > ${project_SOURCE_DIR} is pointing to the

Re: [CMake] INCLUDE_DIRECTORIES problem...

2008-11-15 Thread Bill Hoffman
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 forgo

Re: [CMake] INCLUDE_DIRECTORIES problem...

2008-11-15 Thread BRM
er 16, 2008 12:45:54 AM Subject: Re: [CMake] INCLUDE_DIRECTORIES problem... what is ${project_SOURCE_DIR} ? try adding MESSAGE("project_SOURCE_DIR is '${project_SOURCE_DIR}'") right before that line in your cmakelists. I have a sneaking suspicion it's not what you t

Re: [CMake] INCLUDE_DIRECTORIES problem...

2008-11-15 Thread Christopher Harvey
what is ${project_SOURCE_DIR} ? try adding MESSAGE("project_SOURCE_DIR is '${project_SOURCE_DIR}'") right before that line in your cmakelists. I have a sneaking suspicion it's not what you think it is. You have to use something like ${project_SOURCE_DIR}/../include instead. BRM wrote: > I have a

Re: [CMake] INCLUDE_DIRECTORIES problem...

2008-11-15 Thread Christopher Harvey
what is ${project_SOURCE_DIR} ? try adding MESSAGE("project_SOURCE_DIR is '${project_SOURCE_DIR}'") right before that line in your cmakelists. I have a sneaking suspicion it's not what you think it is. You have to use something like ${project_SOURCE_DIR}/../include instead. BRM wrote: > I have a

[CMake] INCLUDE_DIRECTORIES problem...

2008-11-15 Thread BRM
I have a project with the following layout where '/' is the root of the project workspace: / /project /project/CMakeLists.txt /project/ /include /include/project /include/project/ /CMakeLists.txt To be clear - I am doing an out-of-source build at /build (again). This is okay. I finds the source