creating subfolders with c code

Stefano Rosanelli stefanorosanelli at virgilio.it
Fri Sep 24 14:19:40 BST 2004


Alle 19:03, giovedì 23 settembre 2004, Christian Harrer ha scritto:
> now i want (for testing purposes) to add a second file with its
> corresponding header file. the purpose is simple this: in the main
> program i just  want to call a function, which is defined in the
> second c file, which is located in a subfolder of SRC.

You could make a library in the subfolder and add it to the project.
1. add subproject to current subproject src, use same subfolder name
2. add target to subproject, type library
2. add files to target, Target -> Add existing files
3. set include path in src subproject, Options -> Include
4. link library in src target, Options->Libraries

Stefano

-- 
Linux user: #316238  - http://counter.li.org -
NO ai brevetti sul software - http://swpat.ffii.org -
"When software is patentable, anything is patentable".

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list