Skip to Content
Embedded Programming with Modern C++ Cookbook
book

Embedded Programming with Modern C++ Cookbook

by Igor Viarheichyk
April 2020
Intermediate to advanced
412 pages
9h 58m
English
Packt Publishing
Content preview from Embedded Programming with Modern C++ Cookbook

How it works...

First, we install CMake to our build system. Once the installation is complete, we switch to the native environment to create CMakeLists.txt. This file contains high-level build instructions about the project's composition and properties.

We name our project hello, which creates an executable, called hello, from a source file named hello.cpp. Additionally, we specify the minimal version of CMake required to build our application.

After we have created the project definition, we can switch back to the build system shell and generate low-level build instructions by running make

It is common practice to create a dedicated build directory to keep all our build artifacts. By doing this, the object files generated by a compiler ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C++ System Programming Cookbook

C++ System Programming Cookbook

Onorato Vaticone
C++ Cookbook

C++ Cookbook

D. Ryan Stephens, Christopher Diggins, Jonathan Turkanis, Jeff Cogswell

Publisher Resources

ISBN: 9781838821043Supplemental Content