File tree 4 files changed +1
-7
lines changed
4 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 30
30
- name : ubuntu-22.04-clang-15-no-exceptions
31
31
os : ubuntu-22.04
32
32
compiler : clang-15
33
- cmake_vars : " -DCMAKE_CXX_FLAGS=-fno-exceptions -DBUILD_TESTING=OFF -DBUILD_BENCHMARK=ON "
33
+ cmake_vars : " -DCMAKE_CXX_FLAGS=-fno-exceptions -DBUILD_TESTING=OFF"
34
34
35
35
- name : ubuntu-22.04-gcc
36
36
os : ubuntu-22.04
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ option(INJA_INSTALL_SINGLE_HEADER "Install the single header instead" OFF)
14
14
option (INJA_EXPORT "Export the current build tree to the package registry" ON )
15
15
option (BUILD_TESTING "Build unit tests" ON )
16
16
option (INJA_BUILD_TESTS "Build unit tests when BUILD_TESTING is enabled." ON )
17
- option (BUILD_BENCHMARK "Build benchmark" ON )
18
17
option (COVERALLS "Generate coveralls data" OFF )
19
18
20
19
@@ -103,10 +102,8 @@ if(BUILD_TESTING AND INJA_BUILD_TESTS)
103
102
target_include_directories (single_inja_test PRIVATE include third_party/include )
104
103
105
104
add_test (single_inja_test ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} /single_inja_test)
106
- endif ()
107
105
108
106
109
- if (BUILD_BENCHMARK)
110
107
add_executable (inja_benchmark test /benchmark.cpp)
111
108
target_link_libraries (inja_benchmark PRIVATE inja)
112
109
endif ()
Original file line number Diff line number Diff line change @@ -52,10 +52,8 @@ if get_option('build_tests')
52
52
53
53
test (' Inja unit test' , inja_test)
54
54
test (' Inja single include test' , inja_single_test)
55
- endif
56
55
57
56
58
- if get_option (' build_benchmark' )
59
57
inja_benchmark = executable (
60
58
' inja_benchmark' ,
61
59
' test/benchmark.cpp' ,
Original file line number Diff line number Diff line change 1
1
option (' build_tests' , type : ' boolean' , value : true )
2
- option (' build_benchmark' , type : ' boolean' , value : true )
You can’t perform that action at this time.
0 commit comments