



Managing Source FilesĪny non-trivial project will use separate source files to encapsulate different functional areas of the system. In our training courses, we have identified two shared subsystems: the bare metal code used to initialise the C/C++ run time system and a middleware layer consisting of a real-time operating system (RTOS).īefore we look at configuring subsystems, we’ll briefly discuss managing a project with multiple source and header files.
Cmake link library directory how to#
In this blog post I will look at how to configure project source code, identify subsystems and use CMake to manage the build for each subsystem. In previous blog posts in this series ( Part 1 and Part 2), I looked at using CMake to configure a build for a cross compilation to target hardware such as the STM32F4 Series.
