coderodde
coderodde

Reputation: 977

Visual Studio 2022 - how to link an .obj file residing somewhere else on the system?

I had to write a small .obj file in NASM (call it nasm.obj). Next, I need to make Visual Studio 2022 to link my DLL against nasm.obj. How can I accomplish that? (Basically, all I need is to tell the VS to look in a specific folder which contains the desired nasm.obj.)

Upvotes: 0

Views: 167

Answers (1)

coderodde
coderodde

Reputation: 977

Just drag the .obj file in the Windows Explorer to the Source Files subtree in Solution Explorer.

Upvotes: 0

Related Questions