forked from platformio/platformio-core
Rename "src_filter" and "src_build_flags" options // Resolve #4245
This commit is contained in:
1 parent
1a4419059d
commit
0849e5faad
3 files changed
+13
-9
No files matched your search
@@ -419,13 +419,14 @@ ProjectOptions = OrderedDict(
|
||||
),
|
||||
ConfigEnvOption(
|
||||
group="build",
|
||||
name="src_build_flags",
|
||||
name="build_src_flags",
|
||||
oldnames=["src_build_flags"],
|
||||
description=(
|
||||
"The same as `build_flags` but configures flags the only for "
|
||||
"project source files (`src` folder)"
|
||||
"project source files in the `src` folder"
|
||||
),
|
||||
multiple=True,
|
||||
sysenvvar="PLATFORMIO_SRC_BUILD_FLAGS",
|
||||
sysenvvar="PLATFORMIO_BUILD_SRC_FLAGS",
|
||||
buildenvvar="SRC_BUILD_FLAGS",
|
||||
),
|
||||
ConfigEnvOption(
|
||||
@@ -438,13 +439,14 @@ ProjectOptions = OrderedDict(
|
||||
),
|
||||
ConfigEnvOption(
|
||||
group="build",
|
||||
name="src_filter",
|
||||
name="build_src_filter",
|
||||
oldnames=["src_filter"],
|
||||
description=(
|
||||
"Control which source files should be included/excluded from a "
|
||||
"build process"
|
||||
"Control which source files from the `src` folder should "
|
||||
"be included/excluded from a build process"
|
||||
),
|
||||
multiple=True,
|
||||
sysenvvar="PLATFORMIO_SRC_FILTER",
|
||||
sysenvvar="PLATFORMIO_BUILD_SRC_FILTER",
|
||||
buildenvvar="SRC_FILTER",
|
||||
default="+<*> -<.git/> -<.svn/>",
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user