Seems I got it.
Code:
cmake_minimum_required(VERSION 3.7)
# set the project name
project(sh_ivtool)
# add the executable
add_executable(sh_ivtool.app main.c)
include(/SDK_6.3.0/SDK-B288/share/cmake/arm_conf.cmake)
link_directories("${PB_LINK_DIRECTORIES}")
target_include_directories(sh_ivtool.app PUBLIC "${FREETYPE_INCLUDE_DIRS}")
target_link_libraries(sh_ivtool.app inkview)
To compile then:
Code:
mkdir build
cd build
cmake ..
cmake --build .