keystone-engine / keystone

Keystone assembler framework: Core (Arm, Arm64, Hexagon, Mips, PowerPC, Sparc, SystemZ & X86) + bindings
http://www.keystone-engine.org
GNU General Public License v2.0
2.3k stars 458 forks source link

How to use as a cmake subdirectory #556

Open wormtql opened 1 year ago

wormtql commented 1 year ago

I wish to use cmake to include keystone as a subdirectory. I managed to link keystone as a static library in linux, but it didn't work on Windows due to some linking issues. Is it possible to use keystone as a dynamic library, while still including keystone source code as a subdirectory?