Skip to content

Conversation

@jcassidyav
Copy link
Contributor

PR Checklist

What is the current behavior?

In an extensions.json file you can specify a single set of targetBuildConfigurationProperties which are applied to both debug and release, I want to be able to apply different properties to debug vs release.

What is the new behavior?

Allows you to specify different build properties for debug and release for extensions.

So as not to break existing it adds a new property targetNamedBuildConfigurationProperties where you can specify 'release' or 'debug' properties.

e.g.

 "targetNamedBuildConfigurationProperties": {
        "debug"
            "MTL_ENABLE_DEBUG_INFO" : "INCLUDE_SOURCE",
        },
        "release": {
            "MTL_ENABLE_DEBUG_INFO" : "NO",
        }
    }

@cla-bot cla-bot bot added the cla: yes label Jun 15, 2023
@jcassidyav jcassidyav changed the title Allow seperate release /debug build configuration properties for extensions feat(extensions): Allow seperate release /debug build configuration properties for extensions Jun 16, 2023
@rigor789 rigor789 merged commit fdcc98e into NativeScript:main Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants