peter1591 / hearthstone-ai

A Hearthstone AI based on Monte Carlo tree search and neural nets written in modern C++.
301 stars 49 forks source link

static link UI executable #74

Open peter1591 opened 7 years ago

peter1591 commented 7 years ago

Three different parts in our UI:

  1. Simulation engine and AI engine are compiled in native C++ code
  2. They are statically linked in a managed C++/CLI dll
  3. The UI part compile as another executable

When running our UI (i.e., 3 above), we also need the C++/CLI dll (i.e., 2 above)

ILMerge (https://github.com/Microsoft/ILMerge) can be used to merge them into one final executable.

wonderkid27 commented 7 years ago

What do you mean? What file do we merge?

peter1591 commented 7 years ago

The .dll build from the CppCLI project. Now this is done automatically by the dependency rules in the VS project files.