mirror of
https://github.com/arun11299/cpp-subprocess.git
synced 2025-08-05 04:46:21 -04:00
Add option to disable building tests (#41)
This commit is contained in:
parent
3ab04aecaa
commit
6931e3d69f
@ -3,7 +3,10 @@ cmake_minimum_required(VERSION 3.1)
|
|||||||
project(subprocess CXX)
|
project(subprocess CXX)
|
||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 11)
|
set(CMAKE_CXX_STANDARD 11)
|
||||||
enable_testing()
|
|
||||||
add_subdirectory(test)
|
include(CTest)
|
||||||
|
if(BUILD_TESTING)
|
||||||
|
add_subdirectory(test)
|
||||||
|
endif()
|
||||||
|
|
||||||
install(FILES subprocess.hpp DESTINATION include/subprocess/)
|
install(FILES subprocess.hpp DESTINATION include/subprocess/)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user