nuttx/cmake
Pietro Albini c19cbdf8d6 cmake: fix invalid syntax when generating version.h from tags
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.
2024-08-21 23:32:09 +08:00
..
menuconfig.cmake cmake:Remove Unix-specific code and replace it with cmake script to support cross-platform 2024-08-14 14:02:28 +08:00
nuttx_add_application.cmake cmake:add unified timing control phase apps_context for apps build 2024-08-21 01:53:09 +08:00
nuttx_add_dependencies.cmake
nuttx_add_library.cmake cmake:add unified timing control phase apps_context for apps build 2024-08-21 01:53:09 +08:00
nuttx_add_module.cmake
nuttx_add_romfs.cmake
nuttx_add_subdirectory.cmake
nuttx_add_symtab.cmake
nuttx_allsyms.cmake cmake:bugfix fix CMake post_build phase time orderless 2024-08-21 01:53:09 +08:00
nuttx_create_symlink.cmake
nuttx_export_header.cmake
nuttx_generate_headers.cmake cmake:add unified timing control phase apps_context for apps build 2024-08-21 01:53:09 +08:00
nuttx_generate_outputs.cmake cmake:bugfix fix CMake post_build phase time orderless 2024-08-21 01:53:09 +08:00
nuttx_kconfig.cmake
nuttx_mkconfig.cmake
nuttx_mkversion.cmake cmake: fix invalid syntax when generating version.h from tags 2024-08-21 23:32:09 +08:00
nuttx_parse_function_args.cmake
nuttx_redefine_symbols.cmake
nuttx_source_file_properties.cmake
savedefconfig.cmake cmake:Remove Unix-specific code and replace it with cmake script to support cross-platform 2024-08-14 14:02:28 +08:00
symtab.c.in