C_CPP/CMakeLists.txt

42 lines
1.7 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")
SET(CMAKE_BUILD_TYPE Debug)
2018-06-02 10:50:37 +02:00
2018-08-23 21:10:08 +02:00
# These are the corresponding output paths
set (EXECUTABLE_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/bin)
set (LIBRARY_OUTPUT_PATH ${EXECUTABLE_OUTPUT_PATH})
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
add_executable(03_FLOW_MP 03_FLOW/MP/main_mp2_FLOW_a.cpp helpers/AnsiConsole.cpp)
add_executable(03_FLOW_Testat 03_FLOW/Testat/main_mp2_FLOW_a.cpp helpers/AnsiConsole.cpp)
2018-06-02 10:50:37 +02:00
add_executable(04_UDEF_MP 04_UDEF/MP/main_04_UDEF_e.cpp)
2018-08-19 18:34:31 +02:00
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)
2018-06-14 16:22:51 +02:00
add_executable(06_POLY_MP 06_POLY/MP/shapes_main.cpp helpers/AnsiConsole.cpp)
add_executable(06_POLY_Testat 06_POLY/Testat/shapes_main.cpp helpers/AnsiConsole.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
2018-08-23 21:10:08 +02:00
add_executable(Test 11_PUTT/Test.cpp)