Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 289 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 289 Bytes

Dealing with platform-dependent source code

Ideally, we should avoid platform-dependent source code, but sometimes we have no choice. In this recipe, we demonstrate how to use CMake to conditionally compile source code depending on the operating system.