MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015498 | CMake | CMake | public | 2015-04-06 15:57 | 2016-06-10 14:31 |
Reporter | chenliang xu | ||||
Assigned To | Alex Neundorf | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | Apple Mac | OS | OS X | OS Version | 10.4.10 |
Product Version | CMake 3.2.1 | ||||
Target Version | Fixed in Version | ||||
Summary | 0015498: Eclipse generator not handle some include path properly | ||||
Description | Any path added by command include_directories should be included as "inc" type pathentry in .cproject file. It doesn't work as expected for path /Library/Frameworks/R.famework/Versions/3.1/Resources/library/Rcpp/include | ||||
Steps To Reproduce | Create CMakeLists.txt with following content ############################## cmake_minimum_required(VERSION 3.2) project(Foo LANGUAGES CXX) include_directories(BEFORE /Library/Frameworks/bar) include_directories(BEFORE /Library/Frameworks/R.framework/Versions/3.1/Resources/library/Rcpp/include) add_library(foo SHARED foo.cpp) ############################## Then run cmake -G "Eclipse CDT4 - Ninja" . grep '"inc"' .cproject The output is <pathentry include="/Library/Frameworks" kind="inc" path="" system="true"/> <pathentry include="/Library/Frameworks/bar" kind="inc" path="" system="true"/> <pathentry include="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1" kind="inc" path="" system="true"/> <pathentry include="/usr/local/include" kind="inc" path="" system="true"/> <pathentry include="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/include" kind="inc" path="" system="true"/> <pathentry include="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include" kind="inc" path="" system="true"/> <pathentry include="/usr/include" kind="inc" path="" system="true"/> <pathentry include="/System/Library/Frameworks" kind="inc" path="" system="true"/> Note the first entry is chopped incorrectly before word "R.framework". | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-04-06 15:57 | chenliang xu | New Issue | |||
2015-04-07 14:55 | Alex Neundorf | Assigned To | => Alex Neundorf | ||
2015-04-07 14:55 | Alex Neundorf | Status | new => assigned | ||
2016-06-10 14:29 | Kitware Robot | Note Added: 0042753 | |||
2016-06-10 14:29 | Kitware Robot | Status | assigned => resolved | ||
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|