I am compiling from the command line with
gcc -o output-file $(mysql_config --cflags) main.c $(mysql_config --libs)
How can I add the extra params to xcode compiling options?
gcc -o output-file $(mysql_config –cflags) main.c $(mysql_config –libs)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Apple-I the project file, there is a section in build settings
Other C Flags
Other linker flags
If you are using Xcode >= 4 you need to click on the Project in the Navigator then click on the Target. Finally, click on the “Build Settings” tab. Type in the search field “other c” and you should see you fields there. If put “$(mysql_config –cflags) $(mysql_config –libs)” in one of the fields depending on what language you are using (c or c++).
