mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-02-14 19:17:40 +00:00
cstool: prepare for multiple C sources
This commit is contained in:
parent
e82a62cabe
commit
4e52d98ced
@ -451,7 +451,8 @@ if (CAPSTONE_BUILD_SHARED)
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user