mirror of https://github.com/mono/CppSharp.git
5 changed files with 0 additions and 32 deletions
@ -1,8 +0,0 @@
@@ -1,8 +0,0 @@
|
||||
set -ex |
||||
mono ../../build/vs2015/lib/Debug_x64/CppSharp.CLI.exe -gen=qjs -module=test -prefix=js_ test-native.h |
||||
../../build/premake5-osx --file=premake5.lua gmake |
||||
make clean |
||||
make |
||||
|
||||
cp gen/bin/release/libtest.dylib . |
||||
../../deps/QuickJS/qjs test.js |
@ -1,15 +0,0 @@
@@ -1,15 +0,0 @@
|
||||
qjs_inc_dir = path.getabsolute("../../deps/QuickJS") |
||||
qjs_lib_dir = path.getabsolute("../../deps/QuickJS") |
||||
|
||||
workspace "qjs" |
||||
configurations { "release" } |
||||
|
||||
project "test-native" |
||||
kind "StaticLib" |
||||
files { "*-native.cpp" } |
||||
|
||||
include "gen/js_premake5.lua" |
||||
|
||||
project "test" |
||||
includedirs { "." } |
||||
links { "test-native" } |
@ -1,6 +0,0 @@
@@ -1,6 +0,0 @@
|
||||
#include "test-native.h" |
||||
|
||||
extern "C" int plus(int a, int b) |
||||
{ |
||||
return a + b; |
||||
} |
@ -1 +0,0 @@
@@ -1 +0,0 @@
|
||||
extern "C" int plus(int a, int b); |
Loading…
Reference in new issue