Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 425 Bytes

CMake.md

File metadata and controls

9 lines (8 loc) · 425 Bytes

CMake

back to main index

General

  • running CMake without any arguments runs configure phase
    • cmake [<options>] -B <path-to-build> [-S <path-to-source>]
    • cmake [<options>] <path-to-source | path-to-existing-build>
  • running CMake configure with preset (from build dir): cmake --preset=<preset_name> .
  • running CMake build phase: cmake --build <build_dir> [--config <Config>]