Generating an Xcode project from CMake

Материал из Wiki - Факультет компьютерных наук
Перейти к: навигация, поиск

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