Put idf tools behind a cmake flag that can be turned off
This commit is contained in:
parent
0cd3e17db7
commit
a8972f54c4
|
@ -262,6 +262,10 @@ option( KICAD_IPC_API
|
|||
"Enable experimental IPC API"
|
||||
OFF )
|
||||
|
||||
option( KICAD_IDF_TOOLS
|
||||
"Build additional idf tools"
|
||||
ON )
|
||||
|
||||
# Global setting: exports are explicit
|
||||
set( CMAKE_CXX_VISIBILITY_PRESET "hidden" )
|
||||
set( CMAKE_VISIBILITY_INLINES_HIDDEN ON )
|
||||
|
|
|
@ -4,4 +4,6 @@ if( COMPILER_SUPPORTS_WARNINGS )
|
|||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${WARN_FLAGS_C}")
|
||||
endif()
|
||||
|
||||
add_subdirectory( idftools )
|
||||
if( KICAD_IDF_TOOLS )
|
||||
add_subdirectory( idftools )
|
||||
endif()
|
Loading…
Reference in New Issue