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 cmake:new feature on enhance apps header cmake module 2023-08-17 13:10:15 +08:00
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 cmake/romfs: separate c flags to avoid compile fail 2024-05-09 23:45:23 +08:00
nuttx_add_subdirectory.cmake
nuttx_add_symtab.cmake cmake: format docstrings 2023-07-27 02:32:49 -07:00
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 fix nxstyle 2024-05-13 22:24:36 +02:00
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 cmake:bugfix generate config.h contain ; characters will be handled incorrectly 2024-04-29 11:14:48 -03:00
nuttx_mkconfig.cmake cmake:bugfix generate config.h contain ; characters will be handled incorrectly 2024-04-29 11:14:48 -03:00
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 cmake: format docstrings 2023-07-27 02:32:49 -07:00
nuttx_redefine_symbols.cmake cmake:bugfix refine sim cmake redefine symbols 2024-06-29 17:59:54 -03:00
nuttx_source_file_properties.cmake cmake:enhance set_source_files_properties for NuttX CMake module 2024-04-18 14:57:58 -03:00
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