mirror of
https://github.com/platformio/platformio-core.git
synced 2025-08-03 11:54:26 +02:00
New lib_archive option to control library archiving and linking behaviour // Resolve #993
This commit is contained in:
@@ -9,6 +9,9 @@ PlatformIO 3.0
|
|||||||
|
|
||||||
* Pre/Post extra scripting for advanced control of PIO Build System
|
* Pre/Post extra scripting for advanced control of PIO Build System
|
||||||
(`issue #891 <https://github.com/platformio/platformio-core/issues/891>`_)
|
(`issue #891 <https://github.com/platformio/platformio-core/issues/891>`_)
|
||||||
|
* New `lib_archive <http://docs.platformio.org/page/projectconf/section_env_library.html#lib-archive>`_
|
||||||
|
option to control library archiving and linking behaviour
|
||||||
|
(`issue #993 <https://github.com/platformio/platformio-core/issues/993>`_)
|
||||||
* Add "inc" folder automatically to CPPPATH when "src" is available (works for project and library)
|
* Add "inc" folder automatically to CPPPATH when "src" is available (works for project and library)
|
||||||
(`issue #1003 <https://github.com/platformio/platformio-core/issues/1003>`_)
|
(`issue #1003 <https://github.com/platformio/platformio-core/issues/1003>`_)
|
||||||
* Use a root of library when filtering source code using
|
* Use a root of library when filtering source code using
|
||||||
|
2
docs
2
docs
Submodule docs updated: 6dcdabb99f...ebd68b4bac
@@ -50,6 +50,7 @@ commonvars.AddVariables(
|
|||||||
("LIB_DEPS",),
|
("LIB_DEPS",),
|
||||||
("LIB_IGNORE",),
|
("LIB_IGNORE",),
|
||||||
("LIB_EXTRA_DIRS",),
|
("LIB_EXTRA_DIRS",),
|
||||||
|
("LIB_ARCHIVE",),
|
||||||
|
|
||||||
# board options
|
# board options
|
||||||
("BOARD",),
|
("BOARD",),
|
||||||
|
@@ -169,7 +169,7 @@ class LibBuilderBase(object):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def lib_archive(self):
|
def lib_archive(self):
|
||||||
return True
|
return self.env.get("LIB_ARCHIVE", "") != "false"
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def validate_ldf_mode(mode):
|
def validate_ldf_mode(mode):
|
||||||
|
@@ -132,11 +132,11 @@ class EnvironmentProcessor(object):
|
|||||||
"upload_protocol", "upload_speed", "upload_flags",
|
"upload_protocol", "upload_speed", "upload_flags",
|
||||||
"upload_resetmethod", "lib_deps", "lib_ignore",
|
"upload_resetmethod", "lib_deps", "lib_ignore",
|
||||||
"lib_extra_dirs", "lib_ldf_mode", "lib_compat_mode",
|
"lib_extra_dirs", "lib_ldf_mode", "lib_compat_mode",
|
||||||
"piotest", "test_transport", "test_ignore", "test_port",
|
"lib_archive", "piotest", "test_transport", "test_ignore",
|
||||||
"debug_tool", "debug_port", "debug_init_cmds",
|
"test_port", "debug_tool", "debug_port",
|
||||||
"debug_extra_cmds", "debug_server", "debug_init_break",
|
"debug_init_cmds", "debug_extra_cmds", "debug_server",
|
||||||
"debug_load_cmd", "monitor_port", "monitor_baud",
|
"debug_init_break", "debug_load_cmd", "monitor_port",
|
||||||
"monitor_rts", "monitor_dtr")
|
"monitor_baud", "monitor_rts", "monitor_dtr")
|
||||||
|
|
||||||
IGNORE_BUILD_OPTIONS = ("test_transport", "test_filter", "test_ignore",
|
IGNORE_BUILD_OPTIONS = ("test_transport", "test_filter", "test_ignore",
|
||||||
"test_port", "debug_tool", "debug_port",
|
"test_port", "debug_tool", "debug_port",
|
||||||
|
Reference in New Issue
Block a user