Compare commits
No commits in common. "9d95c98424f018614ff4bf133ce580ded8a5a1ab" and "a6936c2f3064da182a89e8f7d760490dfc88c397" have entirely different histories.
9d95c98424
...
a6936c2f30
@ -1,27 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
project(mmcs-quotes-bridge LANGUAGES CXX)
|
||||
|
||||
option(BUILD_SHARED_LIBS "Build shared libraries by default" NO)
|
||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++")
|
||||
endif()
|
||||
|
||||
set(CURL_DISABLE_AWS ON)
|
||||
set(CURL_DISABLE_DICT ON)
|
||||
set(CURL_DISABLE_FILE ON)
|
||||
set(CURL_DISABLE_FTP ON)
|
||||
set(CURL_DISABLE_GOPHER ON)
|
||||
set(CURL_DISABLE_IMAP ON)
|
||||
set(CURL_DISABLE_LDAP ON)
|
||||
set(CURL_DISABLE_LDAPS ON)
|
||||
set(CURL_DISABLE_MQTT ON)
|
||||
set(CURL_DISABLE_NTLM ON)
|
||||
set(CURL_DISABLE_POP3 ON)
|
||||
set(CURL_DISABLE_RTSP ON)
|
||||
set(CURL_DISABLE_SMB ON)
|
||||
set(CURL_DISABLE_TFTP ON)
|
||||
set(CURL_DISABLE_WEBSOCKETS ON)
|
||||
|
||||
add_subdirectory(curl)
|
||||
add_subdirectory(json)
|
||||
add_subdirectory(libuv)
|
||||
@ -32,4 +11,4 @@ add_executable(${PROJECT_NAME} main.cpp config.cpp http.cpp manager.cpp posts.cp
|
||||
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE -std=c++2a)
|
||||
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE CURL::libcurl nlohmann_json::nlohmann_json uv_a spdlog::spdlog Td::TdStatic $<$<BOOL:${MINGW}>:ws2_32>)
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE CURL::libcurl nlohmann_json::nlohmann_json uv spdlog::spdlog Td::TdStatic $<$<BOOL:${MINGW}>:ws2_32>)
|
||||
|
@ -1,11 +0,0 @@
|
||||
{
|
||||
"vk_service_key": "service_key_service_key_service_key_service_key_service_key_service_key",
|
||||
|
||||
"tg_api_id": 1234567,
|
||||
"tg_api_hash": "53a513d108f2c7d9edc67dadd3ce4185",
|
||||
"tg_phone_number": "+79528125252",
|
||||
|
||||
"vk_sources": [{"id": "source1"}, {"id":123451234, "link": "source2"}],
|
||||
"tg_sources": [{"id": -1002282282280, "link": "tgsource"}],
|
||||
"tg_destination_id": -1005252525252
|
||||
}
|
Loading…
Reference in New Issue
Block a user