static lib

This commit is contained in:
2020-11-06 14:34:08 +03:00
parent ca8db429db
commit 37eb315414

View File

@@ -57,7 +57,12 @@ macro(shstk_begin_project domain module)
endif() endif()
shstk_define_option(LOCAL "Local install" OFF) shstk_define_option(LOCAL "Local install" OFF)
shstk_define_option(STATIC_LIB "Build static libraries" OFF) if (DEFINED ENV{QNX_HOST} OR PIP_FREERTOS)
set(STATIC_LIB_DEFAULT ON)
else()
set(STATIC_LIB_DEFAULT OFF)
endif()
shstk_define_option(STATIC_LIB "Build static libraries" ${STATIC_LIB_DEFAULT})
set(_path "local \"bin\", \"lib\" and \"include\"") set(_path "local \"bin\", \"lib\" and \"include\"")
if (NOT LOCAL) if (NOT LOCAL)
if (WIN32) if (WIN32)