Static APISet Resolver is an open-source library that statically resolves host DLLs using Windows APISet.
- Windows (MSVC / Clang / GCC)
- Linux (Clang / GCC)
Add the following to your CMakeLists.txt.
include(FetchContent)
FetchContent_Declare(
sapisresolver
GIT_REPOSITORY https://github.com/Yamanekazuma/SAPIS-Resolver.git
GIT_TAG v1.1.1
)
FetchContent_MakeAvailable(sapisresolver)
target_link_libraries(<target> sapisresolver)Copy the include folder to your include folder.
Then, define the macro as follows when you include it.
#define SAPISRESOLVER_HEADER_ONLY
#include <apiset/resolver.h>See also examples.
This project is licensed under the terms of the GNU General Public License v3.0 or later.
You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.