mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +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)
|
||||
add_subdirectory(src/windows)
|
||||
target_link_libraries(porthole PRIVATE porthole-windows)
|
||||
set(PLATFORM "windows")
|
||||
else()
|
||||
add_subdirectory(src/linux)
|
||||
target_link_libraries(porthole PRIVATE porthole-linux)
|
||||
set(PLATFORM "linux")
|
||||
endif()
|
||||
|
||||
target_link_libraries(porthole
|
||||
PRIVATE
|
||||
porthole-${PLATFORM}
|
||||
lg_common
|
||||
)
|
||||
|
||||
target_include_directories(porthole
|
||||
INTERFACE
|
||||
include
|
||||
|
@ -2,10 +2,12 @@ cmake_minimum_required(VERSION 3.0)
|
||||
project(porthole-linux LANGUAGES C)
|
||||
|
||||
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
|
||||
PRIVATE
|
||||
|
Loading…
Reference in New Issue
Block a user