Arsen Zahray
Arsen Zahray

Reputation: 25327

How do I distribute program compiled with cmake for windows?

So I've made a c++ program that compiles with msvc and cmake, and I'd like to run in on another computer.

When I transfer the executable to that computer,but when it starts it's saying that some dlls are missing. I probably need to install/configure some libraries, on which the program depends.

Is there an automated way that would compile an msi file that would install on the target system everything that I need?

Upvotes: 1

Views: 269

Answers (1)

Per Ghosh
Per Ghosh

Reputation: 533

You need to know what dlls you application needs. One way to check is with dependency walker found here

Here is a newer version of it, haven't tried it

Upvotes: 1

Related Questions