mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-12-26 11:17:44 +01:00
[cmake]: export json compile cmd for VSC
Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: I25e1f660a2fc9629399ac5b298141b54a952cd2d
This commit is contained in:
parent
64cf1d5a16
commit
95f472e373
1 changed files with 4 additions and 0 deletions
|
|
@ -62,6 +62,10 @@ set_property(GLOBAL PROPERTY PREDEFINED_TARGETS_FOLDER "CMakeTargets")
|
||||||
# enable test in this project
|
# enable test in this project
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
option(BUILD_TEST "enable test binary building)" ON)
|
option(BUILD_TEST "enable test binary building)" ON)
|
||||||
|
# ----------------------------------------------------------------------------
|
||||||
|
# export json compile commands
|
||||||
|
# ----------------------------------------------------------------------------
|
||||||
|
set(CMAKE_EXPORT_COMPILE_COMMANDS true)
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
# System architecture detection
|
# System architecture detection
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue