Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite72816a

Browse files
committed
Added CMake option to disable building experiments
1 parenta315e2b commite72816a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ project(CPP-NETLIB)
88

99
option(CPP-NETLIB_BUILD_SHARED_LIBS"Build cpp-netlib as shared libraries."OFF )
1010
option(CPP-NETLIB_BUILD_TESTS"Build the cpp-netlib project tests."ON)
11+
option(CPP-NETLIB_BUILD_EXPERIMENTS"Build the cpp-netlib project experiments."ON)
1112
option(CPP-NETLIB_BUILD_EXAMPLES"Build the cpp-netlib project examples."ON)
1213

1314
include(GNUInstallDirs)
@@ -87,7 +88,9 @@ if (Boost_FOUND)
8788
if (CPP-NETLIB_BUILD_TESTS)
8889
add_subdirectory(libs/network/test)
8990
endif (CPP-NETLIB_BUILD_TESTS)
90-
add_subdirectory(libs/network/experiment)
91+
if (CPP-NETLIB_BUILD_EXPERIMENTS)
92+
add_subdirectory(libs/network/experiment)
93+
endif (CPP-NETLIB_BUILD_EXPERIMENTS)
9194
if (NOTMSVCANDCPP-NETLIB_BUILD_TESTS)
9295
add_subdirectory(libs/mime/test)
9396
endif(NOTMSVCANDCPP-NETLIB_BUILD_TESTS)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp