Skip to the task
Layout
Back to classic view

You are looking at lesson 2. Your place is still lesson 5, task 1: Functions.

CREATETask 3 of 23 · step 3: The student cardCreate practice/02/CMakeLists.txt
Create practice/02/CMakeLists.txt in practice/02/

A new folder practice/02 with a CMakeLists.txt in it: the program p02_card from main.c.

Checklist

  • Every task is one commit with a clear message.

Numbered notes in the code explain the important lines.

practice 02 CMakeLists.txt Code Diff +1
A · NEW FILE Create this file. Every line is new: see the green bar.
add_executable(p02_card main.c)
Note 1: The program p02_card, built from main.c.