[Cmake-commits] [cmake-commits] hoffman committed CMakeLists.txt 1.13 1.14
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Sep 23 16:10:34 EDT 2009
Update of /cvsroot/CMake/CMake/Tests/OutOfSource/OutOfSourceSubdir
In directory public:/mounts/ram/cvs-serv5313/OutOfSourceSubdir
Modified Files:
CMakeLists.txt
Log Message:
Visual Studio 10 has the same bug as 8 so make the path shorter
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt,v
retrieving revision 1.13
retrieving revision 1.14
diff -C 2 -d -r1.13 -r1.14
*** CMakeLists.txt 21 Aug 2008 13:54:36 -0000 1.13
--- CMakeLists.txt 23 Sep 2009 20:10:31 -0000 1.14
***************
*** 21,27 ****
# limit by 46 characters to account for it. It should still be long
# enough to require special object file name conversion.
! IF(${CMAKE_GENERATOR} MATCHES "Visual Studio 8")
MATH(EXPR MAXPATH "${MAXPATH} - 46")
! ENDIF(${CMAKE_GENERATOR} MATCHES "Visual Studio 8")
# MAXPATH less 25 for last /and/deeper/simple.cxx part and small safety
--- 21,27 ----
# limit by 46 characters to account for it. It should still be long
# enough to require special object file name conversion.
! IF(${CMAKE_GENERATOR} MATCHES "Visual Studio (8|10)")
MATH(EXPR MAXPATH "${MAXPATH} - 46")
! ENDIF()
# MAXPATH less 25 for last /and/deeper/simple.cxx part and small safety
More information about the Cmake-commits
mailing list