Hardwarenahe_Programmierung/CMakeLists.txt

14 lines
421 B
CMake

cmake_minimum_required(VERSION 3.3)
project(Hardwarenahe_Programmierung)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c14")
SET(CMAKE_BUILD_TYPE Debug)
# These are the corresponding output paths
set (EXECUTABLE_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/bin)
set (LIBRARY_OUTPUT_PATH ${EXECUTABLE_OUTPUT_PATH})
add_subdirectory(src/c/a3)
add_custom_target(a5 COMMAND make WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/src/c/a5)