MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0010997 | CMake | Modules | public | 2010-07-15 17:11 | 2011-11-11 10:45 |
Reporter | bcmpinc | ||||
Assigned To | Philip Lowman | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | CMake-2-8 | ||||
Target Version | CMake 2.8.5 | Fixed in Version | CMake 2.8.5 | ||
Summary | 0010997: PROTOBUF_GENERATE_CPP returns wrong path. | ||||
Description | The PROTOBUF_GENERATE_CPP returns the wrong paths when the *.proto file is not in the same directory as the CMakeLists.txt. Steps to reproduce: - Create a CMakeLists.txt file in /tmp containing: CMAKE_MINIMUM_REQUIRED(VERSION 2.8) FIND_PACKAGE(Protobuf) PROTOBUF_GENERATE_CPP(src h sub/dir/file.proto) MESSAGE("Generated file: ${src}") ADD_EXECUTABLE(test ${src}) - Create an empty file at /tmp/sub/dir/file.proto - cd to /tmp and run 'cmake .' - Run 'make' Actual result: CMake prints 'Generated file: /tmp/file.pb.cc', however Protoc creates the file /tmp/sub/dir/file.pb.cc Expected result: CMake prints 'Generated file: /tmp/sub/dir/file.pb.cc' Protoc creates the file /tmp/sub/dir/file.pb.cc | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | FindProtobuf_subdirs.patch (507) 2010-07-20 17:01 https://public.kitware.com/Bug/file/3254/FindProtobuf_subdirs.patch FindProtobuf.cmake (5,329) 2011-05-26 00:07 https://public.kitware.com/Bug/file/3898/FindProtobuf.cmake | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-07-15 17:11 | bcmpinc | New Issue | |||
2010-07-20 17:01 | bcmpinc | File Added: FindProtobuf_subdirs.patch | |||
2010-07-20 17:02 | bcmpinc | Note Added: 0021433 | |||
2010-08-19 08:13 | Philip Lowman | Status | new => assigned | ||
2010-08-19 08:13 | Philip Lowman | Assigned To | => Philip Lowman | ||
2011-05-25 22:46 | Philip Lowman | Note Added: 0026604 | |||
2011-05-25 22:46 | Philip Lowman | Status | assigned => resolved | ||
2011-05-25 22:46 | Philip Lowman | Resolution | open => fixed | ||
2011-05-25 22:46 | Philip Lowman | Fixed in Version | => CMake 2.8.5 | ||
2011-05-25 22:46 | Philip Lowman | Target Version | => CMake 2.8.5 | ||
2011-05-26 00:05 | Philip Lowman | Note Added: 0026605 | |||
2011-05-26 00:05 | Philip Lowman | Status | resolved => feedback | ||
2011-05-26 00:05 | Philip Lowman | Resolution | fixed => reopened | ||
2011-05-26 00:07 | Philip Lowman | File Added: FindProtobuf.cmake | |||
2011-05-26 00:10 | Philip Lowman | Note Added: 0026606 | |||
2011-05-26 00:10 | Philip Lowman | Status | feedback => confirmed | ||
2011-05-26 00:10 | Philip Lowman | Resolution | reopened => open | ||
2011-05-26 00:10 | Philip Lowman | Fixed in Version | CMake 2.8.5 => | ||
2011-06-07 01:20 | Philip Lowman | Note Added: 0026732 | |||
2011-06-07 01:20 | Philip Lowman | Status | confirmed => resolved | ||
2011-06-07 01:20 | Philip Lowman | Resolution | open => fixed | ||
2011-06-07 01:20 | Philip Lowman | Fixed in Version | => CMake 2.8.5 | ||
2011-11-11 10:45 | David Cole | Note Added: 0027761 | |||
2011-11-11 10:45 | David Cole | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|