Skip to content

Commit

Permalink
Only build examples and tests if requested
Browse files Browse the repository at this point in the history
  • Loading branch information
jchristopherson committed Feb 27, 2018
1 parent 4502b5a commit 2876577
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ add_subdirectory(src)
# ------------------------------------------------------------------------------
# EXAMPLES
# ------------------------------------------------------------------------------
option(BUILD_FERROR_EXAMPLES "Build FERROR examples?" ON)
option(BUILD_FERROR_EXAMPLES "Build FERROR examples?" OFF)
if (BUILD_FERROR_EXAMPLES)
# Inform the user we're building the examples
message(STATUS "Building FERROR examples.")
Expand All @@ -62,7 +62,7 @@ endif()
# TESTS
# ------------------------------------------------------------------------------
# C Based Testing
option(BUILD_FERROR_TESTS "Build FERROR tests?" ON)
option(BUILD_FERROR_TESTS "Build FERROR tests?" OFF)
if (BUILD_FERROR_TESTS)
# Inform the user we're building the tests
message(STATUS "Building FERROR tests.")
Expand Down

0 comments on commit 2876577

Please sign in to comment.