{"id":18583402,"url":"https://github.com/epinter/skse-clibng-template","last_synced_at":"2025-07-16T19:32:25.206Z","repository":{"id":173093874,"uuid":"650224678","full_name":"epinter/skse-clibng-template","owner":"epinter","description":"Template Project for SKSE - CommonLibSSE-NG","archived":false,"fork":false,"pushed_at":"2025-03-02T20:18:25.000Z","size":57,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T00:34:37.579Z","etag":null,"topics":["cmake","commonlibsse-ng","skse64","skyrim-special-edition"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/epinter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-06T15:56:28.000Z","updated_at":"2025-03-02T20:18:29.000Z","dependencies_parsed_at":"2025-02-14T00:26:51.395Z","dependency_job_id":"44dd0009-f473-4981-9fbe-4a29dd7b75b1","html_url":"https://github.com/epinter/skse-clibng-template","commit_stats":null,"previous_names":["epinter/skse-clibng-template"],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/epinter/skse-clibng-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epinter%2Fskse-clibng-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epinter%2Fskse-clibng-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epinter%2Fskse-clibng-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epinter%2Fskse-clibng-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epinter","download_url":"https://codeload.github.com/epinter/skse-clibng-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epinter%2Fskse-clibng-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265534583,"owners_count":23783859,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cmake","commonlibsse-ng","skse64","skyrim-special-edition"],"created_at":"2024-11-07T00:22:29.300Z","updated_at":"2025-07-16T19:32:25.162Z","avatar_url":"https://github.com/epinter.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ***Template Project for SKSE - CommonLibSSE-NG***\n\n## ***Runtime requirements***\n\n- [Skyrim Script Extender (SKSE)](https://skse.silverlock.org/)\n- [Address Library for SKSE Plugins](https://www.nexusmods.com/skyrimspecialedition/mods/32444)\n\n## ***Build requirements***\n\n- [CMake](https://cmake.org/)\n- [vcpkg](https://vcpkg.io/en/)\n- [Visual Studio Community 2022](https://visualstudio.microsoft.com/vs/community/)\n- [CommonLibSSE-NG](https://github.com/CharmedBaryon/CommonLibSSE-NG)\n\n#### ***CommonLibSSE-NG***\n\nTo use CommonLibSSE-NG as a git-submodule instead of overlay-ports, clone it to extern/CommonLibSSE-NG and edit vcpkg.json removing \"commonlibsse-ng\" and adding its dependencies.\n\n## ***Building***\n\nIn `Developer Command Prompt for VS 2022` or `Developer PowerShell for VS 2022`, run:\n\n~~~\ngit clone https://github.com/epinter/skse-clibng-template.git\ncd skse-clibng-template\n~~~\n\nthen\n\n~~~\n.\\cmake\\build.ps1\n~~~\n\nor\n\n~~~\n.\\cmake\\build.ps1 -buildPreset relwithdebinfo\n~~~\n\nor\n\n~~~\n.\\cmake\\build.ps1 -buildPreset debug\n~~~\n\nor\n\n~~~\ncmake -B build -S . --preset default --fresh\ncmake --build build --preset release\n~~~\n\nThen get the .dll in build/Release, or the .zip (ready to install using mod manager) in build.\n\n## ***Clean up the template***\n\nThis template contains some examples that can be removed if not used:\n\n- Boost dependencies in CMakeLists.txt and vcpkg.json\n- Sample files inside dist/ directory (used to by cpack to generate .zip)\n- GameEventHandler.cpp, GameEventHandler.h and SkseMessagingListener.h.\n- .clang-tidy and .clang-format\n- Log directory method in Plugin.cpp\n\n## ***File local.cmake***\n\nCMake will use a file named local.cmake (project root), in this file you can add something like:\n\n~~~\nadd_custom_command(TARGET ${PROJECT_NAME} POST_BUILD\n    COMMAND xcopy /y /-I \"bin\\\\$\u003cCONFIG\u003e\\\\${PROJECT_NAME}.dll\" \"C:\\\\games\\\\Skyrim\\\\Data\\\\SKSE\\\\Plugins\\\\${PROJECT_NAME}.dll\"\n    COMMAND xcopy /y /-I \"bin\\\\$\u003cCONFIG\u003e\\\\${PROJECT_NAME}.pdb\" \"C:\\\\games\\\\Skyrim\\\\Data\\\\SKSE\\\\Plugins\\\\${PROJECT_NAME}.pdb\"\n)\nadd_custom_command(TARGET ${PROJECT_NAME} POST_BUILD\n    COMMAND \"C:\\\\games\\\\Skyrim\\\\skse64_loader.exe\" WORKING_DIRECTORY \"C:\\\\games\\\\Skyrim\"\n)\n~~~","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepinter%2Fskse-clibng-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepinter%2Fskse-clibng-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepinter%2Fskse-clibng-template/lists"}