mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-10 22:33:58 +00:00
[porthole] initial client implementation
This commit is contained in:
parent
c382a5acb1
commit
01f5238a9d
3 changed files with 13 additions and 5 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
B1-24-g5e3a46beb9+1
|
||||
B1-25-gc382a5acb1+1
|
|
@ -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 a new issue