Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake: add a BUILD_APPS to be able to disable build of all applications #2895

Merged
merged 1 commit into from Oct 11, 2021

Conversation

rouault
Copy link
Member

@rouault rouault commented Oct 9, 2021

This makes it easier to turn off all programs, rather than individually.
Useful for example to avoid https://github.com/OSGeo/gdal/blob/master/gdal/fuzzers/build.sh#L138

@rouault rouault added this to the 8.2.0 milestone Oct 9, 2021
@rouault rouault requested a review from mwtoews October 9, 2021 15:24
Copy link
Member

@mwtoews mwtoews left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good meta-option for users that only need the library. Another consideration for the name is BUILD_APPS which I see other projects using, and also fitting here given we have a src/apps directory.

Suggest to add some content to docs/source/install.rst, at the top of the "CMake configure options" section.

Checking with BUILD_PROGRAMS=OFF showed many errors; see #2898 which I can handle next.

@rouault
Copy link
Member Author

rouault commented Oct 10, 2021

for the name is BUILD_APPS

done

Suggest to add some content to docs/source/install.rst

done

@rouault rouault changed the title CMake: add a BUILD_PROGRAMS to be able to disable build of all programs CMake: add a BUILD_APPS to be able to disable build of all applications Oct 10, 2021
This makes it easier to turn off all programs, rather than individually.
Useful for example to avoid https://github.com/OSGeo/gdal/blob/master/gdal/fuzzers/build.sh#L138
@rouault rouault merged commit c8d5399 into OSGeo:master Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants