MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0013754 | CMake | CMake | public | 2012-11-28 16:31 | 2016-06-10 14:31 |
| Reporter | Edward Rudd | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | block | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | CMake 2.8.9 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0013754: Ninja: Framework paths are not correctly added to g++ commandline args. | ||||
| Description | I have a project that uses a custom framework path to find OS X frameworks. When using the ninja generator the -F/path/to/framework/path is not added to the GCC command line causing compiles to fail. | ||||
| Steps To Reproduce | FIND_LIBRARY(SDL2_LIBRARY SDL2 PATHS SDL2/lib/osx) MARK_AS_ADVANCED(SDL2_LIBRARY) ADD_LIBRARY(Lib STATIC ${SOURCE} ) TARGET_LINK_LIBRARIES(Lib ${SDL2_LIBRARY} ) | ||||
| Additional Information | This is the C++ command called when using the unix makefile generator (paths changed to protect the innocent) /usr/bin/c++ -D_DEV -g -arch i386 -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/path/to/source/src/.. -F/path/to/source/SDL2/lib/osx -o CMakeFiles/Lib.dir/SDL2Threading.cpp.o -c /path/to/source/src/SDL2Threading.cpp This is that ninja called /usr/bin/c++ -D_DEV -g -arch i386 -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/path/to/source/src/.. -MMD -MT Lib/CMakeFiles/Lib.dir/SDL2Threading.cpp.o -MF "Lib/CMakeFiles/Lib.dir/SDL2Threading.cpp.o.d" -o Lib/CMakeFiles/Lib.dir/SDL2Threading.cpp.o -c /path/to/source/src/SDL2Threading.cpp | ||||
| Tags | macosx, ninja | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2012-11-28 16:31 | Edward Rudd | New Issue | |||
| 2013-01-17 21:18 | Edward Rudd | Tag Attached: macosx | |||
| 2013-01-17 21:18 | Edward Rudd | Tag Attached: ninja | |||
| 2013-01-17 21:19 | Edward Rudd | Note Added: 0032118 | |||
| 2013-03-09 06:30 | Peter Kuemmel | Note Added: 0032557 | |||
| 2013-03-09 06:30 | Peter Kuemmel | Status | new => backlog | ||
| 2016-06-10 14:28 | Kitware Robot | Note Added: 0042160 | |||
| 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 | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||