mirror of
https://github.com/keystone-engine/keystone.git
synced 2026-10-12 02:17:10 +00:00
19 lines
544 B
CMake
19 lines
544 B
CMake
# Sample for Keystone assembler engine (www.keystone-engine.org).
|
|
# By Nguyen Anh Quynh, 2016
|
|
|
|
# For Linux, be sure to install Keystone before compiling this
|
|
# For Windows, be sure to copy keystone.dll or keystone.lib
|
|
# to this directory before compiling
|
|
|
|
cmake_minimum_required(VERSION 2.8)
|
|
|
|
project(sample)
|
|
|
|
# For Linux, be sure to install Keystone before compiling this
|
|
# For Windows, make sure to point to include dir of Keystone
|
|
include_directories("../../include")
|
|
|
|
add_executable(sample sample.c)
|
|
|
|
target_link_libraries(sample keystone)
|