cmake with XCode

Hello readers,

Today, we are going to learn how to make a cmake file from XCode. We done this on a m2 motherboard.

For us, its’ already installed. For all of you it will install.

Now:

mulle-xcode-to-cmake -b export shadow.xcodeproj > CMakeLists.txt

It’s now a boilerplate for your needs, you must now add source code to the build.

mkdir build && cd build
cmake ../
make

Every time you do changes, don’t forget to update CMakeLists.txt for your build, everytime you change do this

cd .. 
rm -rf build
mkdir build && cd build
cmake ../
make 

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

18 − eight =

coder by Gleentech
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.