Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-14678

[C++] Add reasonable CMake Presets for quick arrow development environment setup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 7.0.0
    • C++

    Description

      CMake presets provide the most commonly used combinations of build options in a simple JSON that can be invoked using the cmake command in the following ways.

      cmake --list-presets .. // To check the list of build combinations available

      cmake --preset <chosen-preset-name> .. // creates a build folder with preset name and puts all relevant files under it.

      Attached is a sample preset file I have been using for local development, but it is very limited. Any suggestions are welcome.

      please do note that presets doesn't take care of dependency, just the build options when there are a lot.

      Attachments

        1. CMakePresets.json
          2 kB
          Pradeep Garigipati

        Issue Links

          Activity

            People

              pradeepgarigipati Pradeep Garigipati
              pradeepgarigipati Pradeep Garigipati
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3.5h
                  3.5h