Contribute  :  Calendar  :  Advanced Search  :  Site Statistics  :  Directory  :  Files to download  :  Links for developers  :  Privacy policy  :  Web Resources  :  Polls  
    MacOSX Guru Site Information, tips and tricks, FAQ for Mac OS X developers    
 Welcome to MacOSX Guru Site
 Tuesday, September 25 2018 @ 12:38 PM BST

Yacc files compiling with Xcode and native targets is broken...

   
ProjectBuilder-XCodeIs there a workaround ?

Select your native target:
- show info and goto tab "Rules"
- add a new rule with the "+" button for processing Yacc source files
- enter the following custom script for compilation:
cd "$(DERIVED_FILE_DIR)/Yacc" && /usr/bin/yacc -d "$(INPUT_FILE_PATH)"

- add the following files as output files:
$(DERIVED_FILE_DIR)/Yacc/y.tab.h
$(DERIVED_FILE_DIR)/Yacc/y.tab.c

(create a separated line for each one using the "+" sign)
 

What's Related

Story Options

Yacc files compiling with Xcode and native targets is broken... | 0 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
 Copyright © 2018 MacOSX Guru Site
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.05 seconds