Bug #449

Fix RST compile time behaviour

Added by M. Goetting almost 13 years ago. Updated almost 13 years ago.

Status:ResolvedStart date:07/27/2011
Priority:NormalDue date:
Assignee:J. Moringen% Done:

100%

Category:-
Target version:-

Description

Files starting with "." or special characters should not be selected as files.

CPP_FILE=/homes/mgoettin/src/rst/trunk/build/cpp/proto/rst/.#ViconData.pb.cc
HDR_FILE=/homes/mgoettin/src/rst/trunk/build/cpp/proto/rst/.#ViconData.pb.h
JAVA_FILE=/homes/mgoettin/src/rst/trunk/build/cpp/proto/rst/.#ViconData.java

CMake Error at /homes/mgoettin/projects_x86_64_carbon/share/cmake/Modules/FindProtocolBuffers.cmake:217 (ADD_CUSTOM_COMMAND):
  add_custom_command called with OUTPUT containing a "#".  This character is
  not allowed.
Call Stack (most recent call first):
  cpp/CMakeLists.txt:4 (PROTOBUF_GENERATE)

Associated revisions

Revision b1600d4b
Added by J. Moringen almost 13 years ago

Fixed .proto file localization in CMakeLists.txt
fixes #449
  • CMakeLists.txt: when locating .proto files, only search in proto/
    subdirectory and omit files whose name starts with "." (this avoids
    editor swap files and the like)

History

#1 Updated by J. Moringen almost 13 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r22.

Also available in: Atom PDF