sansapatcher: Add cmake target to build executable.
Change-Id: Idff5674acb5347643c8a26ef64506f892445977e
This commit is contained in:
parent
d56964cc2b
commit
08afedf1f5
1 changed files with 7 additions and 0 deletions
|
@ -104,6 +104,13 @@ endif()
|
|||
target_compile_definitions(ipodpatcher PUBLIC RBUTIL _LARGEFILE64_SOURCE)
|
||||
target_include_directories(ipodpatcher PUBLIC ${CMAKE_CURRENT_LIST_DIR}/ipodpatcher)
|
||||
|
||||
add_executable(sansapatcher-bin
|
||||
sansapatcher/main.c
|
||||
)
|
||||
target_link_libraries(sansapatcher-bin sansapatcher)
|
||||
target_compile_definitions(sansapatcher-bin PRIVATE VERSION="none")
|
||||
set_target_properties(sansapatcher-bin PROPERTIES OUTPUT_NAME sansapatcher)
|
||||
|
||||
add_library(sansapatcher
|
||||
sansapatcher/parttypes.h
|
||||
sansapatcher/sansaio.h
|
||||
|
|
Loading…
Reference in a new issue