MantisBT - CMake | |||||||||||||||
View Issue Details | |||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||
0013467 | CMake | CMake | public | 2012-08-13 22:36 | 2016-06-10 14:31 | ||||||||||
Reporter | kMh3Bt2pBM | ||||||||||||||
Assigned To | Kitware Robot | ||||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||||
Status | closed | Resolution | moved | ||||||||||||
Platform | Macbook Pro | OS | Mac OS | OS Version | 10.6.8 | ||||||||||
Product Version | |||||||||||||||
Target Version | Fixed in Version | ||||||||||||||
Summary | 0013467: Bug when $ is in the directory path | ||||||||||||||
Description | The following example shows that when '$' is in path, there is a bug in cmake (on Mac OS but not linux). /tmp/$/foo_build$ cmake ../foo -- The C compiler identification is GNU 4.2.1 -- The CXX compiler identification is GNU 4.2.1 -- Checking whether C compiler has -isysroot -- Checking whether C compiler has -isysroot - yes -- Checking whether C compiler supports OSX deployment target flag -- Checking whether C compiler supports OSX deployment target flag - yes -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Checking whether CXX compiler has -isysroot -- Checking whether CXX compiler has -isysroot - yes -- Checking whether CXX compiler supports OSX deployment target flag -- Checking whether CXX compiler supports OSX deployment target flag - yes -- 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: /tmp/$/foo_build /tmp/$/foo_build$ make Scanning dependencies of target foo make[2]: *** No rule to make target `/tmp/foo/main.cpp', needed by `CMakeFiles/foo.dir/main.cpp.o'. Stop. make[1]: *** [CMakeFiles/foo.dir/all] Error 2 make: *** [all] Error 2 /tmp/$/foo_build$ cat.sh ../foo/ CMakeLists.txt main.cpp /tmp/$/foo_build$ cat.sh ../foo/* ==> ../foo/CMakeLists.txt <== add_executable(foo main.cpp) ==> ../foo/main.cpp <== int main() { return 0; } | ||||||||||||||
Steps To Reproduce | |||||||||||||||
Additional Information | |||||||||||||||
Tags | No tags attached. | ||||||||||||||
Relationships |
| ||||||||||||||
Attached Files | |||||||||||||||
Issue History | |||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||
2012-08-13 22:36 | kMh3Bt2pBM | New Issue | |||||||||||||
2012-09-28 16:31 | Brad King | Relationship added | related to 0013562 | ||||||||||||
2012-11-19 08:03 | Brad King | Relationship added | related to 0013703 | ||||||||||||
2012-11-19 08:05 | Brad King | Note Added: 0031604 | |||||||||||||
2012-11-19 08:05 | Brad King | Status | new => backlog | ||||||||||||
2016-06-10 14:28 | Kitware Robot | Note Added: 0042103 | |||||||||||||
2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved | ||||||||||||
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||||||||||||
2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | ||||||||||||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|