Course Name
Course Code : PRR45
Venue Details
Postal Code : 018981
Session Dates
Duration: 2 days (14 hours)
CMake training focuses on teaching participants how to use CMake, a powerful tool for managing the build process of software projects, especially in C and C++ development. The course covers key concepts such as configuring, generating, and building projects across multiple platforms using CMake's scripting language. Participants learn how to define project structures, set build options, and manage dependencies, making it easier to handle complex projects. Hands-on exercises involve creating CMakeLists files, configuring builds for different environments, and integrating with version control systems. By the end of the training, attendees will be proficient in using CMake to streamline the build process, improve project portability, and ensure consistency across different platforms.
Introduction to CMake and Basic Project Setup
Introduction to Build Systems and CMake
Overview of build systems and the role of CMake.
Advantages of using CMake in modern software development.
Setting up CMake on different platforms.
Basic CMake Concepts
Understanding CMakeLists.txt.
Writing a minimal CMakeLists file for a simple project.
Configuring and generating build files.
Hands-on Exercise
Build Systems Supported by CMake
Introduction to Make, Ninja, and MSBuild.
Generating build files for different platforms.
Hands-on Exercise
Variables and Commands in CMake
Defining and using variables in CMake.
Overview of common CMake commands.
Hands-on Exercise
Advanced CMake Concepts and Practical Usage
Managing Project Dependencies
Adding external libraries using find_package() and add_subdirectory().
Working with CMake modules and package configuration files.
Hands-on Exercise
Advanced Project Configuration
Creating and linking multiple targets.
Configuring include paths, libraries, and compile options.
Managing build types (Debug, Release).
Hands-on Exercise
CMake Generators and Toolchains
Cross-compilation with CMake.
Using toolchains to target different platforms.
Hands-on Exercise
Testing and Debugging with CMake
Integrating testing frameworks (e.g., Google Test).
Debugging common CMake errors.
Hands-on Exercise
Best Practices and Tips
Structuring CMake projects for maintainability.
Recommended CMake patterns and anti-patterns.
Optimizing build times with CMake.
Mode of Delivery : The event can be attended both online and at nearby ProgNXT classroom by Individual Professionals and Corporate Employees as per the seat availability. Please Contact Us at [email protected] for checking the seat availability
Audience : We have a global audience that logs in to using their own computers to work hand in hand with our world-class instructors.
Assessment : Each training course will have ProgNXT Assessment at the end.
Certification : After successful passing of ProgNXT Assessment, ProgNXT Certification will be provided, which has got acceptance in 55+ Countries.
| Global Region | Location | Start Date | End Date | Action |
|---|---|---|---|---|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |