View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014594CMakeCMakepublic2013-11-24 05:112016-06-10 14:31
Reporterpioneer3001 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformIntel AtomOSDebian 3.10.11-1 (2013-09-10)OS Version
Product VersionCMake 2.8.12 
Target VersionFixed in Version 
Summary0014594: fails to work on folders like "_$test" and tries to work on "_est" when cmake/make is done out-of-source
DescriptionI created a folder "_$test" with two folders "source" and "build".

Building with make after cmake in "source" works, but not so if I do both steps in "build".

But if I change the name "_$test" to "a" or "@" then it works in "build" too.

This means if folder names contain a "$", then "cmake ...; make" does work in-source, but not out-of-source.
Steps To ReproduceHere is what I did for out-of-source in bash:

xxx@debian:~/Desktop/test_cmake/_$test/build$ ls ../source/
CMakeLists.txt main.c main.cpp
xxx@debian:~/Desktop/test_cmake/_$test/build$ cmake ../source/
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/xxx/Desktop/test_cmake/_$test/build
xxx@debian:~/Desktop/test_cmake/_$test/build$ make
Scanning dependencies of target main_c
make[2]: *** Keine Regel vorhanden, um das Target »/home/xxx/Desktop/test_cmake/_est/source/main.c«,
  benötigt von »CMakeFiles/main_c.dir/main.c.o«, zu erstellen. Schluss.
make[1]: *** [CMakeFiles/main_c.dir/all] Fehler 2
make: *** [all] Fehler 2
xxx@debian:~/Desktop/test_cmake/_$test/build$

Additional InformationThe error in German means that there is no rule for the target ".../_est/...". And this true because the name of the folder is ".../_$test/...".

The "$t" is missing.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0042432)
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2013-11-24 05:11 pioneer3001 New Issue
2016-06-10 14:29 Kitware Robot Note Added: 0042432
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team