Skip to content

Commit

Permalink
chore: use project identifier instead of generic
Browse files Browse the repository at this point in the history
  • Loading branch information
dcangulo committed Dec 3, 2023
1 parent c233fed commit f9f8277
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.4.1)
set (CMAKE_VERBOSE_MAKEFILE ON)
set (CMAKE_CXX_STANDARD 11)

add_library(cpp
add_library(<%- project.identifier -%>
SHARED
../cpp/<%- project.identifier -%>.cpp
cpp-adapter.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public String getName() {

<% if (project.cpp) { -%>
static {
System.loadLibrary("cpp");
System.loadLibrary("<%- project.identifier -%>");
}

private static native double nativeMultiply(double a, double b);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public String getName() {

<% if (project.cpp) { -%>
static {
System.loadLibrary("cpp");
System.loadLibrary("<%- project.identifier -%>");
}

public static native double nativeMultiply(double a, double b);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public String getName() {

<% if (project.cpp) { -%>
static {
System.loadLibrary("cpp");
System.loadLibrary("<%- project.identifier -%>");
}

private static native double nativeMultiply(double a, double b);
Expand Down

0 comments on commit f9f8277

Please sign in to comment.