mirror of https://github.com/tp4a/teleport
add missing file.
parent
92da225dc4
commit
08b682192e
|
@ -65,7 +65,6 @@ __pycache__
|
|||
/server/share/db
|
||||
/server/share/log
|
||||
/server/share/replay
|
||||
/server/testssh
|
||||
|
||||
|
||||
# for generated files.
|
||||
|
@ -78,7 +77,6 @@ __pycache__
|
|||
/client/tp_rdp
|
||||
/server/tp_core/protocol/rdp
|
||||
/client/tools/tprdp
|
||||
/server/tp_core/testssh
|
||||
/client/tp_assist_win_it_doctor
|
||||
/dist/client/windows/assist-it-doctor
|
||||
|
||||
|
|
|
@ -0,0 +1,49 @@
|
|||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
MESSAGE(STATUS "=======================================================")
|
||||
MESSAGE(STATUS " testssh")
|
||||
MESSAGE(STATUS "=======================================================")
|
||||
#MESSAGE(STATUS "operation system is ${CMAKE_SYSTEM}")
|
||||
#MESSAGE(STATUS "current source directory is ${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
include(../../../CMakeCfg.txt)
|
||||
|
||||
# ADD_DEFINITIONS(
|
||||
# -DMG_ENABLE_THREADS
|
||||
# -DMG_DISABLE_HTTP_DIGEST_AUTH
|
||||
# -DMG_DISABLE_MQTT
|
||||
# -DMG_DISABLE_SSI
|
||||
# # -DMG_DISABLE_FILESYSTEM
|
||||
# -DHAVE_CONFIG_H
|
||||
# # -DCS_COMMON_MD5_H_
|
||||
# -DCS_DISABLE_MD5
|
||||
# )
|
||||
|
||||
aux_source_directory(. DIR_SRCS)
|
||||
aux_source_directory(../../../common/libex/src DIR_SRCS)
|
||||
# aux_source_directory(../../../external/mongoose DIR_SRCS)
|
||||
# aux_source_directory(../../../external/jsoncpp/src/lib_json DIR_SRCS)
|
||||
|
||||
# list(REMOVE_ITEM DIR_SSH_SRCS "./dllmain.cpp")
|
||||
list(REMOVE_ITEM DIR_SRCS "./stdafx.cpp")
|
||||
|
||||
include_directories(
|
||||
../../../common/libex/include
|
||||
# ../../../common/teleport
|
||||
# ../../../external/mongoose
|
||||
# ../../../external/jsoncpp/include
|
||||
)
|
||||
|
||||
include_directories(
|
||||
${TP_EXTERNAL_RELEASE_DIR}/include
|
||||
)
|
||||
link_directories(${TP_EXTERNAL_RELEASE_DIR}/lib)
|
||||
|
||||
|
||||
add_executable(testssh ${DIR_SRCS})
|
||||
|
||||
if (OS_LINUX)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "-export-dynamic")
|
||||
target_link_libraries(testssh ssh ssl crypto mbedx509 mbedtls mbedcrypto dl pthread rt util)
|
||||
elseif (OS_MACOS)
|
||||
target_link_libraries(testssh ssh ssl crypto mbedx509 mbedtls mbedcrypto dl pthread util)
|
||||
endif ()
|
Loading…
Reference in New Issue