Uploaded image for project: 'Open Development'
  1. Open Development
  2. OPEN-76 --config-file options does not work correctly.
  3. OPEN-77

Prebuilt.cmake should be altered to allow correct passing of additonal arguments for autobuild install

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Severe
    • Resolution: Won't Finish
    • Component/s: autobuild, viewer build
    • Labels:
      None

      Description

      Add parameters to autobuild install call to correctly allow passing of --config-file options and any other additional arguments.

      Test plan

      Using the repo noted below, or one you patch yourself.

      1. Create a copy of autobuild.xml for modifying (e.g. ab-test.xml).
      2. Rename autobuild.xml to autobuild.xml.safe
      3. Modify your copied file to change the way v-d will be built. Do this in a way that you will be able to verify that the changes happen as expected.
        e.g.

        autobuild edit configure --config-file ab-test.xml platform=windows name=ReleaseOS options="-G, ""Visual Studio 10"", -DUNATTENDED:BOOL=ON, -DLL_TESTS:BOOL=OFF, -DPACKAGE:BOOL=OFF"


        will change a Windows RelaseOS configuration to not run tests or package the viewer for installing.

      4. run autobuild configure using your custom file:
        e.g.

        autobuild configure --config-file ab-test.xml -c ReleaseOS -- -DAUTOBUILD_EXTRA_ARGS:STRING=--config-file=ab-test.xml

      the configure should complete without any errors. Subsequent building (autobuild build --no-configure -c ReleaseOS) should build the viewer with the changes made to your configuration file.

        Attachments

          Activity

            People

            Assignee:
            ima.mechanique Ima Mechanique
            Reporter:
            ima.mechanique Ima Mechanique
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                PagerDuty