You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
409 B
20 lines
409 B
# Kstool for Keystone assembler engine.
|
|
# By Nguyen Anh Quynh, 2016
|
|
|
|
cmake_minimum_required(VERSION 2.8)
|
|
|
|
project(kstool)
|
|
|
|
include_directories("../include")
|
|
|
|
if (${CMAKE_CXX_COMPILER_ID} STREQUAL MSVC)
|
|
include_directories("./")
|
|
add_executable(kstool getopt.cpp kstool.cpp)
|
|
else()
|
|
add_executable(kstool kstool.cpp)
|
|
endif()
|
|
|
|
target_link_libraries(kstool keystone)
|
|
|
|
install(TARGETS kstool DESTINATION bin)
|