How do you pack a visual studio c++ project for release?

前端 未结 6 1624
谎友^
谎友^ 2020-12-02 17:06

I\'m wondering how to make a release build that includes all necessary dll files into the .exe so the program can be run on a non-development machine without it having to in

6条回答
  •  忘掉有多难
    2020-12-02 17:38

    1. Choose Project -> Properties
    2. Select Configuration -> General
    3. In the box for how you should link MFC, choose to statically link it.
    4. Choose Linker -> Input. Under Additional Dependencies, add any libraries you need your app to statically link in.

提交回复
热议问题