commit | fbd3bcbcb20c75764b3eec4b5fa97b5654eab4e3 | [log] [tgz] |
---|---|---|
author | Nguyen Anh Quynh <aquynh@gmail.com> | Wed Oct 19 23:01:31 2016 +0800 |
committer | Nguyen Anh Quynh <aquynh@gmail.com> | Wed Oct 19 23:01:31 2016 +0800 |
tree | 37b52b2ebb2f1cb3a18410f6d4d22b0c6032bfc8 | |
parent | 69f4206413c23ae0604310745ce6aac3845c2ee1 [diff] [blame] |
cstool: prepare for multiple C sources
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8749f30..5d8885d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -390,7 +390,8 @@ endif () if (CAPSTONE_BUILD_SHARED) -add_executable(cstool "cstool/cstool.c") +FILE(GLOB CSTOOL_SRC cstool/*.c) +add_executable(cstool ${CSTOOL_SRC}) target_link_libraries(cstool ${default-target}) install(TARGETS cstool DESTINATION bin)