bare-buffer
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -30,5 +30,4 @@ cmake_minimum_required(VERSION 3.25) | ||
PUBLIC | ||
utf | ||
base64 | ||
hex | ||
base64_static | ||
hex_static | ||
) |
{ | ||
"name": "bare-buffer", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Native buffers for JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -33,3 +33,3 @@ cmake_minimum_required(VERSION 3.22) | ||
add_library(base64_shared SHARED $<TARGET_OBJECTS:base64>) | ||
add_library(base64_shared SHARED) | ||
@@ -43,4 +43,10 @@ set_target_properties( | ||
add_library(base64_static STATIC $<TARGET_OBJECTS:base64>) | ||
target_link_libraries( | ||
base64_shared | ||
PUBLIC | ||
base64 | ||
) | ||
add_library(base64_static STATIC) | ||
set_target_properties( | ||
@@ -53,2 +59,8 @@ base64_static | ||
target_link_libraries( | ||
base64_static | ||
PUBLIC | ||
base64 | ||
) | ||
install(TARGETS base64_shared base64_static) | ||
@@ -55,0 +67,0 @@ |
@@ -33,3 +33,3 @@ cmake_minimum_required(VERSION 3.22) | ||
add_library(hex_shared SHARED $<TARGET_OBJECTS:hex>) | ||
add_library(hex_shared SHARED) | ||
@@ -43,4 +43,10 @@ set_target_properties( | ||
add_library(hex_static STATIC $<TARGET_OBJECTS:hex>) | ||
target_link_libraries( | ||
hex_shared | ||
PUBLIC | ||
hex | ||
) | ||
add_library(hex_static STATIC) | ||
set_target_properties( | ||
@@ -53,2 +59,8 @@ hex_static | ||
target_link_libraries( | ||
hex_static | ||
PUBLIC | ||
hex | ||
) | ||
install(TARGETS hex_shared hex_static) | ||
@@ -60,3 +72,4 @@ | ||
enable_testing() | ||
add_subdirectory(test) | ||
endif() |
@@ -18,2 +18,4 @@ cmake_minimum_required(VERSION 3.25) | ||
include/utf.h | ||
include/utf/endianness.h | ||
include/utf/string.h | ||
PRIVATE | ||
@@ -24,2 +26,3 @@ src/endianness.c | ||
src/utf8/validate.c | ||
src/utf8/string.c | ||
src/utf16/utf8-convert.c | ||
@@ -36,3 +39,3 @@ src/utf16/utf8-length.c | ||
add_library(utf_shared SHARED $<TARGET_OBJECTS:utf>) | ||
add_library(utf_shared SHARED) | ||
@@ -46,4 +49,10 @@ set_target_properties( | ||
add_library(utf_static STATIC $<TARGET_OBJECTS:utf>) | ||
target_link_libraries( | ||
utf_shared | ||
PUBLIC | ||
utf | ||
) | ||
add_library(utf_static STATIC) | ||
set_target_properties( | ||
@@ -56,2 +65,8 @@ utf_static | ||
target_link_libraries( | ||
utf_static | ||
PUBLIC | ||
utf | ||
) | ||
install(TARGETS utf_shared utf_static) | ||
@@ -61,2 +76,4 @@ | ||
install(DIRECTORY include/utf DESTINATION include) | ||
if(PROJECT_IS_TOP_LEVEL) | ||
@@ -63,0 +80,0 @@ enable_testing() |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
290541
41