|
79 | 79 | set(HAVE_SSE42 FALSE) |
80 | 80 | endif() |
81 | 81 |
|
82 | | -set(CMAKE_CXX_STANDARD 17) |
| 82 | +set(CMAKE_CXX_STANDARD 20) |
83 | 83 | set(CMAKE_CXX_STANDARD_REQUIRED TRUE) |
84 | 84 | set(CMAKE_CXX_EXTENSIONS FALSE) |
85 | 85 |
|
@@ -333,6 +333,10 @@ add_cxx_compiler_flag("-Wno-sign-conversion") |
333 | 333 | add_cxx_compiler_flag("-Qunused-arguments") |
334 | 334 | add_cxx_compiler_flag("-Wno-unused-private-field") |
335 | 335 | add_cxx_compiler_flag("-Wno-redundant-move") |
| 336 | + |
| 337 | +#add_cxx_compiler_flag("-Wno-unused-function") |
| 338 | +#add_cxx_compiler_flag("-Wno-unused-variable") |
| 339 | +#add_cxx_compiler_flag("-Wno-shorten-64-to-32") |
336 | 340 | #add_cxx_compiler_flag("-Werror") |
337 | 341 |
|
338 | 342 | #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -isystem /usr/include/c++/v1") |
@@ -484,10 +488,10 @@ target_link_libraries(test-net PRIVATE tdnet tdutils ${CMAKE_THREAD_LIBS_INIT}) |
484 | 488 |
|
485 | 489 | #BEGIN tonlib |
486 | 490 | add_executable(test-tonlib ${TONLIB_ONLINE_TEST_SOURCE}) |
487 | | -target_link_libraries(test-tonlib tdutils tdactor adnllite tl_api ton_crypto ton_block tl_tonlib_api tonlib) |
| 491 | +target_link_libraries(test-tonlib tdactor adnllite tl_api ton_crypto tl_tonlib_api tonlib) |
488 | 492 |
|
489 | 493 | add_executable(test-tonlib-offline test/test-td-main.cpp ${TONLIB_OFFLINE_TEST_SOURCE}) |
490 | | -target_link_libraries(test-tonlib-offline tdutils tdactor adnllite tl_api ton_crypto ton_block fift-lib tl_tonlib_api tonlib) |
| 494 | +target_link_libraries(test-tonlib-offline tdactor adnllite tl_api ton_crypto fift-lib tl_tonlib_api tonlib) |
491 | 495 |
|
492 | 496 | if (NOT CMAKE_CROSSCOMPILING) |
493 | 497 | add_dependencies(test-tonlib-offline gen_fif) |
@@ -529,6 +533,8 @@ target_link_libraries(test-rldp2 adnl adnltest dht rldp2 tl_api) |
529 | 533 | add_executable(test-validator-session-state test/test-validator-session-state.cpp) |
530 | 534 | target_link_libraries(test-validator-session-state adnl dht rldp validatorsession tl_api) |
531 | 535 |
|
| 536 | +add_executable(test-overlay test/test-overlay.cpp) |
| 537 | +target_link_libraries(test-overlay overlay tdutils tdactor adnl adnltest tl_api dht ) |
532 | 538 | add_executable(test-catchain test/test-catchain.cpp) |
533 | 539 | target_link_libraries(test-catchain overlay tdutils tdactor adnl adnltest rldp tl_api dht |
534 | 540 | catchain ) |
|
0 commit comments