Jump to content

Using cmake to compile xcode projects


jalavoui
 Share

1 post in this topic

Recommended Posts

- get the tool https://cmake.org/

- create a symbolic link to cmake in /usr/local/bin

 

- the CommandLineTools will be installed on 1st usage  on /LIbrary/Developer + some sdks

image.png.ddfb79c6629f20442d4f88fc15c40a8f.png

 

- cd to your project and place CMakeLists.txt there

- create a build folder

- cd to build and type cmake ..

- type make to build your project

 

 

hard part is manual create the CMakeLists.txt for each project

 

so i'm sharing some xcode conversions i've done (ventura)

both use a special c file to generate the kext

- VoodoHDA.kext

- NootedRed.kext

 

sample build dir:

image.png.b169491036d533df600b312ad171eeea.png

 

plz share other conversions if you have them

 

 

nred.zip voodohda.zip

Edited by jalavoui
  • Like 2
Link to comment
Share on other sites

 Share

×
×
  • Create New...