How to add your PRGs in Visual Studio

Post Reply
User avatar
Antonio Linares
Site Admin
Posts: 42519
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

How to add your PRGs in Visual Studio

Post by Antonio Linares »

1. Add an existing PRG to the project

Image

2. Right click on it and select properties. Select "Custom Build tool":

Image

3. Right click again on it and configure it this way:

Copy the bold texts from here:

c:\harbour\bin\harbour %(FullPath) /n /ic:\harbour\include /ic:\fwh\include

.\%(Filename).c

Image

4. Right click again on it and compile it, and add the resulting C file to the project too. Set the Harbour include path and not to use Windows runtime extensions:

Copy the bold text from here:

c:\harbour\include;%(AdditionalIncludeDirectories)

Image

Working fine :-)
Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply