diff options
author | Oliver Lee <oliverzlee@gmail.com> | 2015-02-13 10:26:31 +0100 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2015-02-13 17:31:12 +0200 |
commit | d8d3b75e2e3b348d016f48cebc1be764061975d2 (patch) | |
tree | f8605c8719807d4fae91ba71e5796413a0ff1336 /examples/cmake_simple | |
parent | 25b92c5b4e154130bf0787009046ea60175d28e8 (diff) |
Updates for the CMake rule file.
1) Search explicitly for python2.7
In systems where python3 is default or in build cases where the user has
already searched for and found python3 in CMake, store the python3
executable and search for python2.7.
2) Generate nanopb core protobuf files with CMake
Generate python output files used in turn by the nanopb generator
script. This removes the requirement of manually calling 'make' in the
nanopb/generator/proto directory.
3) Use nanopb options file if it exists
Look for nanopb options file and use in protobuf source and header
generation if it exists. The options file must have the same name and
path as the proto file, excluding the extension.
Diffstat (limited to 'examples/cmake_simple')
0 files changed, 0 insertions, 0 deletions