Skip to content

Commit 68b2640

Browse files
committed
cmake update temporarily to disable unsuccessful builds
1 parent 63f0620 commit 68b2640

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

CMakeLists.txt

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
33
set(CMAKE_BUILD_TYPE debug)
44
option(USE_CLANG "build application with clang" OFF)# OFF is the default
55

6+
7+
8+
9+
610
if(USE_CLANG)
711
set (CMAKE_C_COMPILER "/usr/bin/clang")
812
#set (CMAKE_C_FLAGS "-Wall -std=c99")
@@ -26,13 +30,11 @@ if(USE_CLANG)
2630
endif()
2731

2832
project(cpp_tutorials)
29-
set(CMAKE_VERBOSE_MAKEFILE "erbose output from Makefile " OFF)
33+
set(CMAKE_VERBOSE_MAKEFILE "verbose output from Makefile " OFF)
3034

3135
set(CMAKE_CXX_STANDARD 20)
3236
set(CMAKE_CXX_STANDARD_REQUIRED ON)
3337
set(CMAKE_BUILD_TYPE debug)
34-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++2a")
35-
3638

3739

3840
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
@@ -59,14 +61,14 @@ message("CMAKE_CXX_COMPILER_VERSION: " ${CMAKE_CXX_COMPILER_VERSION} )
5961
add_executable(pointers src/pointers/pointers.cpp )
6062
target_link_libraries( pointers)
6163

62-
add_executable(string src/string.cpp )
63-
target_link_libraries( string)
64+
#add_executable(string src/string.cpp )
65+
#target_link_libraries( string)
6466

6567
add_executable(exception_handling src/exception_handling.cpp)
6668
target_link_libraries( exception_handling)
6769

68-
add_executable(heap_vs_stack src/heap_vs_stack.cpp)
69-
target_link_libraries(heap_vs_stack)
70+
#add_executable(heap_vs_stack src/heap_vs_stack.cpp)
71+
#target_link_libraries(heap_vs_stack)
7072

7173
add_executable(assert src/assert.cpp)
7274
target_link_libraries(assert)
@@ -259,8 +261,8 @@ add_executable(mutex src/multithreading/mutex.cpp)
259261
target_link_libraries(mutex -pthread)
260262

261263

262-
add_executable(condition_variable src/multithreading/condition_variable.cpp)
263-
target_link_libraries(condition_variable -pthread)
264+
#add_executable(condition_variable src/multithreading/condition_variable.cpp)
265+
#target_link_libraries(condition_variable -pthread)
264266

265267

266268
add_executable(async_future_promise src/multithreading/async_future_promise.cpp)
@@ -346,8 +348,8 @@ target_link_libraries(most_vexing_parse)
346348
add_executable(VTABLE_and_VPTR src/VTABLE_and_VPTR.cpp)
347349
target_link_libraries(VTABLE_and_VPTR)
348350

349-
add_executable(allocator src/allocator.cpp)
350-
target_link_libraries(allocator)
351+
#add_executable(allocator src/allocator.cpp)
352+
#target_link_libraries(allocator)
351353

352354
add_executable(noexcept_operator_specifier src/noexcept_operator_specifier.cpp)
353355
target_link_libraries(noexcept_operator_specifier)

0 commit comments

Comments
 (0)