Re: Including .h files in SDK automatically

From: Bruce Eitman \(eMVP\) (beitmannospam_at_NOSPAM_applieddata.NOSPAM_net)
Date: 02/24/05


Date: Thu, 24 Feb 2005 10:58:41 -0500

There are probably other ways, but one way would be to copy the files to the
SDK folder when you build:

In sources add:

WINCETARGETFILES=CopyFilesToSDK

Add a makefile.inc to the folder:

CopyFilesToSDK:
  if not EXIST $(_PROJECTSDKROOT)\Inc mkdir $(_PROJECTSDKROOT)\Inc
        xcopy /I /D /Q <Your Head File(s)> $(_PROJECTSDKROOT)\Inc > nul
  if not EXIST $(_PROJECTSDKROOT)\Lib mkdir $(_PROJECTSDKROOT)\Lib
        xcopy /I /D /Q <Your Lib File(s)> $(_PROJECTSDKROOT)\Lib > nul

-- 
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net
Applied Data Systems
 www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
"Henrik" <slaskhenrik@gmail.com> wrote in message
news:1109237269.032686.122040@g14g2000cwa.googlegroups.com...
> How do I make my feature copy files into the project's sdk directory? I
> want, for example, the header file with the API to my custom driver to
> be included when generating the SDK (if the feature has been added to
> the platform). The simple way (which i have been using up until now) is
> to manually add the files in the SDK configuration, but I would like
> the features to manage themselves in this respect.
>
> Henrik
>


Relevant Pages

  • Re: Cannot open include file "winres.h"
    ... the feature view. ... Is this the correct feature to have for ATL? ... To make very sure this feature is in the SDK I rebuilt the platform and then ...
    (microsoft.public.windowsce.embedded.vc)
  • RE: SDK Creation Error
    ... done this a few years back for this exact platform but a few custom headers ... After creating and configuring the SDK and then attempting to create the SDK ... Creating 'required' feature ... Rolling sysgen'ed headers and libs ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Including .h files in SDK automatically
    ... Bruce Eitman (eMVP) wrote: ... > SDK folder when you build: ... >> How do I make my feature copy files into the project's sdk ...
    (microsoft.public.windowsce.platbuilder)
  • Re: WinCE 5.0 Mobile to Wince5.0 STANDARD
    ... The SDK itself likely has nothing to do with that. ... application is using some feature from WM that isn't available on your CE ... Mobile 5.0 Pocket PC SDK". ... beitman AT applieddata DOT net ...
    (microsoft.public.windowsce.embedded.vc)
  • Including .h files in SDK automatically
    ... How do I make my feature copy files into the project's sdk directory? ... want, for example, the header file with the API to my custom driver to ...
    (microsoft.public.windowsce.platbuilder)