Update CMakeLists.txt
This commit is contained in:
parent
09e23b61cf
commit
b7d5e480f7
@ -131,7 +131,7 @@ if (NOT CMAKE_CROSSCOMPILING)
|
||||
|
||||
add_custom_target(build_tl_parser
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/tl-parser
|
||||
COMMAND "make"
|
||||
COMMAND make
|
||||
COMMENT "Build tl-parser"
|
||||
DEPENDS scheme/mtproto_api.tl scheme/telegram_api.tl scheme/secret_api.tl scheme/td_api.tl
|
||||
)
|
||||
@ -139,7 +139,7 @@ if (NOT CMAKE_CROSSCOMPILING)
|
||||
|
||||
add_custom_target(generate_mtproto_api_tlo
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
COMMAND "./tl-parser/bin/tl-parser" -v scheme/mtproto_api.tl -e scheme/mtproto_api.tlo
|
||||
COMMAND ./tl-parser/bin/tl-parser -v -e scheme/mtproto_api.tlo scheme/mtproto_api.tl
|
||||
COMMENT "Build tl-parser"
|
||||
DEPENDS scheme/mtproto_api.tl
|
||||
)
|
||||
@ -147,7 +147,7 @@ if (NOT CMAKE_CROSSCOMPILING)
|
||||
|
||||
add_custom_target(generate_secret_api_tlo
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
COMMAND "./tl-parser/bin/tl-parser" -v scheme/secret_api.tl -e scheme/secret_api.tlo
|
||||
COMMAND ./tl-parser/bin/tl-parser -v -e scheme/secret_api.tlo scheme/secret_api.tl
|
||||
COMMENT "Build tl-parser"
|
||||
DEPENDS scheme/secret_api.tl
|
||||
)
|
||||
@ -155,7 +155,7 @@ if (NOT CMAKE_CROSSCOMPILING)
|
||||
|
||||
add_custom_target(generate_telegram_api_tlo
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
COMMAND "./tl-parser/bin/tl-parser" -v scheme/telegram_api.tl -e scheme/telegram_api.tlo
|
||||
COMMAND ./tl-parser/bin/tl-parser -v -e scheme/telegram_api.tlo scheme/telegram_api.tl
|
||||
COMMENT "Build tl-parser"
|
||||
DEPENDS scheme/telegram_api.tl
|
||||
)
|
||||
@ -163,7 +163,7 @@ if (NOT CMAKE_CROSSCOMPILING)
|
||||
|
||||
add_custom_target(generate_td_api_tlo
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
COMMAND "./tl-parser/bin/tl-parser" -v scheme/td_api.tl -e scheme/td_api.tlo
|
||||
COMMAND ./tl-parser/bin/tl-parser -v -e scheme/td_api.tlo scheme/td_api.tl
|
||||
COMMENT "Build tl-parser"
|
||||
DEPENDS scheme/td_api.tl
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user