Skip to content

Commit

Permalink
Disable long-running buildsystem tests by default (#97) (#100)
Browse files Browse the repository at this point in the history
Co-authored-by: Louise Poubel <[email protected]>
Co-authored-by: Steve Peters <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
3 people committed Aug 24, 2021
1 parent e9dc389 commit 7f4d889
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ include(IgnCMake)
# Set up the project
ign_configure_project()

#--------------------------------------
# Set project-specific options
option(BUILDSYSTEM_TESTING "Enable extended buildsystem testing" FALSE)

#============================================================================
# Configure the package to be installed
#============================================================================
Expand Down Expand Up @@ -81,7 +85,9 @@ message(STATUS "Install prefix: ${CMAKE_INSTALL_PREFIX}")
include(CTest)
if (BUILD_TESTING)
add_subdirectory(test)
endif()

if (BUILD_TESTING AND BUILDSYSTEM_TESTING)
#============================================================================
# Build examples
#============================================================================
Expand Down

0 comments on commit 7f4d889

Please sign in to comment.