File tree 5 files changed +13
-8
lines changed
5 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.8)
2
2
3
+ set (CMAKE_CXX_STANDARD 17)
4
+ set (CMAKE_CXX_STANDARD_REQUIRED true )
5
+ set (CMAKE_CXX_EXTENSIONS OFF )
6
+
3
7
# Compile with /usr/bin/clang on MacOS
4
8
# See https://github.com/diffblue/cbmc/issues/4956
5
9
#
@@ -186,8 +190,9 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR
186
190
endif ()
187
191
188
192
function (cprover_default_properties)
189
- set (CBMC_CXX_STANDARD 11)
190
- set (CBMC_CXX_STANDARD_REQUIRED true )
193
+ set (CBMC_CXX_STANDARD ${CMAKE_CXX_STANDARD} )
194
+ set (CBMC_CXX_STANDARD_REQUIRED ${CMAKE_CXX_STANDARD_REQUIRED} )
195
+ set (CBMC_CXX_EXTENSIONS ${CMAKE_CXX_EXTENSIONS} )
191
196
set (CBMC_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY
192
197
"Developer ID Application: Daniel Kroening" )
193
198
Original file line number Diff line number Diff line change @@ -14,8 +14,9 @@ target_compile_options(cadical PUBLIC -DNBUILD)
14
14
set_target_properties(
15
15
cadical
16
16
PROPERTIES
17
- CXX_STANDARD 11
17
+ CXX_STANDARD 17
18
18
CXX_STANDARD_REQUIRED true
19
+ CXX_EXTENSIONS OFF
19
20
XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "Developer ID Application: Daniel Kroening"
20
21
)
21
22
Original file line number Diff line number Diff line change @@ -9,8 +9,9 @@ add_library(glucose-condensed
9
9
set_target_properties(
10
10
glucose-condensed
11
11
PROPERTIES
12
- CXX_STANDARD 11
12
+ CXX_STANDARD 17
13
13
CXX_STANDARD_REQUIRED true
14
+ CXX_EXTENSIONS OFF
14
15
XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "Developer ID Application: Daniel Kroening"
15
16
)
16
17
Original file line number Diff line number Diff line change @@ -10,8 +10,9 @@ add_library(minisat2-condensed
10
10
set_target_properties(
11
11
minisat2-condensed
12
12
PROPERTIES
13
- CXX_STANDARD 11
13
+ CXX_STANDARD 17
14
14
CXX_STANDARD_REQUIRED true
15
+ CXX_EXTENSIONS OFF
15
16
XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "Developer ID Application: Daniel Kroening"
16
17
)
17
18
Original file line number Diff line number Diff line change 1
- set (CMAKE_CXX_STANDARD 11)
2
- set (CMAKE_CXX_STANDARD_REQUIRED true )
3
-
4
1
# We may use one of several different solver libraries.
5
2
# The following files wrap the chosen solver library.
6
3
# We remove them all from the solver-library sources list, and then add the
You can’t perform that action at this time.
0 commit comments