[CMake] CMake [nmake target] is adding backslash at end of cd command
Brad King
brad.king at kitware.com
Tue Sep 8 11:31:18 EDT 2015
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?
> 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
More information about the CMake
mailing list