cmake_minimum_required(VERSION 3.0)
project(learningc LANGUAGES C)
set(CHAPTER 2)
set(EXERCISE 1)
add_executable(learningc chapters/${CHAPTER}/exercises/${EXERCISE}.c)
install(TARGETS learningc RUNTIME DESTINATION bin)