Alen Lee
Alen Lee

Reputation: 2509

How to build/copy the resource file from the C++ project to Debug Target Path?

I have a resource file in the project which need to build/copy to the debug target path for later used.

enter image description here

enter image description here

IDM: Visual Studio 2013

Anyone know how to build/copy the resource file from C++ project to debug target path?

Upvotes: 0

Views: 1002

Answers (1)

Alen Lee
Alen Lee

Reputation: 2509

I found two way to accomplish this:

Build Events: you can add command line in the Pre-Build Event or Post-Build Event

COPY /y $(ProjectDir)resource.orpo $(TargetDir)resource.orpo

the other one

Upvotes: 2

Related Questions