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
9
cmake/archeus-config.cmake.in
Normal file
9
cmake/archeus-config.cmake.in
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
@PACKAGE_INIT@
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@_Exports.cmake")
|
||||
|
||||
set_and_check(ARCHEUS_INCLUDE_DIRS "@PACKAGE_INCLUDE_INSTALL_DIR@")
|
||||
set_and_check(ARCHEUS_LINK_DIRS "@PACKAGE_LIBRARY_INSTALL_BIN@")
|
||||
set(ARCHEUS_LIBRARIES "@PROJECT_NAME@")
|
||||
|
||||
check_required_components("@PROJECT_NAME@")
|
||||
|
|
@ -1,26 +1,26 @@
|
|||
set(ARCHEUS_STD_GLFW_WINDOW_SOURCES
|
||||
set(ARCHEUS_GLFW_WINDOW_SOURCES
|
||||
src/graphics/glfw/config.c
|
||||
src/graphics/glfw/renderer.c
|
||||
src/graphics/glfw/window.c
|
||||
)
|
||||
|
||||
set(ARCHEUS_STD_GLFW_INPUT_SOURCES
|
||||
set(ARCHEUS_GLFW_INPUT_SOURCES
|
||||
src/input/glfw/keyboard.c
|
||||
src/input/glfw/mouse.c
|
||||
)
|
||||
|
||||
function(glfw_check_and_init_needed _ARCHEUS_STD_FLAGS _ARCHEUS_STD_SOURCES ARCHEUS_STD_WINDOW_BACKEND ARCHEUS_STD_INPUT_BACKEND)
|
||||
function(glfw_check_and_init_needed _ARCHEUS_FLAGS _ARCHEUS_SOURCES ARCHEUS_WINDOW_BACKEND ARCHEUS_INPUT_BACKEND)
|
||||
#add matching files for the selected backends
|
||||
if(${ARCHEUS_STD_WINDOW_BACKEND} STREQUAL "GLFW")
|
||||
string(APPEND ${_ARCHEUS_STD_FLAGS} "-lglfw -DARC_GLFW_WINDOW ")
|
||||
list(APPEND ${_ARCHEUS_STD_SOURCES} ${ARCHEUS_STD_GLFW_WINDOW_SOURCES})
|
||||
if(${ARCHEUS_WINDOW_BACKEND} STREQUAL "GLFW")
|
||||
string(APPEND ${_ARCHEUS_FLAGS} "-lglfw -DARC_GLFW_WINDOW ")
|
||||
list(APPEND ${_ARCHEUS_SOURCES} ${ARCHEUS_GLFW_WINDOW_SOURCES})
|
||||
endif()
|
||||
|
||||
if(${ARCHEUS_STD_INPUT_BACKEND} STREQUAL "GLFW")
|
||||
string(APPEND ${_ARCHEUS_STD_FLAGS} "-lglfw -lGLEW -DARC_GLFW_INPUT ")
|
||||
list(APPEND ${_ARCHEUS_STD_SOURCES} ${ARCHEUS_STD_GLFW_INPUT_SOURCES})
|
||||
if(${ARCHEUS_INPUT_BACKEND} STREQUAL "GLFW")
|
||||
string(APPEND ${_ARCHEUS_FLAGS} "-lglfw -lGLEW -DARC_GLFW_INPUT ")
|
||||
list(APPEND ${_ARCHEUS_SOURCES} ${ARCHEUS_GLFW_INPUT_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()
|
||||
|
|
|
|||
27
cmake/archeus_libdbus.cmake
Normal file
27
cmake/archeus_libdbus.cmake
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
set(ARCHEUS_LIBDBUS_DBUS_SOURCES
|
||||
packages/linux/dbus/libdbus/dbus.c
|
||||
packages/linux/dbus/libdbus/helpers.c
|
||||
)
|
||||
|
||||
function(libdbus_check_and_init_needed _ARCHEUS_SOURCES _ARCHEUS_INCLUDE_DIRECTORIES _ARCHEUS_LINK_LIBRARIES ARCHEUS_DBUS_BACKEND)
|
||||
#add matching files for the selected backends
|
||||
if(${ARCHEUS_DBUS_BACKEND} STREQUAL "LIBDBUS")
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(DBUS REQUIRED dbus-1)
|
||||
|
||||
list(APPEND ${_ARCHEUS_SOURCES} ${ARCHEUS_LIBDBUS_DBUS_SOURCES})
|
||||
|
||||
#add to include directories
|
||||
list(APPEND ${_ARCHEUS_INCLUDE_DIRECTORIES}
|
||||
PUBLIC ${DBUS_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
list(APPEND ${_ARCHEUS_LINK_LIBRARIES}
|
||||
PUBLIC ${DBUS_LIBRARIES}
|
||||
)
|
||||
endif()
|
||||
|
||||
set(${_ARCHEUS_SOURCES} ${${_ARCHEUS_SOURCES}} PARENT_SCOPE)
|
||||
set(${_ARCHEUS_INCLUDE_DIRECTORIES} ${${_ARCHEUS_INCLUDE_DIRECTORIES}} PARENT_SCOPE)
|
||||
set(${_ARCHEUS_LINK_LIBRARIES} ${${_ARCHEUS_LINK_LIBRARIES}} PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -1,19 +1,19 @@
|
|||
set(ARCHEUS_STD_NCURSES_CONSOLE_SOURCES
|
||||
packages/console/ncurses/element.c
|
||||
packages/console/ncurses/key.c
|
||||
packages/console/ncurses/view.c
|
||||
set(ARCHEUS_NCURSES_CONSOLE_SOURCES
|
||||
packages/linux/console/ncurses/element.c
|
||||
packages/linux/console/ncurses/key.c
|
||||
packages/linux/console/ncurses/view.c
|
||||
|
||||
packages/console/ncurses/shell.c
|
||||
packages/console/ncurses/buffer.c
|
||||
packages/linux/console/ncurses/shell.c
|
||||
packages/linux/console/ncurses/buffer.c
|
||||
)
|
||||
|
||||
function(ncurses_check_and_init_needed _ARCHEUS_STD_FLAGS _ARCHEUS_STD_SOURCES ARCHEUS_STD_CONSOLE_BACKEND)
|
||||
function(ncurses_check_and_init_needed _ARCHEUS_FLAGS _ARCHEUS_SOURCES ARCHEUS_CONSOLE_BACKEND)
|
||||
#add matching files for the selected backends
|
||||
if(${ARCHEUS_STD_CONSOLE_BACKEND} STREQUAL "NCURSES")
|
||||
string(APPEND ${_ARCHEUS_STD_FLAGS} "-lncurses ")
|
||||
list(APPEND ${_ARCHEUS_STD_SOURCES} ${ARCHEUS_STD_NCURSES_CONSOLE_SOURCES})
|
||||
if(${ARCHEUS_CONSOLE_BACKEND} STREQUAL "NCURSES")
|
||||
string(APPEND ${_ARCHEUS_FLAGS} "-lncurses ")
|
||||
list(APPEND ${_ARCHEUS_SOURCES} ${ARCHEUS_NCURSES_CONSOLE_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()
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
set(ARCHEUS_STD_OPENGL_GRAPHICS_SOURCES
|
||||
set(ARCHEUS_OPENGL_GRAPHICS_SOURCES
|
||||
packages/graphics/opengl/circle.c
|
||||
packages/graphics/opengl/line.c
|
||||
packages/graphics/opengl/obround.c
|
||||
|
|
@ -8,13 +8,13 @@ set(ARCHEUS_STD_OPENGL_GRAPHICS_SOURCES
|
|||
packages/graphics/opengl/text.c
|
||||
)
|
||||
|
||||
function(opengl_check_and_init_needed _ARCHEUS_STD_FLAGS _ARCHEUS_STD_SOURCES ARCHEUS_STD_GRAPHICS_BACKEND)
|
||||
function(opengl_check_and_init_needed _ARCHEUS_FLAGS _ARCHEUS_SOURCES ARCHEUS_GRAPHICS_BACKEND)
|
||||
#add matching files for the selected backends
|
||||
if(${ARCHEUS_STD_GRAPHICS_BACKEND} STREQUAL "OPENGL")
|
||||
string(APPEND ${_ARCHEUS_STD_FLAGS} "-lGL -DARC_OPENGL_GRAPHICS ")
|
||||
list(APPEND ${_ARCHEUS_STD_SOURCES} ${ARCHEUS_STD_OPENGL_GRAPHICS_SOURCES})
|
||||
if(${ARCHEUS_GRAPHICS_BACKEND} STREQUAL "OPENGL")
|
||||
string(APPEND ${_ARCHEUS_FLAGS} "-lGL -DARC_OPENGL_GRAPHICS ")
|
||||
list(APPEND ${_ARCHEUS_SOURCES} ${ARCHEUS_OPENGL_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()
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
set(ARCHEUS_STD_SDL2_WINDOW_SOURCES
|
||||
set(ARCHEUS_SDL2_WINDOW_SOURCES
|
||||
packages/graphics/sdl/window.c
|
||||
packages/graphics/sdl/renderer.c
|
||||
)
|
||||
|
||||
set(ARCHEUS_STD_SDL2_INPUT_SOURCES
|
||||
set(ARCHEUS_SDL2_INPUT_SOURCES
|
||||
packages/input/sdl/input.c
|
||||
packages/input/sdl/keyboard.c
|
||||
packages/input/sdl/mouse.c
|
||||
|
|
@ -12,7 +12,7 @@ set(ARCHEUS_STD_SDL2_INPUT_SOURCES
|
|||
packages/audio/sdl/config.c
|
||||
)
|
||||
|
||||
set(ARCHEUS_STD_SDL2_GRAPHICS_SOURCES
|
||||
set(ARCHEUS_SDL2_GRAPHICS_SOURCES
|
||||
packages/graphics/sdl/circle.c
|
||||
packages/graphics/sdl/config.c
|
||||
packages/graphics/sdl/line.c
|
||||
|
|
@ -23,9 +23,9 @@ set(ARCHEUS_STD_SDL2_GRAPHICS_SOURCES
|
|||
packages/graphics/sdl/text.c
|
||||
)
|
||||
|
||||
function(sdl2_check_and_init_needed _ARCHEUS_STD_SOURCES _ARCHEUS_STD_INCLUDE_DIRECTORIES _ARCHEUS_STD_LINK_LIBRARIES ARCHEUS_STD_WINDOW_BACKEND ARCHEUS_STD_INPUT_BACKEND ARCHEUS_STD_GRAPHICS_BACKEND)
|
||||
function(sdl2_check_and_init_needed _ARCHEUS_SOURCES _ARCHEUS_INCLUDE_DIRECTORIES _ARCHEUS_LINK_LIBRARIES ARCHEUS_WINDOW_BACKEND ARCHEUS_INPUT_BACKEND ARCHEUS_GRAPHICS_BACKEND)
|
||||
#if no backend uses sdl return
|
||||
if(NOT ${ARCHEUS_STD_WINDOW_BACKEND} STREQUAL "SDL2" AND NOT ${ARCHEUS_STD_INPUT_BACKEND} STREQUAL "SDL2" AND NOT ${ARCHEUS_STD_GRAPHICS_BACKEND} STREQUAL "SDL2")
|
||||
if(NOT ${ARCHEUS_WINDOW_BACKEND} STREQUAL "SDL2" AND NOT ${ARCHEUS_INPUT_BACKEND} STREQUAL "SDL2" AND NOT ${ARCHEUS_GRAPHICS_BACKEND} STREQUAL "SDL2")
|
||||
return()
|
||||
endif()
|
||||
|
||||
|
|
@ -33,51 +33,51 @@ function(sdl2_check_and_init_needed _ARCHEUS_STD_SOURCES _ARCHEUS_STD_INCLUDE_DI
|
|||
find_package(SDL2 REQUIRED)
|
||||
|
||||
#add to include directories
|
||||
list(APPEND ${_ARCHEUS_STD_INCLUDE_DIRECTORIES}
|
||||
list(APPEND ${_ARCHEUS_INCLUDE_DIRECTORIES}
|
||||
PRIVATE ${SDL2_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
#add to link libraries
|
||||
list(APPEND ${_ARCHEUS_STD_LINK_LIBRARIES}
|
||||
list(APPEND ${_ARCHEUS_LINK_LIBRARIES}
|
||||
PUBLIC ${SDL2_LIBRARIES}
|
||||
)
|
||||
|
||||
#add matching files for the selected backends
|
||||
if(${ARCHEUS_STD_WINDOW_BACKEND} STREQUAL "SDL2")
|
||||
list(APPEND ${_ARCHEUS_STD_SOURCES} ${ARCHEUS_STD_SDL2_WINDOW_SOURCES})
|
||||
if(${ARCHEUS_WINDOW_BACKEND} STREQUAL "SDL2")
|
||||
list(APPEND ${_ARCHEUS_SOURCES} ${ARCHEUS_SDL2_WINDOW_SOURCES})
|
||||
endif()
|
||||
|
||||
if(${ARCHEUS_STD_INPUT_BACKEND} STREQUAL "SDL2")
|
||||
if(${ARCHEUS_INPUT_BACKEND} STREQUAL "SDL2")
|
||||
#TODO: remove this
|
||||
find_package(SDL2_mixer REQUIRED)
|
||||
|
||||
list(APPEND ${_ARCHEUS_STD_SOURCES} ${ARCHEUS_STD_SDL2_INPUT_SOURCES})
|
||||
list(APPEND ${_ARCHEUS_SOURCES} ${ARCHEUS_SDL2_INPUT_SOURCES})
|
||||
|
||||
#TODO: remove this
|
||||
list(APPEND ${_ARCHEUS_STD_LINK_LIBRARIES}
|
||||
list(APPEND ${_ARCHEUS_LINK_LIBRARIES}
|
||||
PUBLIC SDL2_mixer::SDL2_mixer
|
||||
)
|
||||
endif()
|
||||
|
||||
if(${ARCHEUS_STD_GRAPHICS_BACKEND} STREQUAL "SDL2")
|
||||
if(${ARCHEUS_GRAPHICS_BACKEND} STREQUAL "SDL2")
|
||||
find_package(SDL2_image REQUIRED)
|
||||
find_package(SDL2_ttf REQUIRED)
|
||||
|
||||
list(APPEND ${_ARCHEUS_STD_SOURCES} ${ARCHEUS_STD_SDL2_GRAPHICS_SOURCES})
|
||||
list(APPEND ${_ARCHEUS_SOURCES} ${ARCHEUS_SDL2_GRAPHICS_SOURCES})
|
||||
|
||||
#add to include directories
|
||||
list(APPEND ${_ARCHEUS_STD_INCLUDE_DIRECTORIES}
|
||||
list(APPEND ${_ARCHEUS_INCLUDE_DIRECTORIES}
|
||||
PRIVATE ${SDL2IMAGE_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
#add to link libraries
|
||||
list(APPEND ${_ARCHEUS_STD_LINK_LIBRARIES}
|
||||
list(APPEND ${_ARCHEUS_LINK_LIBRARIES}
|
||||
PUBLIC SDL2_image::SDL2_image
|
||||
PUBLIC SDL2_ttf::SDL2_ttf
|
||||
)
|
||||
endif()
|
||||
|
||||
set(${_ARCHEUS_STD_SOURCES} ${${_ARCHEUS_STD_SOURCES}} PARENT_SCOPE)
|
||||
set(${_ARCHEUS_STD_INCLUDE_DIRECTORIES} ${${_ARCHEUS_STD_INCLUDE_DIRECTORIES}} PARENT_SCOPE)
|
||||
set(${_ARCHEUS_STD_LINK_LIBRARIES} ${${_ARCHEUS_STD_LINK_LIBRARIES}} PARENT_SCOPE)
|
||||
set(${_ARCHEUS_SOURCES} ${${_ARCHEUS_SOURCES}} PARENT_SCOPE)
|
||||
set(${_ARCHEUS_INCLUDE_DIRECTORIES} ${${_ARCHEUS_INCLUDE_DIRECTORIES}} PARENT_SCOPE)
|
||||
set(${_ARCHEUS_LINK_LIBRARIES} ${${_ARCHEUS_LINK_LIBRARIES}} PARENT_SCOPE)
|
||||
endfunction()
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
@PACKAGE_INIT@
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@_Exports.cmake")
|
||||
|
||||
set_and_check(ARCHEUS_STD_INCLUDE_DIRS "@PACKAGE_INCLUDE_INSTALL_DIR@")
|
||||
set_and_check(ARCHEUS_STD_LINK_DIRS "@PACKAGE_LIBRARY_INSTALL_BIN@")
|
||||
set(ARCHEUS_STD_LIBRARIES "@PROJECT_NAME@")
|
||||
|
||||
check_required_components("@PROJECT_NAME@")
|
||||
Loading…
Add table
Add a link
Reference in a new issue