Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® Software > Adding additional include file search path (for include files outside your workspace)

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Adding additional include file search path (for include files outside your workspace)
Moderator:
JFMD

Post Reply
Follow this topic



Adding additional include file search path (for include files outside your workspace)

tommoxon posted on 09 Sep 2011 4:06 PM PST
Top Contributor
45 Forum Posts

I've been working on a shared library of code for PSoC1/3/5 and needed to be able to reference
a shared respository of source code and include files that are located outside my project directory.
 

Solution description :

You have library of shared source code that you would like to re-use in several PSoC3/5 projects.
 

From the "Project -> Build Files -> Compiler" menu,

add your search path to the "Additional Include Directories" entry.
Use a semi-colon separated list for multiple directories..

See the attached screenshot example.

 

regards,

Tom Moxon

www.moxon.com

www.westmarkco.com

 




Re: Adding additional include file search path (for include files outside your workspace)

Robert-CY posted on 14 Sep 2011 05:01 PM PST
Cypress Employee
129 Forum Posts

Tom,

Thank you for sharing your solutions, please keep it coming

Robert

p.s. was this a typo? "shared library of code for PSoC1/3/5" do you include PSoC 1 in your efforts?




Re: Adding additional include file search path (for include files outside your workspace)

tommoxon posted on 16 Sep 2011 11:32 AM PST
Top Contributor
45 Forum Posts

Robert,

 

No that is NOT a typo - I am developing software that can be used either with PSoC Designer (PSoC1)

or PSoC Creator (PSoC3/5) or Eclipse (FX2/FX3-ARM9), the intent is to write once - use anywhere...

 

regards,

Tom Moxon

www.moxon.com

www.westmarkco.com

 






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20