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_NONE_WINDOW_SOURCES
|
||||
set(ARCHEUS_NONE_WINDOW_SOURCES
|
||||
src/graphics/window.c
|
||||
)
|
||||
|
||||
set(ARCHEUS_STD_NONE_INPUT_SOURCES
|
||||
set(ARCHEUS_NONE_INPUT_SOURCES
|
||||
src/input/input.c
|
||||
src/input/keyboard.c
|
||||
src/input/mouse.c
|
||||
)
|
||||
|
||||
set(ARCHEUS_STD_NONE_GRAPHICS_SOURCES
|
||||
set(ARCHEUS_NONE_GRAPHICS_SOURCES
|
||||
src/graphics/circle.c
|
||||
src/graphics/config.c
|
||||
src/graphics/line.c
|
||||
|
|
@ -20,23 +20,23 @@ set(ARCHEUS_STD_NONE_GRAPHICS_SOURCES
|
|||
src/graphics/text.c
|
||||
)
|
||||
|
||||
function(none_check_and_init_needed _ARCHEUS_STD_FLAGS _ARCHEUS_STD_SOURCES ARCHEUS_STD_WINDOW_BACKEND ARCHEUS_STD_INPUT_BACKEND ARCHEUS_STD_GRAPHICS_BACKEND)
|
||||
function(none_check_and_init_needed _ARCHEUS_FLAGS _ARCHEUS_SOURCES ARCHEUS_WINDOW_BACKEND ARCHEUS_INPUT_BACKEND ARCHEUS_GRAPHICS_BACKEND)
|
||||
#add matching files for the selected backends
|
||||
if(${ARCHEUS_STD_WINDOW_BACKEND} STREQUAL "NONE")
|
||||
string(APPEND ${_ARCHEUS_STD_FLAGS} "-DARC_NONE_WINDOW ")
|
||||
list(APPEND ${_ARCHEUS_STD_SOURCES} ${ARCHEUS_STD_NONE_WINDOW_SOURCES})
|
||||
if(${ARCHEUS_WINDOW_BACKEND} STREQUAL "NONE")
|
||||
string(APPEND ${_ARCHEUS_FLAGS} "-DARC_NONE_WINDOW ")
|
||||
list(APPEND ${_ARCHEUS_SOURCES} ${ARCHEUS_NONE_WINDOW_SOURCES})
|
||||
endif()
|
||||
|
||||
if(${ARCHEUS_STD_INPUT_BACKEND} STREQUAL "NONE")
|
||||
string(APPEND ${_ARCHEUS_STD_FLAGS} "-DARC_NONE_INPUT ")
|
||||
list(APPEND ${_ARCHEUS_STD_SOURCES} ${ARCHEUS_STD_NONE_INPUT_SOURCES})
|
||||
if(${ARCHEUS_INPUT_BACKEND} STREQUAL "NONE")
|
||||
string(APPEND ${_ARCHEUS_FLAGS} "-DARC_NONE_INPUT ")
|
||||
list(APPEND ${_ARCHEUS_SOURCES} ${ARCHEUS_NONE_INPUT_SOURCES})
|
||||
endif()
|
||||
|
||||
if(${ARCHEUS_STD_GRAPHICS_BACKEND} STREQUAL "NONE")
|
||||
string(APPEND ${_ARCHEUS_STD_FLAGS} "-DARC_NONE_GRAPHICS ")
|
||||
list(APPEND ${_ARCHEUS_STD_SOURCES} ${ARCHEUS_STD_NONE_GRAPHICS_SOURCES})
|
||||
if(${ARCHEUS_GRAPHICS_BACKEND} STREQUAL "NONE")
|
||||
string(APPEND ${_ARCHEUS_FLAGS} "-DARC_NONE_GRAPHICS ")
|
||||
list(APPEND ${_ARCHEUS_SOURCES} ${ARCHEUS_NONE_GRAPHICS_SOURCES})
|
||||
endif()
|
||||
|
||||
set(${_ARCHEUS_STD_FLAGS} ${${_ARCHEUS_STD_FLAGS}} PARENT_SCOPE)
|
||||
set(${_ARCHEUS_STD_SOURCES} ${${_ARCHEUS_STD_SOURCES}} PARENT_SCOPE)
|
||||
endfunction()
|
||||
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