On 03/14/2011 05:58 AM, Paulo Silva wrote:
> Hi,
>
> if I do
>
> set(PCHDIR ../include.pch)
> add_precompiled_header( ${PROJECT_NAME} ${PCHDIR}/pch.hpp )
>
> an extra ../ is added to PCHDIR. Isn't this a bug.
> However if I do
> set(PCHDIR ../../include.pch)
> or anything else nothing gets added
Hi,
if I do
set(PCHDIR ../include.pch)
add_precompiled_header( ${PROJECT_NAME} ${PCHDIR}/pch.hpp )
an extra ../ is added to PCHDIR. Isn't this a bug.
However if I do
set(PCHDIR ../../include.pch)
or anything else nothing gets added.
This might be a feature but for me it's working like a bug.
S