Skip to content

Commit 2c30e0a

Browse files
cmake: Expose PYBIND11_TEST_OVERRIDE (#2218)
Primarily for the ccmake curses GUI
1 parent a311813 commit 2c30e0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
cmake_minimum_required(VERSION 2.8.12)
99

1010
option(PYBIND11_WERROR "Report all warnings as errors" OFF)
11+
set(PYBIND11_TEST_OVERRIDE "" CACHE STRING "Tests from ;-separated list of *.cpp files will be built instead of all tests")
1112

1213
if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
1314
# We're being loaded directly, i.e. not via add_subdirectory, so make this

0 commit comments

Comments
 (0)