mirror of https://github.com/procxx/kepka.git
23 lines
388 B
CMake
23 lines
388 B
CMake
add_library(lib_scheme OBJECT)
|
|
init_target(lib_scheme)
|
|
|
|
include(cmake/generate_scheme.cmake)
|
|
|
|
set(scheme_files
|
|
${res_loc}/tl/mtproto.tl
|
|
${res_loc}/tl/api.tl
|
|
)
|
|
|
|
generate_scheme(lib_scheme ${src_loc}/codegen/scheme/codegen_scheme.py "${scheme_files}")
|
|
|
|
target_include_directories(lib_scheme
|
|
PUBLIC
|
|
${src_loc}
|
|
)
|
|
|
|
target_link_libraries(lib_scheme
|
|
PUBLIC
|
|
lib_base
|
|
lib_tl
|
|
)
|