[CMake] CMake [nmake target] is adding backslash at end of cd command

André Netzeband netbandit at gmx.de
Sun Sep 13 09:07:45 EDT 2015


Hi

Sorry for the late answer, I was some days offline.

Am 08.09.2015 um 17:31 schrieb Brad King:
> On 9/4/2015 10:17 AM, André Netzeband wrote:
>> I have a very strange issue with generated nmake makefiles from cmake 3.3.1
> Is this problem new in 3.3 or are you just reporting this as the version
> you are using?

I just tried 3.3.1, so the issue could also be there with older versions.

>
>> In a very complex project with many sub-cmake files (Ogre3D) the
>> generated nmake makefiles (build.make) contain backslashes at the end of
>> some cd commands.
> That project turns on the CMAKE_USE_RELATIVE_PATHS option
> which is documented as not fully implemented and unsupported:
>   http://www.cmake.org/cmake/help/v3.3/variable/CMAKE_USE_RELATIVE_PATHS.html
>
> That option should not be used.
>
> -Brad
>

Where do you see this? When I look with cmake-gui at the variables of 
Ogre3D CMake-system, it is disabled.

Best regards,
André


More information about the CMake mailing list