MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0014594 | CMake | CMake | public | 2013-11-24 05:11 | 2016-06-10 14:31 |
| Reporter | pioneer3001 | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | Intel Atom | OS | Debian 3.10.11-1 (2013-09-10) | OS Version | |
| Product Version | CMake 2.8.12 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0014594: fails to work on folders like "_$test" and tries to work on "_est" when cmake/make is done out-of-source | ||||
| Description | I 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 Reproduce | Here 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 Information | The 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. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| 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 | ||
| Notes | |||||
|
|
|||||
|
|
||||