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 P4EST_BUILD_EXAMPLES flag #316

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ include(cmake/pkgconf.cmake)
include(cmake/install.cmake)

# --- build examples
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.22)
if(P4EST_BUILD_EXAMPLES AND CMAKE_VERSION VERSION_GREATER_EQUAL 3.22)
add_subdirectory(example)
endif()

Expand Down
1 change: 1 addition & 0 deletions cmake/options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ option(enable_p6est "build p6est" on)
option(enable_p8est "build p8est" on)

option(P4EST_BUILD_TESTING "build p4est testing" on)
option(P4EST_BUILD_EXAMPLES "build p4est examples" ON)

option(enable-file-deprecated "use deprecated data file format" off)

Expand Down
1 change: 1 addition & 0 deletions doc/author_dutka.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
I place my contributions to p4est under the FreeBSD license. Alexandre Dutka (adutka@cerfacs.fr)
1 change: 1 addition & 0 deletions doc/release_notes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ There have been breaking changes, very strictly speaking.
- Bump libsc under subdirectory sc/ to v2.8.6.
- Bump libtool library version of p4est and libsc to 3:0:0.
- Enhance CMake build script in accordance with changes under sc/.
- Add CMake flag to turn off the examples build

### Documentation

Expand Down