Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

cmake-bare

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cmake-bare - npm Package Compare versions

Comparing version
1.6.5
to
1.7.0
+22
-9
cmake-bare.cmake

@@ -264,4 +264,8 @@ include_guard()

set(multi_value_keywords
INSTALL
)
cmake_parse_arguments(
PARSE_ARGV 1 ARGV "${option_keywords}" "" ""
PARSE_ARGV 1 ARGV "${option_keywords}" "" "${multi_value_keywords}"
)

@@ -426,2 +430,19 @@

while(TRUE)
list(LENGTH ARGV_INSTALL len)
if(len LESS 2)
break()
endif()
list(POP_FRONT ARGV_INSTALL type target)
if(type MATCHES "TARGET")
install(
TARGETS ${target}
DESTINATION ${host}/${name}
)
endif()
endwhile()
return(PROPAGATE ${result})

@@ -543,4 +564,2 @@ endfunction()

string(MAKE_C_IDENTIFIER ${target} id)
target_compile_definitions(

@@ -552,8 +571,2 @@ ${target}

BARE_MODULE_CONSTRUCTOR_VERSION=${hash}
NAPI_MODULE_FILENAME="${name}@${version}"
NAPI_MODULE_REGISTER_CONSTRUCTOR
NAPI_MODULE_CONSTRUCTOR_VERSION=${hash}
NODE_GYP_MODULE_NAME=${id}
)

@@ -560,0 +573,0 @@

{
"name": "cmake-bare",
"version": "1.6.5",
"version": "1.7.0",
"description": "Bare utilities for CMake",

@@ -5,0 +5,0 @@ "files": [

@@ -39,3 +39,3 @@ # cmake-bare

#### `add_bare_module(<result> [EXPORTS])`
#### `add_bare_module(<result> [EXPORTS] [INSTALL [TARGET <target>]...])`

@@ -42,0 +42,0 @@ Add a Bare native addon target and write the target name to the `<result>` variable.

@@ -63,3 +63,3 @@ // Delay loader implementation for Windows. This is used to support loading

switch (event) {
case dliNotePreLoadLibrary:
case dliNotePreLoadLibrary: {
LPCSTR dll = info->szDll;

@@ -76,2 +76,3 @@

return NULL;
}

@@ -78,0 +79,0 @@ default: