Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
thegecko committed May 7, 2023
1 parent 531bda8 commit cf8ea55
Show file tree
Hide file tree
Showing 9 changed files with 814 additions and 1,551 deletions.
12 changes: 0 additions & 12 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,3 @@ if (MSVC AND CMAKE_JS_NODELIB_DEF AND CMAKE_JS_NODELIB_TARGET)
# Generate node.lib
execute_process(COMMAND ${CMAKE_AR} /def:${CMAKE_JS_NODELIB_DEF} /out:${CMAKE_JS_NODELIB_TARGET} ${CMAKE_STATIC_LINKER_FLAGS})
endif()

# Add FFI library.
add_library(simpleble-wrapper SHARED lib/wrapper.cpp)
target_link_libraries(simpleble-wrapper PRIVATE simpleble-c)
set_target_properties(simpleble-wrapper PROPERTIES
OUTPUT_NAME "simpleble"
CXX_STANDARD 17
CXX_VISIBILITY_PRESET hidden
VISIBILITY_INLINES_HIDDEN YES
POSITION_INDEPENDENT_CODE ON
WINDOWS_EXPORT_ALL_SYMBOLS ON
)
Loading

0 comments on commit cf8ea55

Please sign in to comment.