mirror of
https://github.com/tribufu/tribufu-java
synced 2026-05-18 09:35:44 +00:00
Remove C Library
This commit is contained in:
parent
77a69d46ca
commit
362bb7f973
4 changed files with 0 additions and 102 deletions
|
|
@ -1,11 +0,0 @@
|
||||||
// Copyright (c) TribuFu. All Rights Reserved
|
|
||||||
|
|
||||||
#include "Library.h"
|
|
||||||
#include "TribuFu.h"
|
|
||||||
|
|
||||||
char *Java_Hello(char *input)
|
|
||||||
{
|
|
||||||
char *result = Hello("C");
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
// Copyright (c) TribuFu. All Rights Reserved
|
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include "TribuFu.h"
|
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
|
||||||
#define EXPORT __declspec(dllexport)
|
|
||||||
#define IMPORT __declspec(dllimport)
|
|
||||||
#elif defined(__GNUC__)
|
|
||||||
#define EXPORT __attribute__((visibility("default")))
|
|
||||||
#define IMPORT
|
|
||||||
#else
|
|
||||||
#define EXPORT
|
|
||||||
#define IMPORT
|
|
||||||
#pragma warning Unknown dynamic link import/export semantics.
|
|
||||||
#endif
|
|
||||||
|
|
||||||
EXPORT char *Java_Hello(char *input);
|
|
||||||
|
|
@ -1,62 +0,0 @@
|
||||||
project "TribuFu.Jvm"
|
|
||||||
location "."
|
|
||||||
kind "SharedLib"
|
|
||||||
language "C"
|
|
||||||
|
|
||||||
targetdir ("./Binaries/%{cfg.buildcfg}")
|
|
||||||
objdir ("./Intermediate/")
|
|
||||||
|
|
||||||
files
|
|
||||||
{
|
|
||||||
"./Source/**.h",
|
|
||||||
"./Source/**.c",
|
|
||||||
}
|
|
||||||
|
|
||||||
includedirs
|
|
||||||
{
|
|
||||||
"../Vendor/TribuFu"
|
|
||||||
}
|
|
||||||
|
|
||||||
filter "system:windows"
|
|
||||||
staticruntime "Off"
|
|
||||||
systemversion "latest"
|
|
||||||
|
|
||||||
links
|
|
||||||
{
|
|
||||||
"TribuFu.lib"
|
|
||||||
}
|
|
||||||
|
|
||||||
libdirs
|
|
||||||
{
|
|
||||||
"../Vendor/TribuFu/Windows"
|
|
||||||
}
|
|
||||||
|
|
||||||
filter { "system:windows", "configurations:debug" }
|
|
||||||
runtime "Debug"
|
|
||||||
symbols "on"
|
|
||||||
|
|
||||||
filter { "system:windows", "configurations:release" }
|
|
||||||
runtime "Release"
|
|
||||||
optimize "on"
|
|
||||||
|
|
||||||
filter "system:linux"
|
|
||||||
links
|
|
||||||
{
|
|
||||||
"TribuFu"
|
|
||||||
}
|
|
||||||
|
|
||||||
libdirs
|
|
||||||
{
|
|
||||||
"../Vendor/TribuFu/Linux"
|
|
||||||
}
|
|
||||||
|
|
||||||
filter "system:darwin"
|
|
||||||
links
|
|
||||||
{
|
|
||||||
"TribuFu"
|
|
||||||
}
|
|
||||||
|
|
||||||
libdirs
|
|
||||||
{
|
|
||||||
"../Vendor/TribuFu/Mac"
|
|
||||||
}
|
|
||||||
10
premake5.lua
10
premake5.lua
|
|
@ -1,10 +0,0 @@
|
||||||
workspace "DevKit.Jvm"
|
|
||||||
architecture "x64"
|
|
||||||
|
|
||||||
configurations
|
|
||||||
{
|
|
||||||
"debug",
|
|
||||||
"release"
|
|
||||||
}
|
|
||||||
|
|
||||||
include "Native"
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue