diff options
| author | Brent Cook <bcook@openbsd.org> | 2018-03-18 09:52:54 -0500 |
|---|---|---|
| committer | Brent Cook <bcook@openbsd.org> | 2018-03-18 09:52:54 -0500 |
| commit | 57988468e69495074c9309ecddc80764d8dbf8cd (patch) | |
| tree | d866e6ad8a2a09e92d0da088b6ba5bf275226dfa | |
| parent | c9c8e32fbe95f254f9017c23b4804c5988f35caa (diff) | |
| parent | aa60dd89f44b943a85df353b9f5be3521241a1b3 (diff) | |
| download | portable-57988468e69495074c9309ecddc80764d8dbf8cd.tar.gz portable-57988468e69495074c9309ecddc80764d8dbf8cd.tar.bz2 portable-57988468e69495074c9309ecddc80764d8dbf8cd.zip | |
Land #401, Conditionally build apps
| -rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index df92e6a..7e13ed7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -28,6 +28,7 @@ string(REPLACE ":" "." TLS_VERSION ${TLS_VERSION}) | |||
| 28 | string(REGEX REPLACE "\\..*" "" TLS_MAJOR_VERSION ${TLS_VERSION}) | 28 | string(REGEX REPLACE "\\..*" "" TLS_MAJOR_VERSION ${TLS_VERSION}) |
| 29 | 29 | ||
| 30 | option(LIBRESSL_SKIP_INSTALL "Skip installation" ${LIBRESSL_SKIP_INSTALL}) | 30 | option(LIBRESSL_SKIP_INSTALL "Skip installation" ${LIBRESSL_SKIP_INSTALL}) |
| 31 | option(LIBRESSL_APPS "Build apps" ON) | ||
| 31 | option(ENABLE_ASM "Enable assembly" ON) | 32 | option(ENABLE_ASM "Enable assembly" ON) |
| 32 | option(ENABLE_EXTRATESTS "Enable extra tests that may be unreliable on some platforms" OFF) | 33 | option(ENABLE_EXTRATESTS "Enable extra tests that may be unreliable on some platforms" OFF) |
| 33 | option(ENABLE_NC "Enable installing TLS-enabled nc(1)" OFF) | 34 | option(ENABLE_NC "Enable installing TLS-enabled nc(1)" OFF) |
| @@ -307,7 +308,9 @@ add_definitions(-DSIZEOF_TIME_T=${SIZEOF_TIME_T}) | |||
| 307 | 308 | ||
| 308 | add_subdirectory(crypto) | 309 | add_subdirectory(crypto) |
| 309 | add_subdirectory(ssl) | 310 | add_subdirectory(ssl) |
| 310 | add_subdirectory(apps) | 311 | if(LIBRESSL_APPS) |
| 312 | add_subdirectory(apps) | ||
| 313 | endif() | ||
| 311 | add_subdirectory(tls) | 314 | add_subdirectory(tls) |
| 312 | add_subdirectory(include) | 315 | add_subdirectory(include) |
| 313 | if(NOT MSVC) | 316 | if(NOT MSVC) |
