View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002423CMakeCMakepublic2005-10-31 17:502005-11-22 17:11
ReporterClinton Stimpson 
Assigned ToBill Hoffman 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002423: weird cmake errors with back slashes on windows
DescriptionThe following works fine Unix.
It works fine in CMake 2.0 on Windows.

SET(DIR $ENV{SOMEPATH})
SET(INC_DIR ${DIR}/include CACHE STRING "")
INCLUDE_DIRECTORIES(${INC_DIR})

I can get
DIR = c:\somepath
INC_DIR = c:\somepath/include

and CMake gives an error that \s is an invalid escape sequence.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0003309)

2005-11-22 17:11

Good find, fixed in cvs, should be in 2.2.3.

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team