removed STD archeus, moved console and ssh into linux folder. also added libdbus
This commit is contained in:
parent
119d1b2c64
commit
8fe402e04e
27 changed files with 622 additions and 145 deletions
|
|
@ -1,14 +1,14 @@
|
|||
set(ARCHEUS_STD_LIBSSH_SSH_SOURCES
|
||||
packages/networking/libssh/ssh.c
|
||||
set(ARCHEUS_LIBSSH_SSH_SOURCES
|
||||
packages/linux/ssh/libssh/ssh.c
|
||||
)
|
||||
|
||||
function(libssh_check_and_init_needed _ARCHEUS_STD_FLAGS _ARCHEUS_STD_SOURCES ARCHEUS_STD_SSH_BACKEND)
|
||||
function(libssh_check_and_init_needed _ARCHEUS_FLAGS _ARCHEUS_SOURCES ARCHEUS_SSH_BACKEND)
|
||||
#add matching files for the selected backends
|
||||
if(${ARCHEUS_STD_SSH_BACKEND} STREQUAL "LIBSSH")
|
||||
string(APPEND ${_ARCHEUS_STD_FLAGS} "-lssh ")
|
||||
list(APPEND ${_ARCHEUS_STD_SOURCES} ${ARCHEUS_STD_LIBSSH_SSH_SOURCES})
|
||||
if(${ARCHEUS_SSH_BACKEND} STREQUAL "LIBSSH")
|
||||
string(APPEND ${_ARCHEUS_FLAGS} "-lssh ")
|
||||
list(APPEND ${_ARCHEUS_SOURCES} ${ARCHEUS_LIBSSH_SSH_SOURCES})
|
||||
endif()
|
||||
|
||||
set(${_ARCHEUS_STD_FLAGS} ${${_ARCHEUS_STD_FLAGS}} PARENT_SCOPE)
|
||||
set(${_ARCHEUS_STD_SOURCES} ${${_ARCHEUS_STD_SOURCES}} PARENT_SCOPE)
|
||||
set(${_ARCHEUS_FLAGS} ${${_ARCHEUS_FLAGS}} PARENT_SCOPE)
|
||||
set(${_ARCHEUS_SOURCES} ${${_ARCHEUS_SOURCES}} PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue