C_CPP/CMakeLists.txt

36 lines
1.4 KiB
CMake

cmake_minimum_required(VERSION 3.3)
project(C/C++)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
add_executable(01_ENV_MP 01_ENV/MP/main.c 01_ENV/MP/func1.c)
add_executable(01_ENV_Testat 01_ENV/Testat/main.c 01_ENV/Testat/func1.c)
add_executable(02_MENT_MP 02_MENT/MP/main_02_MENT.cpp)
add_executable(02_MENT_Testat_1 02_MENT/Testat/main_02_MENT.cpp)
add_executable(02_MENT_Testat_2 02_MENT/Testat2/main_02_MENT.cpp)
add_executable(03_FLOW_MP 03_FLOW_a/MP/main_mp2_FLOW_a.cpp)
add_executable(03_FLOW_Testat 03_FLOW_a/Testat/main_mp2_FLOW_a.cpp)
add_executable(04_UDEF_MP_1 04_UDEF/MP/main_04_UDEF_e.cpp)
add_executable(04_UDEF_MP_2 04_UDEF/MP/main_04_UDEF_a.cpp)
add_executable(04_UDEF_Testat 04_UDEF/Testat/Testat.cpp)
add_executable(05_OO_MP 05_OO/MP/main_mp4_OO_a_vehicles.cpp)
#add_executable(OO_5_Testat 05_OO/Testat/)
#add_executable(OO_B 05_OO/main_mp4_OO_b.cpp)
#add_executable(OO_Shapes 05_OO/shapes_main.cpp)
add_executable(06_POLY_MP 06_POLY/MP/main_mp5_POLY.cpp)
#add_executable(SequenceDiagram 11_PUTT/05_OO_b/SequenceDiagramCreator.cpp 11_PUTT/05_OO_b/main.cpp)
#add_executable(LCDDisplay 11_PUTT/02_Ment/LCDDisplay.cpp)
#add_executable(CopyOnWrite 11_PUTT/CopyOnWrite/OneByOneMatrix.cpp 11_PUTT/CopyOnWrite/LargeCowMatrix.cpp 11_PUTT/CopyOnWrite/main.cpp)
#add_executable(Banking 10_PITF/MP/banking_base_rawptr.cpp)
#add_executable(Test 11_PUTT/Test.cpp)