2021-06-10 18:54:54 +08:00
|
|
|
cmake_minimum_required(VERSION 3.10)
|
|
|
|
project(deepin-ocr)
|
|
|
|
|
2022-05-10 09:54:44 +08:00
|
|
|
#3rdparty
|
|
|
|
execute_process(COMMAND sh ${CMAKE_CURRENT_LIST_DIR}/build3rdparty.sh WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR})
|
2021-06-10 18:54:54 +08:00
|
|
|
|
2021-06-17 14:54:16 +08:00
|
|
|
option(DOTEST "option for test" OFF)
|
2021-06-10 18:54:54 +08:00
|
|
|
|
2021-06-17 16:44:04 +08:00
|
|
|
if(DOTEST)
|
2022-05-10 09:54:44 +08:00
|
|
|
add_definitions(-DIN_TEST)
|
2021-06-10 18:54:54 +08:00
|
|
|
endif()
|
|
|
|
|
2022-05-10 09:54:44 +08:00
|
|
|
#deepin-ocr
|
|
|
|
add_subdirectory(src)
|