[cmake-developers] [CMake 0011662]: tab characters in paths causes errors in initial configure step
Mantis Bug Tracker
mantis at public.kitware.com
Thu Jan 6 10:51:46 EST 2011
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=11662
======================================================================
Reported By: kentwilliams
Assigned To:
======================================================================
Project: CMake
Issue ID: 11662
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-01-06 10:51 EST
Last Modified: 2011-01-06 10:51 EST
======================================================================
Summary: tab characters in paths causes errors in initial
configure step
Description:
I was testing a problem with building FFTW as an external project in ITK --
specifically that FFTW can't configure if the source or build directories have
whitespace characters in the directory path.
I created a build directory with space characters in it, and CMake had no
problem with configuration, and I verified my test for paths w/whitespace
characters worked properly.
I then created a build directory with tab characters in it. This seemed to
break the initial CMake configure run, in the CMakeBackwardCompatibilityC
module.
Steps to Reproduce:
#!/bin/sh
# This script will produce the behavior I observed
mkdir -p cmake_tabs_bug/cmake_tabs_bug
cd cmake_tabs_bug/cmake_tabs_bug
cat > CMakeLists.txt <<EOF
project(cmake_tabs_bug)
cmake_minimum_required(VERSION 2.8.2)
include(CMakeBackwardCompatibilityC)
include(CMakeBackwardCompatibilityCXX)
EOF
cd ..
# this path should be 'build\ttabs'
mkdir 'build tabs'
cd 'build tabs'
cmake ../cmake_tabs_bug
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-01-06 10:51 kentwilliams New Issue
======================================================================
More information about the cmake-developers
mailing list