Generating an Xcode project from CMake

Материал из Wiki - Факультет компьютерных наук
Версия от 15:45, 16 января 2019; Iko (обсуждение | вклад) (Новая страница: «''You should [http://wiki.cs.hse.ru/Installing_CMake_on_macOS_using_Homebrew install CMake] before proceeding'' # Open Terminal and navigate to your CMake projec…»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
Перейти к навигации Перейти к поиску

You should install CMake before proceeding

  1. Open Terminal and navigate to your CMake project root
  2. Create a new directory for storing your build files:
mkdir build

(You can call it whatever you want)

  1. Move to the new directory:
cd build

(Or the directory you created)

  1. Generate the project in the current directory:
cmake -G Xcode ..