Include " .h " pic used in the project automatically in lib

Discuss with MikroElektronika software developers about current library development.
Post Reply
Author
Message
dejota2k11
Posts: 28
Joined: 19 Feb 2015 14:31

Include " .h " pic used in the project automatically in lib

#1 Post by dejota2k11 » 11 May 2016 13:32

Hello everyone!
Can anyone help me on how to set up a library in the pic "target " that is being used in a progjeto ? So that the library automatically includes the " #include < pictarget.h >"
Thank you all

User avatar
Aleksandar.Mitrovic
mikroElektronika team
Posts: 1697
Joined: 11 Mar 2015 12:48

Re: Include " .h " pic used in the project automatically in

#2 Post by Aleksandar.Mitrovic » 12 May 2016 14:54

Hi,

I suggest you to read a Help -> "File Inclusion" from the compiler.

There you can find many information how you can add a library .h file to your project.

Best regards,
Aleksandar

dejota2k11
Posts: 28
Joined: 19 Feb 2015 14:31

Re: Include " .h " pic used in the project automatically in

#3 Post by dejota2k11 » 12 May 2016 15:13

Hello and thanks for the feedback. But I refer to a form that the library itself acquires pic " .h " used in the project . Regardless of what is pic used.

User avatar
Aleksandar.Mitrovic
mikroElektronika team
Posts: 1697
Joined: 11 Mar 2015 12:48

Re: Include " .h " pic used in the project automatically in

#4 Post by Aleksandar.Mitrovic » 16 May 2016 16:39

Hi,

Did you try to include header file in the library.

You should be able to select the library and the library will include header file.

Best regards,
Aleksandar

dejota2k11
Posts: 28
Joined: 19 Feb 2015 14:31

Re: Include " .h " pic used in the project automatically in

#5 Post by dejota2k11 » 17 May 2016 18:42

Helllo Aleksandar thanks for the return. This I know to do. But I intend to me is to make the library automatically take the " .c " or " .h " that ususario are using. But if that is impossible , it would be a good feature for future versions of mikroC .
Again Thanks

Post Reply

Return to “Library Development Discussion”