How can I build a makefile project with Xcode 5?

前端 未结 1 719
星月不相逢
星月不相逢 2020-12-17 17:21

I would like to use Xcode to debug a C++ program step by step. The project can be build using make. How can I build it using Xcode 5?

相关标签:
1条回答
  • 2020-12-17 17:49

    Here are the steps

    1) create a new project using the following a) go to OS X other b) Create an empty project

    2) create a blank file (under OS X other again) and call it Makefile

    3) create a new target (file -> new -> target - call it whatever you want) go to OS X target and select external build system

    4) If you want a particular PATH variable you can Add a new user define setting (under editor -> add Build Setting -> Add user defined setting

    5) This should enable your target to be the makefile

    0 讨论(0)
提交回复
热议问题