Windows support (#34)
* generate windows files * adjustments * attempt compile * Fix windows build * Add note about VS 2019 * Update .gitignore Co-authored-by: Artur Shellunts <[email protected]>
This commit is contained in:
co-authored by
Artur Shellunts
parent
01902ef7eb
commit
c8a6a3f0c1
@@ -0,0 +1,24 @@
|
||||
cmake_minimum_required(VERSION 3.15)
|
||||
set(PROJECT_NAME "livekit_client")
|
||||
project(${PROJECT_NAME} LANGUAGES CXX)
|
||||
|
||||
# This value is used when generating builds using this plugin, so it must
|
||||
# not be changed
|
||||
set(PLUGIN_NAME "livekit_client_plugin")
|
||||
|
||||
add_library(${PLUGIN_NAME} SHARED
|
||||
"livekit_plugin.cpp"
|
||||
)
|
||||
apply_standard_settings(${PLUGIN_NAME})
|
||||
set_target_properties(${PLUGIN_NAME} PROPERTIES
|
||||
CXX_VISIBILITY_PRESET hidden)
|
||||
target_compile_definitions(${PLUGIN_NAME} PRIVATE FLUTTER_PLUGIN_IMPL)
|
||||
target_include_directories(${PLUGIN_NAME} INTERFACE
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/include")
|
||||
target_link_libraries(${PLUGIN_NAME} PRIVATE flutter flutter_wrapper_plugin)
|
||||
|
||||
# List of absolute paths to libraries that should be bundled with the plugin
|
||||
set(livekit_client_bundled_libraries
|
||||
""
|
||||
PARENT_SCOPE
|
||||
)
|
||||
Reference in New Issue
Block a user