Skip to content

voidei/vcpkg-registry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLib Util - VCPKG Registry

VCPKG Registry for various packages used for, or assisting with, CommonLibSSE and SKSE plugin development.

Currently included packages:

How to use:

Add the following to your vcpkg-configuration.json file:

{
    "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg-configuration.schema.json",
    "registries": [
        {
            "kind": "git",
            "repository": "https://github.com/voidei/clib-utils-vcpkg-repository",
            "baseline": "20024b93cc048815af81db9608df020d25850f2d",
            "packages": [
                "autotoml",
                "clib-util",
                "infinity-ui",
                "mergemapper",
                "simpleini-po3"
            ]
        }
    ]
}

Note: Replace the baseline section with the latest commit hash.

Then add the following to your CMakeLists.txt:

find_package(AutoTOML CONFIG REQUIRED)
target_link_libraries(main PRIVATE AutoTOML::AutoTOML::)
find_path(CLIB_UTIL_INCLUDE_DIRS "ClibUtil/utils.hpp")
target_include_directories(main PRIVATE ${CLIB_UTIL_INCLUDE_DIRS})
find_path(INFINITY_UI_INCLUDE_DIRS "API.h")
target_include_dirs(main PRIVATE ${INFINITY_UI_INCLUDE_DIRS})
find_path(MERGEMAPPER_INCLUDE_DIRS "MergeMapperPluginAPI.h")
add_library(${PROJECT_NAME} SHARED ${MERGEMAPPER_INCLUDE_DIRS}/MergeMapperPluginAPI.cpp)
target_include_directories(main PRIVATE ${MERGEMAPPER_INCLUDE_DIRS})
find_path(SIMPLEINI_INCLUDE_DIRS "ConvertUTF.c")
target_include_directories(main PRIVATE ${SIMPLE_INI_INCLUDE_DIRS})

After then, you can include any of the files by doing the following:

// AutoTOML
#include <AutoTOML.hpp>

// ClibUtil
#include <ClibUtil/distribution.hpp>
#include <ClibUtil/rng.hpp>
#include <ClibUtil/string.hpp>

// Infinity UI
#include <API.h>

// MergeMapper
#include <MergeMapperPluginAPI.h>

// SimpleINI - PO3 Wrapper
#include <SimpleIni.h>

// MCM Helper
#include <todo>

Other VCPKG Registries:

A Vcpkg repository for Color-Glass Studios development.

This registry contains ports for CommonLibSSE, as well as several other packages used for modding Skyrim SE, or Fallout 4.

This registry, maintained by Mrowr Purr, is currently relatively small, but has some useful tools contained in it.

This registry, maintained by several members, is another relatively small one, but still contains some useful tools.

About

VCPKG Registry for CommonLibSSE Utils

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages