C_CPP/CMakeLists.txt

38 lines
1.6 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:30:13 +02:00
add_executable(02_MENT_MP 02_MENT/MP/main_02_MENT.cpp)
add_executable(02_MENT_Testat 02_MENT/Testat/main_02_MENT.cpp)
2018-08-19 18:30:13 +02:00
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
add_executable(05_OO_MP 05_OO/MP/shapes_main.cpp helpers/AnsiConsole.cpp)
add_executable(05_OO_Testat 05_OO/Testat/shapes_main.cpp helpers/AnsiConsole.cpp)
add_executable(05_OO_Demo 05_OO/MP/AnsiConsoleDemo.cpp helpers/AnsiConsole.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)
#add_executable(06_POLY_Testat 06_POLY/Testat/main_mp5_POLY.cpp)
add_executable(07_STD_MP 07_STD/MP/grundgeruest.cpp)
add_executable(07_STD_Testat 07_STD/Testat/grundgeruest.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
add_executable(Test 11_PUTT/Test.cpp)