Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
2c30e0a1
Unverified
Commit
2c30e0a1
authored
May 31, 2020
by
Eric Cousineau
Committed by
GitHub
May 31, 2020
Browse files
cmake: Expose `PYBIND11_TEST_OVERRIDE` (#2218)
Primarily for the ccmake curses GUI
parent
a3118130
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
tests/CMakeLists.txt
tests/CMakeLists.txt
+1
-0
No files found.
tests/CMakeLists.txt
View file @
2c30e0a1
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
cmake_minimum_required
(
VERSION 2.8.12
)
cmake_minimum_required
(
VERSION 2.8.12
)
option
(
PYBIND11_WERROR
"Report all warnings as errors"
OFF
)
option
(
PYBIND11_WERROR
"Report all warnings as errors"
OFF
)
set
(
PYBIND11_TEST_OVERRIDE
""
CACHE STRING
"Tests from ;-separated list of *.cpp files will be built instead of all tests"
)
if
(
CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR
)
if
(
CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR
)
# We're being loaded directly, i.e. not via add_subdirectory, so make this
# We're being loaded directly, i.e. not via add_subdirectory, so make this
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment