remove platforms from build platforms list

Comments

1 comment

  • Avatar
    juanjo

    You could use the below code in your <preBuildActionList> (in the example, just Linux and Windows are supported):

    <preBuildActionList>
        <throwError text="Unsupported platform ${platform_name}: Only linux and windows are allowed">
               <ruleList>
                     <compareText text="${platform_name}" logic="does_not_equal" value="linux"/>
                     <compareText text="${platform_name}" logic="does_not_equal" value="windows"/>
               </ruleList>
        </throwError>
    </preBuildActionList>
    

Please sign in to leave a comment.