[Cmake] Trouble with / and \
John Biddiscombe
john.biddiscombe at mirada-solutions.com
Tue Jan 28 10:35:13 EST 2003
Hi all,
I'm setting up some batch files which perform builds and are
automatically configured from CMake using the configure_file command
like thus...
CONFIGURE_FILE(
"${JavaR2_SOURCE_DIR}/Build_Test/Run_Tests.bat.in"
"${JavaR2_BINARY_DIR}/Build_Test/Run_Tests.bat"
)
all is well except that for the batch files to run properly, they have
at the start
cd /d "@JavaR2_BINARY_DIR@" (Note the quotes in this line which are
intentional)
but the expanded JavaR2_BINARY_DIR path always comes out like this...
C:/CMakebuild/JavaR2
And windows fails (even when it's quoted as above) to change to
C:\CMakebuild\JavaR2
Is there a way of telling CMake to output the windows style path?
Thanks
JB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20030128/61ca104a/attachment.html>
More information about the CMake
mailing list