Hardwarenahe_Programmierung/CMakeLists.txt

13 lines
369 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_executable(a5 src/c/a5/flagtest.c)