mirror of
https://github.com/arun11299/cpp-subprocess.git
synced 2025-08-04 12:26:19 -04:00
Added an option to build tests that defaults to off
This commit is contained in:
parent
1392c47cbb
commit
9efaec26d2
@ -4,6 +4,10 @@ project(subprocess CXX)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
|
||||
# Options
|
||||
option(BUILD_TESTING "Build tests" OFF)
|
||||
|
||||
# Tests
|
||||
include(CTest)
|
||||
if(BUILD_TESTING)
|
||||
add_subdirectory(test)
|
||||
|
Loading…
x
Reference in New Issue
Block a user