examples.cmake (578B)
1 # Copyright (c) the JPEG XL Project Authors. All rights reserved. 2 # 3 # Use of this source code is governed by a BSD-style 4 # license that can be found in the LICENSE file. 5 6 add_executable(decode_oneshot ${CMAKE_CURRENT_LIST_DIR}/decode_oneshot.cc) 7 target_link_libraries(decode_oneshot jxl_dec jxl_threads) 8 add_executable(decode_progressive ${CMAKE_CURRENT_LIST_DIR}/decode_progressive.cc) 9 target_link_libraries(decode_progressive jxl_dec jxl_threads) 10 add_executable(encode_oneshot ${CMAKE_CURRENT_LIST_DIR}/encode_oneshot.cc) 11 target_link_libraries(encode_oneshot jxl jxl_threads)