mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
cmake(feat):support define additional config option for CMake
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
This commit is contained in:
@@ -23,6 +23,12 @@
|
|||||||
# search. If the manual of the newly supported toolchain is different, you can
|
# search. If the manual of the newly supported toolchain is different, you can
|
||||||
# override these methods in the toolchain
|
# override these methods in the toolchain
|
||||||
|
|
||||||
|
# Support CMake to define additional configuration options
|
||||||
|
|
||||||
|
if(EXTRA_FLAGS)
|
||||||
|
add_compile_options(${EXTRA_FLAGS})
|
||||||
|
endif()
|
||||||
|
|
||||||
# ~~~
|
# ~~~
|
||||||
# nuttx_generate_preproces_target
|
# nuttx_generate_preproces_target
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user