Update CMakeLists.txt and tl-parser

This commit is contained in:
Andrea Cavalli 2020-12-27 11:40:08 +01:00
parent 23725f0c34
commit 6012baeb3e
2 changed files with 1 additions and 10 deletions

View File

@ -112,15 +112,6 @@ if (NOT CMAKE_CROSSCOMPILING)
DEPENDS scheme/mtproto_api.tl scheme/telegram_api.tl scheme/secret_api.tl scheme/td_api.tl DEPENDS scheme/mtproto_api.tl scheme/telegram_api.tl scheme/secret_api.tl scheme/td_api.tl
) )
add_dependencies(build_tl_parser configure_tl_parser) add_dependencies(build_tl_parser configure_tl_parser)
if (WIN32 OR CYGWIN)
SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG "${OUTPUT_DIRECTORY}")
SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE "${OUTPUT_DIRECTORY}")
SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG "${OUTPUT_DIRECTORY}")
SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE "${OUTPUT_DIRECTORY}")
SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG "${OUTPUT_DIRECTORY}")
SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE "${OUTPUT_DIRECTORY}")
endif()
set(TL_PARSER_BIN ./tl-parser/build/tl-parser) set(TL_PARSER_BIN ./tl-parser/build/tl-parser)
add_custom_target(generate_mtproto_api_tlo add_custom_target(generate_mtproto_api_tlo

@ -1 +1 @@
Subproject commit 43ca916f66ce9e1c876579d32c69f52ef9dd73fe Subproject commit 93f3831e492b50b892f7f4a3025d177dd3e2ac7e