冥焱破晓
d64ce335fc
fix scons --target=cmake command failure ( #10276 )
...
* fix scons --target=cmake command failure
* fix scons --menuconfig
scons: Reading SConscript files ...
Cannot found RT-Thread root directory, please check RTT_ROOT
2025-05-21 22:15:04 +08:00
keeping passionate!
7c39352f4c
Fixed an error by running scons --tartget=cmake under LINUX, #10113 ( #10164 )
...
Fixed an error by running scons --tartget=cmake under LINUX, and associated issue #10113
2025-04-14 07:32:53 +08:00
Kai
1e45a9dcad
[tools][cmake] get some info from env to save time ( #10062 )
...
[tools][cmake] remove some code that is unnecessary but takes time, get them from env
2025-03-01 16:10:44 +08:00
kaidegit
62cfa8c610
fix missing some flags added in Sconscript
2025-02-22 14:19:15 -05:00
Kai
e4b02a28f8
[tools][cmake] fix processing groups with similar name ( #9667 )
2024-11-22 19:06:43 +08:00
Yilin Sun
3e246caa1c
CMake: Generator re-write and bug fixes.
...
Updated CMakeLists.txt generator to handle private macro definitions for
source groups. Individual source groups are added as OBJECT libraries,
which does not generate actual archive but will be linked together at
final application linking stage. Source groups without source files are
added as INTERFACE libraries, which provides library dependencies to the
final application.
Signed-off-by: Yilin Sun <imi415@imi.moe>
2024-08-13 04:19:49 -04:00
Kai
d266ed6c43
[tool][cmake] Let cmake generator get more param from `rtconfig.py` ( #9139 )
...
let cmake generator get more param from `rtconfig.py`
* support getting c/cpp standard from c/cpp compilation flags
* support getting post action and conv it to cmake variable
* add a custom cmake file for user custom settings
* support setting project name from `--project-name=` option
2024-07-06 16:05:35 +08:00
Astrozen
ce913b95c7
[tools/cmake] fix the issue of the missing link flags added in Sconscript ( #8957 )
2024-05-21 08:58:26 +08:00
Meco Man
dd94198bd6
[gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM
2022-08-16 09:39:00 +08:00
SunJ
8c18ec64bd
cmake默认开启生成编译数据库
...
tools/cmake: Add CMAKE_EXPORT_COMPILE_COMMANDS ON
Signed-off-by: SunJ <jsun@bouffalolab.com>
2022-05-10 10:13:20 +08:00
Man, Jianting (Meco)
a0f8d43744
[gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM ( #5802 )
...
* [gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM
2022-04-20 09:56:04 +08:00
LiuKang
4e1b175138
[update] 通过 SCons生成 CMakefile.txt 使用相对路径 ( #5677 )
...
* [update] 通过 SCons生成 CMakefile.txt 使用相对路径
* [update] 通过 SCons生成 VSC 使用相对路径
2022-03-20 10:31:21 +08:00
guozhanxin
d500f2dae6
[tools] cmake-clang compatible with bsp that does not support C++.
2021-07-01 08:16:21 +08:00
guozhanxin
194e33a792
[tools] add scons --target=cmake-armclang
2021-07-01 01:30:50 +08:00
guozhanxin
b67e6bbafd
[cmake] fix path issue.
2021-06-25 21:07:23 +08:00
thread-liu
7a52944051
[update] support windows cmake tool.
2021-06-17 14:44:34 +08:00
thread-liu
f5d636626c
[update] cmake.py, delete extra code.
2021-04-19 18:31:35 +08:00
thread-liu
9be6445890
[update] cmake.py, add c++ support and libpath.
2021-04-19 09:46:07 +08:00
Meco Jianting Man
8566bfe883
增加作者信息
2021-04-10 17:08:21 +08:00
Meco Man
9a0569d44f
add endline
2021-03-18 00:15:13 +08:00
Meco Man
b173ebde98
[tools] 增加cmake生成工具
2021-03-18 00:12:48 +08:00