LibImage: Move userspace image parsing to its own library
The image utility now uses this tool instead of parsing images on its own.
This commit is contained in:
@@ -4,13 +4,11 @@ project(image CXX)
|
||||
|
||||
set(SOURCES
|
||||
main.cpp
|
||||
Image.cpp
|
||||
Netbpm.cpp
|
||||
)
|
||||
|
||||
add_executable(image ${SOURCES})
|
||||
target_compile_options(image PUBLIC -O2 -g)
|
||||
target_link_libraries(image PUBLIC libc ban)
|
||||
target_link_libraries(image PUBLIC libc ban libimage)
|
||||
|
||||
add_custom_target(image-install
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/image ${BANAN_BIN}/
|
||||
|
||||
Reference in New Issue
Block a user