MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013800 | CMake | CMake | public | 2012-12-17 06:28 | 2014-06-02 08:37 |
Reporter | Jonathan De Wachter | ||||
Assigned To | Stephen Kelly | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0013800: Only one directory taken into account (CMAKE_FIND_ROOT_PATH) | ||||
Description | CMake doesn't search at *all* path defined by CMAKE_FIND_ROOT_PATH (at least for headers include). I can get my headers found for the first path defined but the second, the third... it doesn't work. My scenario is a compiler split and located at different location (you'll find some headers and libraries located in several external directories). This is the case for Android compilers provided by the NDK which include the STL library version according: - the Android API you are targeting - the compiler brand/version. This is the main compiler directory: $NDK/toolchains/arm-compiler/bin/<compilers here> $NDK/toolchains/arm-compiler/include/<several files but no stl headers> This is an external directory including some headers and libraries: $NDK/platforms/android-9/include<again some several files but no stl headers> $NDK/platforms/android-14/include<again some several files but no stl headers> This is another external directory including several STL versions: $NDK/sources/cxx-stl/gnu-libstdc++/4.6/<stl headers> $NDK/sources/cxx-stl/gnu-libstdc++/4.4.3/<stl headers> $NDK/sources/cxx-stl/stlport/stlport/<stl headers> The goal is pick up the right headers/libraries and so make a customized compiler suitable for the targeted mobile and the targeted os. | ||||
Steps To Reproduce | |||||
Additional Information | I know I actually should use a script which generates a standalone compiler with all headers/libraries at a same location. But I don't want that. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-12-17 06:28 | Jonathan De Wachter | New Issue | |||
2013-07-03 12:02 | Stephen Kelly | Note Added: 0033465 | |||
2013-11-02 09:08 | Stephen Kelly | Status | new => resolved | ||
2013-11-02 09:08 | Stephen Kelly | Resolution | open => no change required | ||
2013-11-02 09:08 | Stephen Kelly | Assigned To | => Stephen Kelly | ||
2014-06-02 08:37 | Robert Maynard | Note Added: 0035980 | |||
2014-06-02 08:37 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|