diff options
author | Krzysztof Rosinski <krzysiek@jrdltd.co.uk> | 2022-06-30 19:31:54 +0300 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2022-07-04 15:39:04 +0300 |
commit | 1c9c30db53fab836ec6eb5fab49e947650f7fd96 (patch) | |
tree | b613951290c0a935fdb198a4c5a2f62251223cf4 /CMakeLists.txt | |
parent | f84ad7f7178c24bb14761e6011a3fa68d5879d1b (diff) |
Add --c-style command line option for naming style (#199, #533, #791)
This option converts the type names from .proto files to a style
that is commonly used in C code. Enum entries are in upper case,
and camel case is converted to underscore separated names.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b7f43c9..bf42cd0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -123,7 +123,7 @@ if(nanopb_BUILD_RUNTIME) ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) target_include_directories(protobuf-nanopb-static INTERFACE $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}> - $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> + $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> ) endif() |