diff --git a/Native/Source/Library.c b/Native/Source/Library.c deleted file mode 100644 index 11a4fd6..0000000 --- a/Native/Source/Library.c +++ /dev/null @@ -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; -} diff --git a/Native/Source/Library.h b/Native/Source/Library.h deleted file mode 100644 index 12443ae..0000000 --- a/Native/Source/Library.h +++ /dev/null @@ -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); diff --git a/Native/premake5.lua b/Native/premake5.lua deleted file mode 100644 index 583e200..0000000 --- a/Native/premake5.lua +++ /dev/null @@ -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" - } diff --git a/premake5.lua b/premake5.lua deleted file mode 100644 index b1fe65c..0000000 --- a/premake5.lua +++ /dev/null @@ -1,10 +0,0 @@ -workspace "DevKit.Jvm" - architecture "x64" - - configurations - { - "debug", - "release" - } - - include "Native"