C_CPP/CMakeLists.txt

38 lines
1.4 KiB
CMake
Raw Normal View History

2018-06-02 10:50:37 +02:00
cmake_minimum_required(VERSION 3.3)
2018-08-19 18:30:13 +02:00
project(C/C++)
2018-06-02 10:50:37 +02:00
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
2018-08-19 18:30:13 +02:00
add_executable(01_ENV_MP 01_ENV/MP/main.c 01_ENV/MP/func1.c)
2018-08-19 18:58:19 +02:00
target_link_libraries(01_ENV_MP m)
2018-08-19 18:30:13 +02:00
add_executable(01_ENV_Testat 01_ENV/Testat/main.c 01_ENV/Testat/func1.c)
2018-06-19 12:59:42 +02:00
2018-08-19 18:58:19 +02:00
2018-08-19 18:30:13 +02:00
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)
2018-08-19 18:48:08 +02:00
add_executable(03_FLOW_MP 03_FLOW_a/MP/main_mp2_FLOW_a.cpp helpers/AnsiConsole.cpp)
add_executable(03_FLOW_Testat 03_FLOW_a/Testat/main_mp2_FLOW_a.cpp helpers/AnsiConsole.cpp)
2018-06-02 10:50:37 +02:00
2018-08-19 18:34:31 +02:00
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)
2018-06-02 10:50:37 +02:00
2018-08-19 18:34:31 +02:00
add_executable(05_OO_MP 05_OO/MP/main_mp4_OO_a_vehicles.cpp)
2018-08-19 18:30:13 +02:00
#add_executable(OO_5_Testat 05_OO/Testat/)
2018-06-18 18:54:09 +02:00
#add_executable(OO_B 05_OO/main_mp4_OO_b.cpp)
2018-06-08 16:52:00 +02:00
2018-06-18 19:00:00 +02:00
#add_executable(OO_Shapes 05_OO/shapes_main.cpp)
2018-06-14 16:22:51 +02:00
2018-08-19 18:34:31 +02:00
add_executable(06_POLY_MP 06_POLY/MP/main_mp5_POLY.cpp)
2018-06-19 12:59:42 +02:00
2018-08-19 18:30:13 +02:00
#add_executable(SequenceDiagram 11_PUTT/05_OO_b/SequenceDiagramCreator.cpp 11_PUTT/05_OO_b/main.cpp)
2018-06-14 16:22:51 +02:00
2018-08-19 18:30:13 +02:00
#add_executable(LCDDisplay 11_PUTT/02_Ment/LCDDisplay.cpp)
2018-06-08 16:52:00 +02:00
2018-08-19 18:30:13 +02:00
#add_executable(CopyOnWrite 11_PUTT/CopyOnWrite/OneByOneMatrix.cpp 11_PUTT/CopyOnWrite/LargeCowMatrix.cpp 11_PUTT/CopyOnWrite/main.cpp)
2018-06-14 16:22:51 +02:00
2018-08-19 18:30:13 +02:00
#add_executable(Banking 10_PITF/MP/banking_base_rawptr.cpp)
2018-06-19 12:59:42 +02:00
2018-08-19 18:30:13 +02:00
#add_executable(Test 11_PUTT/Test.cpp)