cmake con XCode

Hola Lectores,

Hoy, tenemos una lección sobre cmake fichero con XCode. Ha sido testeado con un m2 “motherboard”.

Para nosotros, tenemos la instalación. Para tí tienes que hacer la instalación.

Ahora:

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

Ahora es un “boilerplate”, que necesita de hacer cambios.

mkdir build && cd build
cmake ../
make

Cada vez que hacemos de cambio, tenemos que actualizar el CMakeLists.txt para cada “build”, tenemos que hacer siempre

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 *

ten + one =

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.