Skip to content

Latest commit

 

History

21 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

interface-sys

interface-sys is a C99 library for declaring interfaces that allow multiple dynamically loaded libraries and executables to communicate with each other, inspired by Valve Software's source engine.

Usage

The system is built using CMake, for easy inclusion in any CMake-based project.

Here is an example CMakeLists.txt file for including it in your project:

cmake_minimum_required(VERSION 3.14) # FetchContent_MakeAvailable was added in cmake 3.14
project(YourProject)

include(FetchContent)

# disable building examples, dont need that for a project
set(BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)

# declare and import interface sys
FetchContent_Declare(
    interface-sys
    GIT_REPOSITORY https://github.com/williamistGitHub/interface-sys.git
    GIT_TAG v1.0.1
)

FetchContent_MakeAvailable(interface-sys)

# your app code goes here
add_executable(YourProject)
target_sources(YourProject PRIVATE app.c)
target_link_libraries(YourProject PRIVATE interface_sys)

Look at the examples for how to use the library in code.

Contributing

Found an issue with the library? Make an issue or pull request!

About

A C99 library for declaring interfaces that allow multiple dynamically loaded libraries and executables to communicate with each other.

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages