Generating an Xcode project from CMake — различия между версиями

Материал из Wiki - Факультет компьютерных наук
Перейти к: навигация, поиск
(Новая страница: «''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…»)
 
(нет различий)

Текущая версия на 18:45, 16 января 2019

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 ..