Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-7746

Improve directory syncing with CMake helper 'create_test_executable'

    XMLWordPrintable

    Details

    • Story Points:
      2
    • Sprint:
      Storage - Ra 2021-07-12, Storage - Ra 2021-07-26

      Description

      Context:

      The CMake helper 'create_test_executable' supports an option to sync a directory over to the build directory: 'ADDITIONAL_DIRECTORIES'.

      When creating a test executable we may want to sync the contents of a directory (such as a set of configs). This being a path we want the test executable to be able to access when running in its binary location. This in particular is used by the CPP suite. 

      Problem:

      CMake currently won't detect and sync over new files added to the source directory. It only copies over the contents of a directory that are seen at the initial configuration time. We want CMake to sync over new files as they are added, whenever a subsequent configuration step is run. We possibly want to use the CMake feature: CONFIGURE_DEPENDS (https://cmake.org/cmake/help/latest/command/file.html#glob).

       

        Attachments

          Activity

            People

            Assignee:
            alison.felizzi Alison Felizzi
            Reporter:
            alison.felizzi Alison Felizzi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: