@@ -72,7 +72,7 @@ if (POLICY CMP0069)
7272 endif ()
7373endif ()
7474
75- # Configure CCache if available
75+ # Configure Ccache if available
7676find_program (CCACHE_FOUND ccache )
7777#set(CCACHE_FOUND 0)
7878if (CCACHE_FOUND)
@@ -221,7 +221,7 @@ if (HAS_PARENT)
221221endif ()
222222
223223
224- #SOURCE SETS
224+ # SOURCE SETS
225225
226226set_source_files_properties (${TL_TD_API_AUTO_SOURCE} PROPERTIES GENERATED TRUE )
227227if (TD_ENABLE_JNI OR ANDROID )
@@ -1057,7 +1057,7 @@ set(MEMPROF_STAT_SOURCE
10571057 memprof/memprof_stat.h
10581058)
10591059
1060- #LIBRARIES
1060+ # LIBRARIES
10611061
10621062# memprof - simple library for memory usage profiling
10631063add_library (memprof STATIC ${MEMPROF_SOURCE} )
@@ -1111,7 +1111,7 @@ if (NOT CMAKE_CROSSCOMPILING)
11111111 add_dependencies (tdmtproto tl_generate_mtproto )
11121112endif ()
11131113
1114- # tdcore - mostly internal TDLib interface. One should use tdactor for interactions with it.
1114+ # tdcore - internal TDLib interface
11151115if (MSVC AND TD_ENABLE_LTO)
11161116 add_library (tdcore_part1 STATIC ${TDLIB_SOURCE_PART1} )
11171117 target_include_directories (tdcore_part1 PUBLIC $<BUILD_INTERFACE :${CMAKE_CURRENT_SOURCE_DIR } > $<BUILD_INTERFACE :${TL_TD_AUTO_INCLUDE_DIR} >)
@@ -1174,7 +1174,7 @@ if (TD_ENABLE_DOTNET)
11741174 endif ()
11751175endif ()
11761176
1177- # tdc - TDLib interface in pure c.
1177+ # tdc - TDLib interface in pure C
11781178add_library (tdc STATIC EXCLUDE_FROM_ALL ${TL_C_SCHEME_SOURCE} td/telegram/td_c_client.cpp td/telegram/td_c_client.h )
11791179target_include_directories (tdc PUBLIC
11801180 $<BUILD_INTERFACE :${CMAKE_CURRENT_SOURCE_DIR } >
@@ -1218,14 +1218,14 @@ target_include_directories(tdjson_static PUBLIC
12181218 $<BUILD_INTERFACE :${CMAKE_CURRENT_BINARY_DIR } >
12191219 $<BUILD_INTERFACE :${CMAKE_CURRENT_SOURCE_DIR } >)
12201220
1221+ # EXECUTABLES
12211222if (EMSCRIPTEN)
12221223 set (TD_EMSCRIPTEN_SRC td/telegram/td_emscripten.cpp)
12231224 add_executable (${TD_EMSCRIPTEN} ${TD_EMSCRIPTEN_SRC} )
12241225 target_include_directories (${TD_EMSCRIPTEN} PUBLIC $<BUILD_INTERFACE :${CMAKE_CURRENT_SOURCE_DIR } >)
12251226 target_link_libraries (${TD_EMSCRIPTEN} PRIVATE tdjson_static tdactor )
12261227endif ()
12271228
1228- #EXECUTABLES
12291229if (NOT CMAKE_CROSSCOMPILING )
12301230 add_executable (tg_cli td/telegram/cli.cpp ${TL_TD_JSON_SOURCE} )
12311231
@@ -1256,7 +1256,7 @@ if (NOT CMAKE_CROSSCOMPILING)
12561256 add_dependencies (tg_cli tl_generate_json )
12571257endif ()
12581258
1259- #Exported libraries
1259+ # Exported libraries
12601260add_library (TdStatic INTERFACE )
12611261target_link_libraries (TdStatic INTERFACE tdclient )
12621262
0 commit comments