cmake_minimum_required(VERSION 3.3) project(test_build) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14") set(UDEF_1 UserDefinedTypes1) set(UDEF_1_SOURCE 04_UDEF/main_04_UDEF_e.cpp) add_executable(${UDEF_1} ${UDEF_1_SOURCE}) set(UDEF_2 UserDefinedTypes2) set(UDEF_2_SOURCE 04_UDEF/main_04_UDEF_a.cpp) add_executable(${UDEF_2} ${UDEF_2_SOURCE}) set(UDEF_TESTAT UserDefinedTypesTestat) set(UDEF_TESTAT_SOURCE 04_UDEF/Testat/Testat.cpp) add_executable(${UDEF_TESTAT} ${UDEF_TESTAT_SOURCE}) set(05_SHAPES 05_Shapes) set(05_SHAPES_SOURCE 05_OO/shapes_main.cpp) add_executable(${05_SHAPES} helpers/AnsiConsole.cpp ${05_SHAPES_SOURCE}) set(SEQUENCE_DIAGRAM SequenzDiagram) set(SEQUENCE_DIAGRAM_SOURCE 11_PUTT/05_OO_b/main.cpp) add_executable(${SEQUENCE_DIAGRAM} 11_PUTT/05_OO_b/SequenceDiagramCreator.cpp ${SEQUENCE_DIAGRAM_SOURCE}) set(LCDDISPLAY LCDDisplay) set(LCDDISPLAY_SOURCE 11_PUTT/02_Ment/LCDDisplay.cpp) add_executable(${LCDDISPLAY} ${LCDDISPLAY_SOURCE}) set(COPY_ON_WRITE CopyOnWrite) set(COPY_ON_WRITE_SOURCE 11_PUTT/CopyOnWrite/main.cpp) add_executable(${COPY_ON_WRITE} 11_PUTT/CopyOnWrite/OneByOneMatrix.cpp 11_PUTT/CopyOnWrite/LargeCowMatrix.cpp ${COPY_ON_WRITE_SOURCE})