如何从现有的git cmake项目创建Xcode项目? [英] How to create Xcode project from already existing git cmake project?
问题描述
我是OSx的新手,有人可以帮助从现有代码创建Xcode项目吗?我想尝试Xcode的某些功能,比如'profile'。
我目前在我的cmake项目中使用Clion,它也在git repo中。我只是想从Xcode导入它,但这并不容易。这里有一些关于项目和IDE的信息:
如果您需要更多信息,我可以提供更多信息。感谢您的帮助。
Cmake有一个 generator 。尝试:
cmake -G Xcode< dcm of CMakeLists.txt>
I am new to OSx, can someone help to create Xcode project from existing code? I want to try some features of Xcode like 'profile'.
I currently use Clion for my cmake project, it is also in git repo. I simply want to import it from Xcode but it's not that easy I guess. Here some info about project and IDE:
- It is just a console app written in C++ and cmake project
- It is also on git repo
- Xcode Version 8.0 (8A218a)
- OS El Capitan 10.11.6
If you need more info, I can give more. Thanks for help.
Cmake has a generator for XCode. Try:
cmake -G Xcode <dir of CMakeLists.txt>
这篇关于如何从现有的git cmake项目创建Xcode项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!