File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,6 @@ script:
156156 - export CXX=${COMPILER}
157157 - JOBS=2 # Travis machines have 2 cores.
158158 - mkdir build && cd build
159- - cmake -G "Unix Makefiles" ..
159+ - cmake -G "Unix Makefiles" -DSTRINGVIEW_LITE_OPT_BUILD_TESTS=ON -DSTRINGVIEW_LITE_OPT_BUILD_EXAMPLES=OFF ..
160160 - cmake --build . -- -j${JOBS}
161161 - ctest --output-on-failure -j${JOBS}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ set( string_view_lite_version "1.0.0" )
1111
1212# Enable building and performing of tests and building of examples:
1313
14- option ( STRINGVIEW_LITE_OPT_BUILD_TESTS "Build and perform string-view-lite tests" ON )
14+ option ( STRINGVIEW_LITE_OPT_BUILD_TESTS "Build and perform string-view-lite tests" OFF )
1515option ( STRINGVIEW_LITE_OPT_BUILD_EXAMPLES "Build string-view-lite examples" OFF )
1616
1717option ( STRINGVIEW_LITE_OPT_SELECT_STDSV "Select std::string_view" OFF )
@@ -37,7 +37,7 @@ target_include_directories(
3737
3838# Installation:
3939
40- install (
40+ install (
4141 DIRECTORY ${CMAKE_SOURCE_DIR} /include / DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} )
4242
4343# If requested, build and perform tests, build examples:
You can’t perform that action at this time.
0 commit comments