c19cbdf8d6
When building from git tags, the version number in `include/version.h` is extracted from the output of `git describe`. While that is correct, cmake was not configured to strip trailing whitespace from the command output, which resulted in the version number being `12.5.1\n`. That broke the generation of `include/version.h`, as the `\n` resulted in the terminating quote being in a new line. This commit fixes that by instructing cmake to strip trailing whitespace. |
||
---|---|---|
.. | ||
menuconfig.cmake | ||
nuttx_add_application.cmake | ||
nuttx_add_dependencies.cmake | ||
nuttx_add_library.cmake | ||
nuttx_add_module.cmake | ||
nuttx_add_romfs.cmake | ||
nuttx_add_subdirectory.cmake | ||
nuttx_add_symtab.cmake | ||
nuttx_allsyms.cmake | ||
nuttx_create_symlink.cmake | ||
nuttx_export_header.cmake | ||
nuttx_generate_headers.cmake | ||
nuttx_generate_outputs.cmake | ||
nuttx_kconfig.cmake | ||
nuttx_mkconfig.cmake | ||
nuttx_mkversion.cmake | ||
nuttx_parse_function_args.cmake | ||
nuttx_redefine_symbols.cmake | ||
nuttx_source_file_properties.cmake | ||
savedefconfig.cmake | ||
symtab.c.in |