queezythegreat / arduino-cmake

Arduino CMake Build system
645 stars 216 forks source link

Skip generated sources in function find_arduino_libraries #59

Closed PIlin closed 11 years ago

PIlin commented 11 years ago

I had an issue with files sources, generated from protobuf idl.

Source files are known to cmake, there are targets to generate them. But, arduino-cmake in find_arduino_libraries tries to read not existing yet files and generates an error.

My solution is just to skip such marked as generated files.

queezythegreat commented 11 years ago

Hi, thanks for submitting your patch. Everything looks OK.