CMake Generator Expressions: Logic, Strings, and Target Queries
Learn to write dynamic build configurations in CMake using boolean logic, string operations, and target queries for flexible cross-platform builds.
-
💬
Instrutor de IA
Pergunte sobre qualquer aula e receba uma resposta clara na hora, quando quiser. -
🕐
Comece quando quiser
Sem horários nem prazos: aprenda no seu ritmo, quando quiser. -
🌐
Em português
Aulas, tarefas e certificado: tudo totalmente no seu idioma.
Sobre este curso
Managing complex build configurations across different platforms and build types can quickly lead to cluttered CMake scripts. Generator expressions offer a powerful way to inject conditional logic and query target properties directly during the generation phase.
In this written course, you will learn how to read, write, and implement CMake generator expressions to create clean, maintainable, and highly dynamic build systems. You will transition from writing static configurations to crafting smart, context-aware build logic.
What you'll learn:
- Understand the core syntax of generator expressions and their evaluation phases
- Apply boolean logic and conditional operators to control build parameters
- Practice string operations and comparisons directly inside generator expressions
- Configure target queries to dynamically retrieve properties during build generation
- Learn modern CMake practices to write clean, maintainable build logic
This course begins with essential terminology, outlining the core differences between the configure and generate phases in CMake. You will then progress through practical, text-based examples that demonstrate how to implement logical evaluations, work with strings, and query target metadata.
This course is designed for software developers and build engineers who have a basic familiarity with CMake and want to write more flexible scripts. No advanced build engineering experience is required.
Start reading today to unlock the full potential of dynamic CMake configurations.
O que você vai receber
-
📜
Certificado de conclusão
Adicione ao seu perfil do LinkedIn -
💬
Tutor AI pessoal
Travou em uma aula? Pergunte ao seu tutor integrado qualquer coisa, a qualquer hora. -
🎧
Versão em áudio incluída
Estude em qualquer lugar, sem tela -
♾️
Acesso vitalício
Volte quando quiser, sem expirar -
📱
Celular ou computador
Funciona em qualquer dispositivo -
💸
Reembolso em 14 dias
Sem perguntas -
⚡
Curto e focado
2 h 48 min de conteúdo prático
Avaliações
Ainda não há avaliações — seja o primeiro a compartilhar sua experiência.
Perguntas frequentes
O que preciso para fazer este curso? +
Só um celular ou computador com internet. Sem instalações nem hardware especial.
Como faço para pagar? +
Com cartão via Stripe. Não guardamos dados do cartão — o Stripe processa com segurança.
Posso pedir reembolso? +
Sim — reembolso integral em 14 dias, sem perguntas.
Por quanto tempo terei acesso? +
Para sempre. Uma vez comprado, o curso é seu para revisar quando quiser.
Vou receber um certificado? +
Sim. Ao concluir, você recebe um certificado que pode adicionar ao seu perfil do LinkedIn.
Feito para profissionais em
Tecnologia
Design
Finanças
Marketing
Saúde
Educação
Hotelaria
Indústria