xcode 5 - compiling source without including the files -


i creating library mac using xcode5 using code (c++) being developed , maintained other developer , @ different path library project.

e.g. project @ /svntrunk/../../mylibraryproject/

the code want compile(use) in library @

/svntrunk/../../../utils/networkutils/src/source files here

i have tried following approaches

  1. refer source files project don't copy them project, way when other developer updates code automatically reflected since pointing location. in case linker fails find symbols networkutils code. here while adding file project don't select 'copy items ..' option
  2. second approach took select 'copy items..' option while adding source files networkutils project. way files copied project , compiler able find symbols. if other developer updates networkutils code have manually copy updated code files doesn't seem right thing do.

it seems move forward have go option 2. please let me know if there better way approach problem.

thanks dev

if he's developing using xcode , has project, link project, build lib , include in build dependencies in project.

i cocos2d.

failing that, pursue option 1 , try figure out why it's not finding symbols. sure have correct headers included? 1 reason compiler fails find symbols you're using functions headers not included.

extra info here:

https://stackoverflow.com/a/17415609/290072


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -