forked from telegramdesktop/tdesktop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c4da31c
commit 85060cd
Showing
17 changed files
with
956 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
add_library(lib_export OBJECT) | ||
init_target(lib_export) | ||
|
||
set(lib_export_sources | ||
PRIVATE | ||
export/export_api_wrap.cpp | ||
export/export_api_wrap.h | ||
export/export_controller.cpp | ||
export/export_controller.h | ||
export/export_settings.cpp | ||
export/export_settings.h | ||
export/data/export_data_types.cpp | ||
export/data/export_data_types.h | ||
export/output/export_output_abstract.cpp | ||
export/output/export_output_abstract.h | ||
export/output/export_output_file.cpp | ||
export/output/export_output_file.h | ||
export/output/export_output_html.cpp | ||
export/output/export_output_html.h | ||
export/output/export_output_json.cpp | ||
export/output/export_output_json.h | ||
export/output/export_output_result.h | ||
export/output/export_output_stats.cpp | ||
export/output/export_output_stats.h | ||
export/output/export_output_text.cpp | ||
export/output/export_output_text.h | ||
) | ||
nice_target_sources(lib_export ${src_loc} "${lib_export_sources}") | ||
|
||
force_include(lib_export export/export_pch.h) | ||
|
||
target_include_directories(lib_export | ||
PUBLIC | ||
${src_loc} | ||
) | ||
|
||
target_link_libraries(lib_export | ||
PUBLIC | ||
lib_base | ||
lib_scheme | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
add_library(lib_ffmpeg OBJECT) | ||
init_target(lib_ffmpeg) | ||
|
||
set(lib_ffmpeg_sources | ||
PRIVATE | ||
ffmpeg/ffmpeg_utility.cpp | ||
ffmpeg/ffmpeg_utility.h | ||
) | ||
nice_target_sources(lib_ffmpeg ${src_loc} "${lib_ffmpeg_sources}") | ||
|
||
target_include_directories(lib_ffmpeg | ||
PUBLIC | ||
${src_loc} | ||
${libs_loc}/ffmpeg | ||
) | ||
|
||
target_link_libraries(lib_ffmpeg | ||
PUBLIC | ||
lib_base | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
add_library(lib_lz4 OBJECT) | ||
init_target(lib_lz4) | ||
|
||
set(lz4_loc ${third_party_loc}/lz4/lib) | ||
|
||
target_sources(lib_lz4 | ||
PRIVATE | ||
${lz4_loc}/lz4.c | ||
${lz4_loc}/lz4.h | ||
${lz4_loc}/lz4frame.c | ||
${lz4_loc}/lz4frame.h | ||
${lz4_loc}/lz4frame_static.h | ||
${lz4_loc}/lz4hc.c | ||
${lz4_loc}/lz4hc.h | ||
${lz4_loc}/xxhash.c | ||
${lz4_loc}/xxhash.h | ||
) | ||
|
||
target_include_directories(lib_lz4 | ||
PUBLIC | ||
${lz4_loc} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
add_library(lib_mtproto OBJECT) | ||
init_target(lib_mtproto) | ||
|
||
set(lib_mtproto_sources | ||
PRIVATE | ||
mtproto/mtp_abstract_socket.cpp | ||
mtproto/mtp_abstract_socket.h | ||
mtproto/mtp_tcp_socket.cpp | ||
mtproto/mtp_tcp_socket.h | ||
mtproto/mtp_tls_socket.cpp | ||
mtproto/mtp_tls_socket.h | ||
) | ||
nice_target_sources(lib_mtproto ${src_loc} "${lib_mtproto_sources}") | ||
|
||
force_include(lib_mtproto mtproto/mtp_pch.h) | ||
|
||
target_include_directories(lib_mtproto | ||
PUBLIC | ||
${src_loc} | ||
) | ||
|
||
target_link_libraries(lib_mtproto | ||
PUBLIC | ||
lib_scheme | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
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 | ||
) |
Oops, something went wrong.