mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 13:37:22 +00:00
[porthole] initial client implementation
This commit is contained in:
parent
c382a5acb1
commit
01f5238a9d
@ -11,12 +11,18 @@ add_library(porthole STATIC
|
|||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
add_subdirectory(src/windows)
|
add_subdirectory(src/windows)
|
||||||
target_link_libraries(porthole PRIVATE porthole-windows)
|
set(PLATFORM "windows")
|
||||||
else()
|
else()
|
||||||
add_subdirectory(src/linux)
|
add_subdirectory(src/linux)
|
||||||
target_link_libraries(porthole PRIVATE porthole-linux)
|
set(PLATFORM "linux")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
target_link_libraries(porthole
|
||||||
|
PRIVATE
|
||||||
|
porthole-${PLATFORM}
|
||||||
|
lg_common
|
||||||
|
)
|
||||||
|
|
||||||
target_include_directories(porthole
|
target_include_directories(porthole
|
||||||
INTERFACE
|
INTERFACE
|
||||||
include
|
include
|
||||||
|
@ -2,10 +2,12 @@ cmake_minimum_required(VERSION 3.0)
|
|||||||
project(porthole-linux LANGUAGES C)
|
project(porthole-linux LANGUAGES C)
|
||||||
|
|
||||||
add_library(porthole-linux STATIC
|
add_library(porthole-linux STATIC
|
||||||
device.c
|
client.c
|
||||||
)
|
)
|
||||||
|
|
||||||
#target_link_libraries(porthole-linux)
|
target_link_libraries(porthole-linux
|
||||||
|
lg_common
|
||||||
|
)
|
||||||
|
|
||||||
target_include_directories(porthole-linux
|
target_include_directories(porthole-linux
|
||||||
PRIVATE
|
PRIVATE
|
||||||
|
Loading…
Reference in New Issue
Block a user