MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015581 | CMake | CMake | public | 2015-05-22 11:58 | 2016-06-10 14:31 |
Reporter | herc4mac | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | Apple Mac | OS | Yosemite | OS Version | 10.10.3 |
Product Version | CMake 3.2.2 | ||||
Target Version | Fixed in Version | ||||
Summary | 0015581: cmake gets confused on apple because of the caseless files system | ||||
Description | MY symptom ... CMAKE does not honor the setting of CMAKE_iINSTALL_PREFIX and CMAKE_BUILD_TYPE long to describe in words, easier to follow the steps to reproduce. I am one of the developers of the Hercules emulator for the IBM s370/s390/zArch mainframes my directory structure is /Hercules /Hercules/xxxx.yyyy <== source and CMakeLists.txt /Hercules/xxxx.release please observe the capitalisation of the <root> directory my CMakeLists will determine the install prefix an the build type by parsing the name of the build directory the install prefix will be /Hercules/xxxx the build type will be Release my best regards Enrico PS even if it might be hard to fix, it should be STRONGLY documented I said severity major because a SUDO make install might break things | ||||
Steps To Reproduce | from a terminal window cd /Hercules cd xxxx.release rm * <== for a clean build cmake ../xxxx.yyyy make make install everything works as a charm! but if instead of cd /Hercules CAPITALIZED I type cd /hercules LOWER CASE cd xxxx.release ... ... ... make make install cmake will try to install to /usr/local another side effect is start from scratch cd /Hercules cd xxxx.release cmake ../xxxx.yyyy make and afterwards I start over but with cd /hercules <== note the all lower cd xxxx.release cmake ../xxxx.yyyy cmake should do nothing because nothing has changed ( looks like ) but a subsequent make will rebuild everything now thatI know I will be more careful in my cdS ... same behaviour with cmake 3.2.1 | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-05-22 11:58 | herc4mac | New Issue | |||
2016-06-10 14:29 | Kitware Robot | Note Added: 0042781 | |||
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 | |||||
|
|||||
|
|